bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/12887] ld.bfd crashes when linking crtendS.o


From: jay.foad at gmail dot com
Subject: [Bug ld/12887] ld.bfd crashes when linking crtendS.o
Date: Tue, 14 Jun 2011 10:31:23 +0000

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

--- Comment #2 from Jay Foad <jay.foad at gmail dot com> 2011-06-14 10:31:19 
UTC ---
If I run it under valgrind, it complains:

==25074== Invalid free() / delete / delete[]
==25074==    at 0x4C282ED: free (vg_replace_malloc.c:366)
==25074==    by 0x47700F: _bfd_elf_discard_section_eh_frame
(elf-eh-frame.c:1177)
==25074==    by 0x47321A: bfd_elf_discard_info (elflink.c:12399)
==25074==    by 0x41FD4B: gldelf_x86_64_after_allocation (eelf_x86_64.c:1804)
==25074==    by 0x4134DD: lang_process (ldlang.c:6665)
==25074==    by 0x416B4D: main (ldmain.c:462)
==25074==  Address 0x560f538 is 1,864 bytes inside a block of size 4,064
alloc'd
==25074==    at 0x4C28FAC: malloc (vg_replace_malloc.c:236)
==25074==    by 0x4B7BDC: objalloc_create (objalloc.c:95)
==25074==    by 0x43A684: bfd_hash_table_init_n (hash.c:386)
==25074==    by 0x4302BF: bfd_preserve_save (bfd.c:1647)
==25074==    by 0x450085: bfd_elf64_object_p (elfcode.h:542)
==25074==    by 0x43509A: bfd_check_format_matches (format.c:172)
==25074==    by 0x41BE7C: ldfile_try_open_bfd (ldfile.c:316)
==25074==    by 0x41C50B: ldfile_open_file (ldfile.c:422)
==25074==    by 0x40FBD4: load_symbols (ldlang.c:2674)
==25074==    by 0x4108FF: open_input_bfds (ldlang.c:3251)
==25074==    by 0x412C99: lang_process (ldlang.c:6525)
==25074==    by 0x416B4D: main (ldmain.c:462)

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