This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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 other/54726] New: libbacktrace segfaults on gcc_asserts with stripped gcc


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54726

             Bug #: 54726
           Summary: libbacktrace segfaults on gcc_asserts with stripped
                    gcc
    Classification: Unclassified
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: markus@trippelsdorf.de


On gcc installed with "make install-strip" libbacktrace outputs
bogus "internal compiler error: Segmentation fault" on normal 
gcc_asserts.

For example the testcase from Bug 54694 now prints:

markus@x4 tmp % gcc -w -Wfatal-errors -mavx -m32 -c -O2 test.i
test.i: In function âhelper_fldl_ST0â:
test.i:20:1: internal compiler error: in dwarf2out_frame_debug_expr, at
dwarf2cfi.c:1532
 }
 ^
test.i:20:1: internal compiler error: Segmentation fault
gcc: internal compiler error: Segmentation fault (program cc1)
[1]    6684 segmentation fault  gcc -w -Wfatal-errors -mavx -m32 -c -O2 test.i

and this also gets logged in syslog (from dmesg):
cc1[6685]: segfault at 0 ip           (null) sp 00007fffe5fa8828 error 14 in
cc1[400000+a78000]
gcc[6684]: segfault at 0 ip           (null) sp 00007fff672976b8 error 14 in
gcc[400000+97000]


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