Date: prev next · Thread: first prev next last
2010 Archives by date, by thread · List index


Le 12/10/2010 10:44, Michael Meeks a écrit :
On Tue, 2010-10-12 at 08:26 +0200, David Tardon wrote:
There is the problem: this line should be

gdb --args $checkdll "$@"
        Urk - my problem; you almost got there manually with:

On Mon, 2010-10-11 at 23:08 +0200, julien wrote:
(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
        How tantelising ! :-) this is the crasher - but we really need more
symbols :-) - if you had run backtrace at this point we could have got a
lot further I think.

        Having said that - it looks like this may be some horrendous
compatibility problem between the internal stlport and the system
version - but we'll need to chase that down. Possibly we simply can't
use our own stlport if we link KDE, unclear - Lubos: thoughts ?

        Our internal stlport patches seem to be somewhat insubstantial anyway:
mostly portability renames - and a load of SUNPRO stuff that we don't
need to care about I think, with a few OS/2 build fixes ;-)

        Thanks,

                Michael.


I did the whole process from scratch to be sure :
rm -rf /home/serval/libreoffice/build
git clone git://anongit.freedesktop.org/git/libreoffice/build
|./autogen.sh --with-git
||./download|
|make
|

then the change of 
/home/serval/libreoffice-source/build/build/libreoffice-3.2.99.2/solenv/bin/checkdll.sh
echo LD_LIBRARY_PATH is $LD_LIBRARY_PATH
    gdb --args $checkdll "$@"

when i arrive in gdb :
- run
then
- thread apply all backtrace
|
and it seems the same :
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
LD_LIBRARY_PATH is 
../unxlngi6.pro/lib:/home/serval/libreoffice-source/build/build/libreoffice-3.2.99.2/solver/330/unxlngi6.pro/lib
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.
(gdb) run
Starting program: 
/home/serval/libreoffice-source/build/build/libreoffice-3.2.99.2/solver/330/unxlngi6.pro/bin/checkdll
 ../unxlngi6.pro/lib/check_libvclplug_kdeli.so
[Thread debugging using libthread_db enabled]
Checking DLL ../unxlngi6.pro/lib/check_libvclplug_kdeli.so ...
Program received signal SIGSEGV, Segmentation fault.
0xb68061db in _STL::locale::locale() () from /usr/lib/libstlport_gcc.so.4.6
(gdb) thread apply all backtrace

Thread 1 (Thread 0xb7d276d0 (LWP 15195)):
#0  0xb68061db in _STL::locale::locale() () from /usr/lib/libstlport_gcc.so.4.6
#1  0xb67d1414 in _STL::ios_base::ios_base() () from /usr/lib/libstlport_gcc.so.4.6
#2  0xb67e3a41 in _STL::ios_base::_S_initialize() () from /usr/lib/libstlport_gcc.so.4.6
#3  0xb67e3f17 in _STL::ios_base::Init::Init() () from /usr/lib/libstlport_gcc.so.4.6
#4  0xb64d755e in global constructors keyed to debugplotter.cxx ()
   from 
/home/serval/libreoffice-source/build/build/libreoffice-3.2.99.2/solver/330/unxlngi6.pro/lib/libbasegfxli.so
#5  0xb64e086d in __do_global_ctors_aux () from 
/home/serval/libreoffice-source/build/build/libreoffice-3.2.99.2/solver/330/unxlngi6.pro/lib/libbasegfxli.so
#6  0xb648ec34 in _init () from 
/home/serval/libreoffice-source/build/build/libreoffice-3.2.99.2/solver/330/unxlngi6.pro/lib/libbasegfxli.so
#7  0xb7ff0c3c in call_init (l=<value optimized out>, argc=<value optimized out>, argv=0xbfffcca4, 
env=0xbfffccb0) at dl-init.c:70
#8  0xb7ff0d59 in _dl_init (main_map=0x804a058, argc=<value optimized out>, argv=<value optimized 
out>, env=0xbfffccb0) at dl-init.c:134
#9  0xb7ff4df9 in dl_open_worker (a=0xbfffc9c0) at dl-open.c:492
#10 0xb7ff0866 in _dl_catch_error (objname=<value optimized out>, errstring=<value optimized out>, 
mallocedp=<value optimized out>,
    operate=0xb7ff4a60<dl_open_worker>, args=0xbfffc9c0) at dl-error.c:178
#11 0xb7ff4636 in _dl_open (file=0xbfffd20d "../unxlngi6.pro/lib/check_libvclplug_kdeli.so", 
mode=<value optimized out>, caller_dlopen=0x8048a23, nsid=-2,
    argc=2, argv=0xbfffcca4, env=0xbfffccb0) at dl-open.c:583
#12 0xb7fc2c0b in dlopen_doit (a=0xbfffcba0) at dlopen.c:67
#13 0xb7ff0866 in _dl_catch_error (objname=<value optimized out>, errstring=<value optimized out>, 
mallocedp=<value optimized out>,
    operate=0xb7fc2b70<dlopen_doit>, args=0xbfffcba0) at dl-error.c:178
#14 0xb7fc309c in _dlerror_run (operate=<value optimized out>, args=<value optimized out>) at 
dlerror.c:164
#15 0xb7fc2b41 in __dlopen (file=0xbfffd20d "../unxlngi6.pro/lib/check_libvclplug_kdeli.so", 
mode=2) at dlopen.c:88
#16 0x08048a23 in main ()
(gdb)

|


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.