bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/3191] New: segmentation fault in read_unsigned_leb128()


From: pluto at agmk dot net
Subject: [Bug ld/3191] New: segmentation fault in read_unsigned_leb128()
Date: 11 Sep 2006 09:41:11 -0000

after fixing PR3186 i get another error during linkinig
a large shared c++ library (c.a. 48MB of object files).

ld: Dwarf Error: Could not find abbrev number 9690.
ld: Dwarf Error: DW_FORM_strp offset (30408704) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (33030144) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (3499234816) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (7157505) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (570543872) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (30408704) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (33030144) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (3808428125) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (10384129) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (4965376) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (3808428125) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (10384129) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (4965376) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (3474456726) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (1728053356) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (2835387911) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (318805511) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: Could not find abbrev number 4042.
ld: Dwarf Error: DW_FORM_strp offset (124846080) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (9832361) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (124846080) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (546063942) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (3976294) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (1057063168) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (3983721) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (3976294) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (1057063168) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (3983721) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: Could not find abbrev number 9187.
ld: Dwarf Error: Could not find abbrev number 4042.
ld: Dwarf Error: DW_FORM_strp offset (124846080) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (9832361) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (124846080) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (124846080) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: Could not find abbrev number 10708.
ld: Dwarf Error: DW_FORM_strp offset (1208156160) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (7854593) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (6580481) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (1247354116) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (2910144513) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (2910144513) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (2910144513) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (522588929) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (3774939136) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (671089177) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (572850326) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (3609530624) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (187564032) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (9833273) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (2569511) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (1224835328) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (2592808) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (2569511) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (1224835328) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (2592808) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (2448153) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (1191280896) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (2432026) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (2448153) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (1191280896) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (2432026) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (3422552081) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (16777711) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (877330) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (3422552081) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (16777711) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (877330) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (3489661132) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (13409025) greater than or equal 
to .debug_str size (211156).
ld: Dwarf Error: DW_FORM_strp offset (2097275648) greater than or equal 
to .debug_str size (211156).

Program received signal SIGSEGV, Segmentation fault.
read_unsigned_leb128 (abfd=<value optimized out>, buf=0x9b890fd0 <Address 
0x9b890fd0 out of bounds>, bytes_read_ptr=0x7fffff95ed0c)
    at libbfd.c:986
986           byte = bfd_get_8 (abfd, buf);
(gdb) bt
#0  read_unsigned_leb128 (abfd=<value optimized out>, buf=0x9b890fd0 <Address 
0x9b890fd0 out of bounds>, bytes_read_ptr=0x7fffff95ed0c)
    at libbfd.c:986
#1  0x000000000042f090 in find_abstract_instance_name (unit=0x583c850, 
die_ref=<value optimized out>) at dwarf2.c:1548
#2  0x000000000042f13f in find_abstract_instance_name (unit=0x583c850, 
die_ref=<value optimized out>) at dwarf2.c:1573
#3  0x000000000042f13f in find_abstract_instance_name (unit=0x583c850, 
die_ref=<value optimized out>) at dwarf2.c:1573
#4  0x000000000042f798 in scan_unit_for_symbols (unit=0x583c850) at 
dwarf2.c:1733
#5  0x0000000000430a04 in comp_unit_find_nearest_line (unit=0x583c850, 
addr=9830774, filename_ptr=0x7fffff95f050,
    functionname_ptr=0x7fffff95f048, linenumber_ptr=0x7fffff95f05c, 
stash=0x58198e0) at dwarf2.c:2085
#6  0x0000000000430eeb in _bfd_dwarf2_find_nearest_line (abfd=0x47fcd80, 
section=<value optimized out>, symbols=0x5813dd0,
    offset=<value optimized out>, filename_ptr=0x7fffff95f050, 
functionname_ptr=0x7fffff95f048, linenumber_ptr=0x7fffff95f05c, addr_size=0,
    pinfo=0x496ecb0) at dwarf2.c:2485
#7  0x000000000043b231 in _bfd_elf_find_nearest_line (abfd=0x47fcd80, 
section=0x49b0228, symbols=0x5813dd0, offset=1166,
    filename_ptr=0x7fffff95f050, functionname_ptr=0x7fffff95f048, 
line_ptr=0x7fffff95f05c) at elf.c:7045
#8  0x0000000000416d17 in vfinfo (fp=0x2ad947222860, fmt=0x48fedc ": undefined 
reference to `%T'\n", arg=0x7fffff95f0a0, is_warning=1)
    at ldmisc.c:316
#9  0x0000000000416f05 in einfo (fmt=0x9b890fd0 <Address 0x9b890fd0 out of 
bounds>) at ldmisc.c:500
#10 0x0000000000411fb6 in undefined_symbol (info=<value optimized out>,
    
name=0x498875e 
"_ZN5boost11basic_regexIcNS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEE9do_assignEPKcS7_j",
 
abfd=0x47fcd80,
    section=0x49b0228, address=1166, error=1) at .././ld/ldmain.c:1374
#11 0x000000000043309f in elf_i386_relocate_section (output_bfd=0x6ee650, 
info=0x6d9ce0, input_bfd=0x47fcd80, input_section=0x49b0228,
    contents=0x2ad949082010 "U\211&#65533;&#65533;, relocs=<value optimized 
out>, 
local_syms=0x5795cd0, local_sections=0x58085a0) at elf32-i386.c:2408
#12 0x00000000004497e0 in bfd_elf_final_link (abfd=0x6ee650, info=0x6d9ce0) at 
elflink.c:7599
#13 0x0000000000413d01 in ldwrite () at ldwrite.c:557
#14 0x00000000004134ed in main (argc=171, argv=0x7fffff95f828) 
at .././ld/ldmain.c:480

-- 
           Summary: segmentation fault in read_unsigned_leb128()
           Product: binutils
           Version: 2.17
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: pluto at agmk dot net
                CC: bug-binutils at gnu dot org
GCC target triplet: *-linux


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

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