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


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

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.