bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/15447] New: dwp crashes with fseek(NULL) when executable witho


From: ppluzhnikov at google dot com
Subject: [Bug gold/15447] New: dwp crashes with fseek(NULL) when executable without any .dwo files is specified
Date: Thu, 09 May 2013 02:01:01 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=15447

             Bug #: 15447
           Summary: dwp crashes with fseek(NULL) when executable without
                    any .dwo files is specified
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gold
        AssignedTo: address@hidden
        ReportedBy: address@hidden
                CC: address@hidden
    Classification: Unclassified


Reported by Peeter Joot:

dwp built from current trunk:

gdb -q --args gold/dwp -o t --exec /bin/date
Reading symbols from /build/gold/dwp...done.
(gdb) r
Starting program: /build/gold/dwp -o t --exec /bin/date

Program received signal SIGSEGV, Segmentation fault.
__GI_fseek (fp=0x0, offset=0, whence=0) at fseek.c:40
40      fseek.c: No such file or directory.
(gdb) bt
#0  __GI_fseek (fp=0x0, offset=0, whence=0) at fseek.c:40
#1  0x0000000000407841 in gold::Dwp_output_file::write_new_section
(this=0x7fffffffcfe0, section_name=0x5f3508 ".debug_cu_index",
contents=0x8d0710 "\002", len=16, align=8) at ../../src/gold/dwp.cc:1812
#2  0x000000000041f74d in gold::Dwp_output_file::write_index<false>
(this=0x7fffffffcfe0, sect_name=0x5f3508 ".debug_cu_index", index=...) at
../../src/gold/dwp.cc:1921
#3  0x0000000000407be5 in gold::Dwp_output_file::finalize (this=0x7fffffffcfe0)
at ../../src/gold/dwp.cc:1725
#4  0x0000000000405c02 in main (argc=5, argv=0x7fffffffd418) at
../../src/gold/dwp.cc:2278

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]