[Libreoffice] Error Building, vcl segmentation fault

Caolán McNamara caolanm at redhat.com
Wed Oct 13 02:20:29 PDT 2010


On Tue, 2010-10-12 at 22:30 +0200, julien wrote:

> Thread 1 (Thread 0xb7d276d0 (LWP 7585)):
> #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  0xb61e57a1 in global constructors keyed to cascade_mapping.cxx ()
>     from 
> /home/serval/libreoffice-source/build/build/libreoffice-3.2.99.2/solver/330/unxlngi6.pro/lib/libuno_cppu.so.3

Hmm, this is using "/usr/lib/libstlport_gcc.so.4.6" and not the
libstlport_gcc in the solver dir as I'd expect it to by default. Adding
a
echo LD_LIBRARY_PATH is $LD_LIBRARY_PATH
above $checkdll "$@" in solenv/bin/checkdll.sh I get...
../unxlngx6.pro/lib:/home/caolan/.../libreoffice-3.2.99.2/solver/330/unxlngx6.pro/lib
which is what I expect to see.

So, how did you configure your build ?, did you select a
--with-system-stlport option ?, and/or what's the output of
echo $LD_LIBRARY_PATH

As an aside including iostream forces this global constructor to exist.
If iostreams isn't needed in a file it shouldn't be included. In the
cascade_mapping.cxx case I see its only needed for logging, so when
logging is disabled I've made the change that iostream isn't included,
which as a side effect *might* make a difference to your problem.

C. 



More information about the LibreOffice mailing list