solar mutex related segfault with sw

Stephan Bergmann sbergman at redhat.com
Tue May 14 02:28:37 PDT 2013


On 05/14/2013 09:39 AM, Riccardo Magliocchetti wrote:
> i have libreoffice master crashing with this command line:
>
> /usr/local/lib/libreoffice/program/soffice --backtrace --convert-to html ~/test.doc
>
> Test file available here: http://people.freedesktop.org/~rm/libo/foo.doc
>
> Libo compiled with:
> ./configure --with-parallelism=3 --without-java --enable-headless --disable-vba --disable-extensions --with-theme=no
>
> libreffice-4-0 branch does not segfault, doing the same with xls does not have the same issue.
>
> OS is ubuntu 12.04 but used to segfault the same with 11.10.
>
> Need to rebuild with symbols?
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x00007ffff342ef8a in Application::GetSolarMutex() () from /usr/local/lib/libreoffice/program/libvcllo.so
> #0  0x00007ffff342ef8a in Application::GetSolarMutex() () from /usr/local/lib/libreoffice/program/libvcllo.so
> #1  0x00007fffe6395792 in SwXTextDocument::~SwXTextDocument() () from /usr/local/lib/libreoffice/program/../program/libswlo.so
> #2  0x00007fffe6395a19 in SwXTextDocument::~SwXTextDocument() () from /usr/local/lib/libreoffice/program/../program/libswlo.so
> #3  0x00007ffff6df4861 in __run_exit_handlers (status=0, listp=0x7ffff71555a8, run_list_atexit=true) at exit.c:78
> #4  0x00007ffff6df48e5 in __GI_exit (status=<optimized out>) at exit.c:100
> #5  0x00007ffff6dda314 in __libc_start_main (main=0x4006b0 <main>, argc=5, ubp_av=0x7fffffffe5c8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe5b8) at libc-start.c:258
> #6  0x00000000004006f1 in _start ()

Application::GetSolarMutex must not be called past DeInitVCL.  The 
problem is that there is apparently some static instance of 
SwXTextDocument.  That must go.

Stephan


More information about the LibreOffice mailing list