bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/13030] New: Segmentation fault building libreoffice


From: j at bitron dot ch
Subject: [Bug ld/13030] New: Segmentation fault building libreoffice
Date: Tue, 26 Jul 2011 07:21:03 +0000

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

           Summary: Segmentation fault building libreoffice
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: critical
          Priority: P2
         Component: ld
        AssignedTo: address@hidden
        ReportedBy: address@hidden


Trying to build libreoffice with Linux binutils 2.21.53.0.1 results in a crash
when linking libsdfiltlx.so in sd module. This is with gcc 4.6.1 on x86_64 and
x86. It works fine with 2.21.52.0.2 using the exact same input files.

/usr/bin/ld -v --eh-frame-hdr -m elf_x86_64 -shared -o
../unxlngx6.pro/lib/libsdfiltlx.so
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../lib/crti.o
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.1/crtbeginS.o -L../unxlngx6.pro/lib
-L../lib -L/src/libreoffice-3.4.2.2/solenv/unxlngx6/lib
-L/src/libreoffice-3.4.2.2/solver/340/unxlngx6.pro/lib
-L/src/libreoffice-3.4.2.2/solenv/unxlngx6/lib
-L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.1
-L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../lib -L/lib/../lib
-L/usr/lib/../lib -L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../.. -z
noexecstack -z combreloc -z defs -Bsymbolic-functions --dynamic-list-cpp-new
--dynamic-list-cpp-typeinfo --hash-style=gnu -rpath :/../ure-link/lib
--enable-new-dtags -O1 --version-script
../unxlngx6.pro/misc/sdfilt_sdfiltlx.map
../unxlngx6.pro/slo/sdfilt_dflt_version.o ../unxlngx6.pro/slo/propread.o
../unxlngx6.pro/slo/pptin.o ../unxlngx6.pro/slo/pptinanimations.o
../unxlngx6.pro/slo/pptatom.o ../unxlngx6.pro/slo/ppt97animations.o
../unxlngx6.pro/slo/eppt.o ../unxlngx6.pro/slo/epptso.o
../unxlngx6.pro/slo/escherex.o ../unxlngx6.pro/slo/pptexanimations.o
../unxlngx6.pro/slo/pptexsoundcollection.o ../unxlngx6.pro/slo/pptx-epptbase.o
../unxlngx6.pro/slo/pptx-epptooxml.o ../unxlngx6.pro/slo/pptx-stylesheet.o
../unxlngx6.pro/slo/pptx-grouptable.o ../unxlngx6.pro/slo/pptx-text.o -lsdlx
-leditenglx -lsvxcorelx -lmsfilterlx -looxlx -lsaxlx -lsfxlx -lsvtlx -lsotlx
-lvcllx -lsvllx -lsotlx -lutllx -ltllx -lucbhelper4gcc3 -luno_cppuhelpergcc3
-luno_cppu -luno_sal -lcomphelpgcc3 -li18nisolang1gcc3 --as-needed -ldl
-lpthread --no-as-needed -lstdc++ -lm -lgcc_s -lc -lgcc_s
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.1/crtendS.o
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../lib/crtn.o

#0  0x00007ffff7b98996 in d_print_comp (dpi=0x7fffffff9b40, options=259,
dc=0x7fffffff9f48) at ../../binutils-2.21.53.0.1/libiberty/cp-demangle.c:3899
#1  0x00007ffff7b97ce6 in d_print_subexpr (dpi=0x7fffffff9b40, options=259,
dc=0x7fffffff9f48) at ../../binutils-2.21.53.0.1/libiberty/cp-demangle.c:3554
#2  0x00007ffff7b99cd4 in d_print_comp (dpi=0x7fffffff9b40, options=259,
dc=0x7fffffff9f60) at ../../binutils-2.21.53.0.1/libiberty/cp-demangle.c:4393
#3  0x00007ffff7b990b4 in d_print_comp (dpi=0x7fffffff9b40, options=259,
dc=0x7fffffff9f78) at ../../binutils-2.21.53.0.1/libiberty/cp-demangle.c:4106
#4  0x00007ffff7b9914f in d_print_comp (dpi=0x7fffffff9b40, options=259,
dc=0x7fffffff9f18) at ../../binutils-2.21.53.0.1/libiberty/cp-demangle.c:4118
#5  0x00007ffff7b9a7b0 in d_print_function_type (dpi=0x7fffffff9b40,
options=259, dc=0x7fffffff9f90, mods=0x7fffffff99c0)
    at ../../binutils-2.21.53.0.1/libiberty/cp-demangle.c:4728
#6  0x00007ffff7b98ceb in d_print_comp (dpi=0x7fffffff9b40, options=259,
dc=0x7fffffff9f90) at ../../binutils-2.21.53.0.1/libiberty/cp-demangle.c:3991
#7  0x00007ffff7b981a9 in d_print_comp (dpi=0x7fffffff9b40, options=259,
dc=0x7fffffff9fa8) at ../../binutils-2.21.53.0.1/libiberty/cp-demangle.c:3683
#8  0x00007ffff7b9799f in cplus_demangle_print_callback (options=259,
dc=0x7fffffff9fa8, callback=0x7ffff7b97680
<d_growable_string_callback_adapter>, 
    opaque=0x7fffffffa790) at
../../binutils-2.21.53.0.1/libiberty/cp-demangle.c:3402
#9  0x00007ffff7b9af0a in d_demangle_callback (mangled=0xaed3d0
"_ZSt10_ConstructI10CellBorderIS0_EEvPT_DpOT0_", options=259, 
    callback=0x7ffff7b97680 <d_growable_string_callback_adapter>,
opaque=0x7fffffffa790) at
../../binutils-2.21.53.0.1/libiberty/cp-demangle.c:4961
#10 0x00007ffff7b9af61 in d_demangle (mangled=0xaed3d0
"_ZSt10_ConstructI10CellBorderIS0_EEvPT_DpOT0_", options=259,
palc=0x7fffffffa7e8)
    at ../../binutils-2.21.53.0.1/libiberty/cp-demangle.c:4982
#11 0x00007ffff7b9afcb in cplus_demangle_v3 (mangled=0xaed3d0
"_ZSt10_ConstructI10CellBorderIS0_EEvPT_DpOT0_", options=259)
    at ../../binutils-2.21.53.0.1/libiberty/cp-demangle.c:5139
#12 0x00007ffff7b8a9a5 in cplus_demangle (mangled=0xaed3d0
"_ZSt10_ConstructI10CellBorderIS0_EEvPT_DpOT0_", options=3)
    at ../../binutils-2.21.53.0.1/libiberty/cplus-dem.c:858
#13 0x00007ffff7ada115 in bfd_demangle (abfd=0x6e8880, name=0xaed3d0
"_ZSt10_ConstructI10CellBorderIS0_EEvPT_DpOT0_", options=3)
    at ../../binutils-2.21.53.0.1/bfd/bfd.c:1913
#14 0x000000000041ad4e in lang_vers_match (head=0x6d3530, prev=0x0,
sym=0xaed3d0 "_ZSt10_ConstructI10CellBorderIS0_EEvPT_DpOT0_")
    at ../../binutils-2.21.53.0.1/ld/ldlang.c:7546
#15 0x00007ffff7b2593a in bfd_elf_link_mark_dynamic_symbol (info=0x6cdb20,
h=0xb69d50, sym=0xb50ac0) at ../../binutils-2.21.53.0.1/bfd/elflink.c:509
#16 0x00007ffff7b267b4 in _bfd_elf_merge_symbol (abfd=0x95b270, info=0x6cdb20,
name=0xaed3d0 "_ZSt10_ConstructI10CellBorderIS0_EEvPT_DpOT0_", sym=0xb50ac0, 
    psec=0x7fffffffabf0, pvalue=0x7fffffffabf8, pold_alignment=0x7fffffffabd0,
sym_hash=0xb47b88, skip=0x7fffffffabbc, override=0x7fffffffabd4, 
    type_change_ok=0x7fffffffabd8, size_change_ok=0x7fffffffabdc) at
../../binutils-2.21.53.0.1/bfd/elflink.c:1022
#17 0x00007ffff7b2c8eb in elf_link_add_object_symbols (abfd=0x95b270,
info=0x6cdb20) at ../../binutils-2.21.53.0.1/bfd/elflink.c:4162
#18 0x00007ffff7b2eeae in bfd_elf_link_add_symbols (abfd=0x95b270,
info=0x6cdb20) at ../../binutils-2.21.53.0.1/bfd/elflink.c:5188
#19 0x0000000000412bad in load_symbols (entry=0x6ce3d0, place=0x7fffffffb0e0)
at ../../binutils-2.21.53.0.1/ld/ldlang.c:2858
#20 0x0000000000413772 in open_input_bfds (s=0x6ce3d0, mode=OPEN_BFD_NORMAL) at
../../binutils-2.21.53.0.1/ld/ldlang.c:3305
#21 0x0000000000419503 in lang_process () at
../../binutils-2.21.53.0.1/ld/ldlang.c:6579
#22 0x000000000041f265 in main (argc=83, argv=0x7fffffffb328) at
../../binutils-2.21.53.0.1/ld/ldmain.c:466

It crashes as the local variable 'sub' is NULL on line 3899; it is set on line
3896 (sub = a). d_lookup_template_argument returns NULL on line 3893 as
d_index_template_argument gets called with an index 1 for a template with only
one argument, as far as I can tell.

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