[Libreoffice] Error Building, vcl segmentation fault

julien serval2412 at yahoo.fr
Mon Oct 11 14:08:31 PDT 2010


Le 10/10/2010 22:31, julien a écrit :
> Le 10/10/2010 16:33, julien a écrit :
>> Hi,
>>
>> I've just done these steps :
>> make clean
>> git pull -r
>> bni/g pull -r
>> ./autogen.sh --with-git (i removed  --disable-kde --disable-kde4 just 
>> to test if kde parts are ok, of course i installed kdelibs4-dev
>> ./download
>> make
>>
>> and i've got :
>> Entering 
>> /home/serval/libreoffice-source/build/build/libreoffice-3.2.99.2/vcl/util 
>>
>>
>> Compiling: vcl/unxlngi6.pro/misc/vcl_dflt_version.c
>> Compiling: vcl/unxlngi6.pro/misc/vclplug_gen_dflt_version.c
>> Compiling: vcl/unxlngi6.pro/misc/vclplug_gtk_dflt_version.c
>> Compiling: vcl/unxlngi6.pro/misc/vclplug_kde_dflt_version.c
>> Compiling: vcl/unxlngi6.pro/misc/desktop_detector_dflt_version.c
>> Making:    vcl.lib
>> Making:    ipure_x
>> Making:    igtk_plug_
>> Making:    ikde_plug_
>> Making:    idet
>> Making:    libvclli.so
>> Making:    libvclplug_genli.so
>> Making:    libvclplug_gtkli.so
>> Making:    libvclplug_kdeli.so
>> Segmentation fault
>> dmake:  Error code 1, while making 
>> '../unxlngi6.pro/lib/libvclplug_kdeli.so'
>>
>> 1 module(s):
>>     vcl
>> need(s) to be rebuilt
>>
>> Reason(s):
>>
>>
>> Attention: if you fix the errors in above module(s) you may continue 
>> the build issuing the following command:
>>
>>     build --all:vcl
>>
>> make: *** [stamp/build] Erreur 1
>>
>>
>> do i need to add the option with-distro or can i keep on to build 
>> like this, without with-distro option in the autogen part ?
>> (I've got a Debian in testing updated)
> I make again with this :
> export VERBOSE=TRUE;make
>
> and here is what i get :
>
> Entering 
> /home/serval/libreoffice-source/build/build/libreoffice-3.2.99.2/vcl/util
>
> Making:    libvclplug_kdeli.so
> g++ -L/usr/lib -L/usr/lib -lkdeui -lkdecore -lqt-mt -Wl,-z,noexecstack 
> -Wl,-z,combreloc -Wl,-z,defs -Wl,-Bsymbolic-functions 
> -Wl,--dynamic-list-cpp-new -Wl,--dynamic-list-cpp-typeinfo 
> -Wl,--hash-style=both -Wl,-rpath,'$ORIGIN:$ORIGIN/../ure-link/lib' 
> -shared -L../unxlngi6.pro/lib -L../lib 
> -L/home/serval/libreoffice-source/build/build/libreoffice-3.2.99.2/solenv/unxlngi6/lib 
> -L/home/serval/libreoffice-source/build/build/libreoffice-3.2.99.2/solver/330/unxlngi6.pro/lib 
> -L/home/serval/libreoffice-source/build/build/libreoffice-3.2.99.2/solenv/unxlngi6/lib 
> -L/usr/lib/jvm/java-6-sun/lib -L/usr/lib/jvm/java-6-sun/jre/lib/i386 
> -L/usr/lib/jvm/java-6-sun/jre/lib/i386/client 
> -L/usr/lib/jvm/java-6-sun/jre/lib/i386/native_threads -L/usr/lib 
> ../unxlngi6.pro/slo/vclplug_kde_dflt_version.o -o 
> ../unxlngi6.pro/lib/libvclplug_kdeli.so ../unxlngi6.pro/slo/kdedata.o 
> ../unxlngi6.pro/slo/salnativewidgets-kde.o -lvclplug_genli -lvclli 
> -ltlli -lvos3gcc3 -luno_sal -Wl,--as-needed -lXext -lX11 
> -Wl,--no-as-needed -Wl,--as-needed -ldl -lpthread -lm 
> -Wl,--no-as-needed -Wl,-Bdynamic -lstlport_gcc
> rm -f ../unxlngi6.pro/lib/check_libvclplug_kdeli.so
> mv ../unxlngi6.pro/lib/libvclplug_kdeli.so 
> ../unxlngi6.pro/lib/check_libvclplug_kdeli.so
> /home/serval/libreoffice-source/build/build/libreoffice-3.2.99.2/solenv/bin/checkdll.sh 
> -L../unxlngi6.pro/lib 
> -L/home/serval/libreoffice-source/build/build/libreoffice-3.2.99.2/solver/330/unxlngi6.pro/lib  
> ../unxlngi6.pro/lib/check_libvclplug_kdeli.so
> Checking DLL ../unxlngi6.pro/lib/check_libvclplug_kdeli.so 
> ...Segmentation fault
> dmake:  Error code 1, while making 
> '../unxlngi6.pro/lib/libvclplug_kdeli.so'
>
> 1 module(s):
>     vcl
> need(s) to be rebuilt
>
> Reason(s):
>
>
> Attention: if you fix the errors in above module(s) you may continue 
> the build issuing the following command:
>
>     build --all:vcl
>
I changed the line :

$checkdll "$@"
by
gdb $checkdll "$@"

then :
cd home/serval/libreoffice-source/build/build/libreoffice-3.2.99.2/
source LinuxX86Env.Set.sh
cd vcl
build verbose=1

	You should get a gdb prompt for checkdll: just enter 'run'.

I couldn't do
'thread apply all backtrace' since i had :
Entering /home/serval/libreoffice-source/build/build/libreoffice-3.2.99.2/vcl/aqua/source/gdi

Nothing to build for GUIBASE unx

Entering /home/serval/libreoffice-source/build/build/libreoffice-3.2.99.2/vcl/util

Making:    libvclplug_kdeli.so
g++ -L/usr/lib -L/usr/lib -lkdeui -lkdecore -lqt-mt -Wl,-z,noexecstack -Wl,-z,combreloc -Wl,-z,defs -Wl,-Bsymbolic-functions -Wl,--dynamic-list-cpp-new -Wl,--dynamic-list-cpp-typeinfo -Wl,--hash-style=both -Wl,-rpath,'$ORIGIN:$ORIGIN/../ure-link/lib' -shared -L../unxlngi6.pro/lib -L../lib -L/home/serval/libreoffice-source/build/build/libreoffice-3.2.99.2/solenv/unxlngi6/lib -L/home/serval/libreoffice-source/build/build/libreoffice-3.2.99.2/solver/330/unxlngi6.pro/lib -L/home/serval/libreoffice-source/build/build/libreoffice-3.2.99.2/solenv/unxlngi6/lib -L/usr/lib/jvm/java-6-sun/lib -L/usr/lib/jvm/java-6-sun/jre/lib/i386 -L/usr/lib/jvm/java-6-sun/jre/lib/i386/client -L/usr/lib/jvm/java-6-sun/jre/lib/i386/native_threads -L/usr/lib ../unxlngi6.pro/slo/vclplug_kde_dflt_version.o -o ../unxlngi6.pro/lib/libvclplug_kdeli.so ../unxlngi6.pro/slo/kdedata.o ../unxlngi6.pro/slo/salnativewidgets-kde.o -lvclplug_genli -lvclli -ltlli -lvos3gcc3 -luno_sal -Wl,--as-needed -lXext -lX11 -Wl,--no-as-needed -Wl,--as-needed -ldl -lpthread -lm -Wl,--no-as-needed -Wl,-Bdynamic -lstlport_gcc
rm -f ../unxlngi6.pro/lib/check_libvclplug_kdeli.so
mv ../unxlngi6.pro/lib/libvclplug_kdeli.so ../unxlngi6.pro/lib/check_libvclplug_kdeli.so
/home/serval/libreoffice-source/build/build/libreoffice-3.2.99.2/solenv/bin/checkdll.sh -L../unxlngi6.pro/lib -L/home/serval/libreoffice-source/build/build/libreoffice-3.2.99.2/solver/330/unxlngi6.pro/lib  ../unxlngi6.pro/lib/check_libvclplug_kdeli.so
GNU gdb (GDB) 7.0.1-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/serval/libreoffice-source/build/build/libreoffice-3.2.99.2/solver/330/unxlngi6.pro/bin/checkdll...(no debugging symbols found)...done.
"/home/serval/libreoffice-source/build/build/libreoffice-3.2.99.2/vcl/util/../unxlngi6.pro/lib/check_libvclplug_kdeli.so" is not a core dump: File format not recognized
(gdb)

gdb) run
Starting program: /home/serval/libreoffice-source/build/build/libreoffice-3.2.99.2/solver/330/unxlngi6.pro/bin/checkdll
[Thread debugging using libthread_db enabled]
usage: checkdll [-s]<dllname>

Program exited with code 01.

then some other tests (i don't know well gdb) :
(gdb) checkdll -s ../unxlngi6.pro/lib/check_libvclplug_kdeli.so
Undefined command: "checkdll".  Try "help".
(gdb) run -s ../unxlngi6.pro/lib/check_libvclplug_kdeli.so
Starting program: /home/serval/libreoffice-source/build/build/libreoffice-3.2.99.2/solver/330/unxlngi6.pro/bin/checkdll -s ../unxlngi6.pro/lib/check_libvclplug_kdeli.so
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
0xb68061db in _STL::locale::locale() () from /usr/lib/libstlport_gcc.so.4.6
(gdb) run -L../unxlngi6.pro/lib -L/home/serval/libreoffice-source/build/build/libreoffice-3.2.99.2/solver/330/unxlngi6.pro/lib  ../unxlngi6.pro/lib/check_libvclplug_kdeli.so
The program being debugged has been started already.
Start it from the beginning? (y or n) y

Starting program: /home/serval/libreoffice-source/build/build/libreoffice-3.2.99.2/solver/330/unxlngi6.pro/bin/checkdll -L../unxlngi6.pro/lib -L/home/serval/libreoffice-source/build/build/libreoffice-3.2.99.2/solver/330/unxlngi6.pro/lib  ../unxlngi6.pro/lib/check_libvclplug_kdeli.so
[Thread debugging using libthread_db enabled]
checkdll: ERROR: -L../unxlngi6.pro/lib: No such file or directory

Program exited with code 02.


Any idea ?

Julien







More information about the LibreOffice mailing list