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++/16593] New: gdb segfaults when reading symbol table


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

            Bug ID: 16593
           Summary: gdb segfaults when reading symbol table
           Product: gdb
           Version: 7.7
            Status: NEW
          Severity: critical
          Priority: P2
         Component: c++
          Assignee: unassigned at sourceware dot org
          Reporter: jeremycong at gmail dot com

I have had some trouble coming up with a small example that reproduces this
error, but I encounter this with an executable built from the project Selene
(https://github.com/jeremyong/Selene).

Compile with

mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug ..
make

Afterwards, attempts to run gdb ./test fail with

Reading symbols from ./test...[1]    15240 segmentation fault (core dumped) 
gdb ./test

This does NOT occur when the project is compiled with clang++ and run with
lldb.

-- 
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]