This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/22541] New: Gdb crashes on variadic templates


https://sourceware.org/bugzilla/show_bug.cgi?id=22541

            Bug ID: 22541
           Summary: Gdb crashes on variadic templates
           Product: gdb
           Version: 7.6
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
          Assignee: unassigned at sourceware dot org
          Reporter: francois.court at gmail dot com
  Target Milestone: ---

Created attachment 10660
  --> https://sourceware.org/bugzilla/attachment.cgi?id=10660&action=edit
crashing and non crashing version of test exec

**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 template call is replaced by its non-variadic
equivalent.
Attached are the two versions of the exec, the one crashing and the other fine

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]