Menu

#328 GDB crash on variadic function

None
open
nobody
None
1
2017-12-03
2017-12-03
No

Windows
10 Pro x64 version 1703 build 15063.608
gcc
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=D:/Dev/Codeblocks/MinGW/bin/../libexec/gcc/mingw32/4.9.2/lto-wrapper.exe
Target: mingw32
Configured with: ../../../src/gcc-4.9.2/configure --build=mingw32 --enable-languages=ada,c,c++,fortran,lto,objc,obj-c++ --enable-libgomp --enable-lto --enable-graphite --enable-libstdcxx-debug --enable-threads=posix --enable-version-specific-runtime-libs --enable-fully-dynamic-string --enable-libstdcxx-threads --enable-libstdcxx-time --with-gnu-ld --disable-werror --disable-nls --disable-win32-registry --disable-symvers --enable-cxx-flags='-fno-function-sections -fno-data-sections -DWINPTHREAD_STATIC' --prefix=/mingw32tdm --with-local-prefix=/mingw32tdm --with-pkgversion=tdm-1 --enable-sjlj-exceptions --with-bugurl=http://tdm-gcc.tdragon.net/bugs
Thread model: posix
gcc version 4.9.2 (tdm-1)
ld -v
GNU ld (GNU Binutils) 2.24
IDE
Codeblocks 16.01
Build Jan 25 2016 - wx2.8.12- 32bit
gdb
GNU gdb (GDB) 7.6.1
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "mingw32".

Description
gdb crashes loading symbols; the same executable loads and debugs well when the inclusion of a variadic templatecall is replaced by its non-variadic equivalent.
Attached are the two versions of the exec, the one crashing and the other fine

2 Attachments

Discussion

Anonymous
Anonymous

Add attachments
Cancel