bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/24168] New: segment fault in nm-new in binutils-2.30


From: zhangyn2012 at bupt dot edu.cn
Subject: [Bug binutils/24168] New: segment fault in nm-new in binutils-2.30
Date: Tue, 05 Feb 2019 03:30:25 +0000

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

            Bug ID: 24168
           Summary: segment fault in nm-new in binutils-2.30
           Product: binutils
           Version: 2.30
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: zhangyn2012 at bupt dot edu.cn
  Target Milestone: ---

Created attachment 11584
  --> https://sourceware.org/bugzilla/attachment.cgi?id=11584&action=edit
input file triggering the bug

Hi, there.
I got a segment fault when testing nm-new in binutils-2.30 with the command
`nm-new -a -C -l --synthetic poc`. 
The compilation flags used were "-g -O2".

The stack dumps given by valgrind are as follows:
Stack dump:
==10084== Invalid read of size 8
==10084==    at 0x403B55: print_symbol (nm.c:989)
==10084==    by 0x403F73: print_symbols (nm.c:1089)
==10084==    by 0x403F73: display_rel_file (nm.c:1205)
==10084==    by 0x4050D9: display_file (nm.c:1325)
==10084==    by 0x402FA9: main (nm.c:1799)
==10084==  Address 0x20 is not stack'd, malloc'd or (recently) free'd

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