Crashes while preloading breakiterator

The last log line is “Preloading breakiterator:” before I get a crash of coolforkit

Program received signal SIGSEGV, Segmentation fault.
0x00007f93315794d0 in rtl_uString_assign () from target:/opt/collaboraoffice/program/libuno_sal.so.3
(gdb) backtrace
#0  0x00007f93315794d0 in rtl_uString_assign () from target:/opt/collaboraoffice/program/libuno_sal.so.3
#1  0x00007f9334b677ad in i18npool::BreakIteratorImpl::getLocaleSpecificBreakIterator(com::sun::star::lang::Locale const&) ()
   from target:/opt/collaboraoffice/program/libmergedlo.so
#2  0x00007f9334b68748 in i18npool::BreakIteratorImpl::getLineBreak(rtl::OUString const&, int, com::sun::star::lang::Locale const&, int, com::sun::star::i18n::LineBreakHyphenationOptions const&, com::sun::star::i18n::LineBreakUserOptions const&) () from target:/opt/collaboraoffice/program/libmergedlo.so
#3  0x00007f93352849e2 in preloadData () from target:/opt/collaboraoffice/program/libmergedlo.so
#4  0x00007f9335286b0c in lo_initialize () from target:/opt/collaboraoffice/program/libmergedlo.so
#5  0x00007f9335287f7c in lok_preinit_2 () from target:/opt/collaboraoffice/program/libmergedlo.so
#6  0x00000000005ddde8 in globalPreinit(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
#7  0x00000000005a8492 in forkit_main(int, char**) ()
#8  0x00007f933884624a in __libc_start_call_main (main=main@entry=0x566810 <main>, argc=argc@entry=9, argv=argv@entry=0x7fffc33bb6f8)
    at ../sysdeps/nptl/libc_start_call_main.h:58
#9  0x00007f9338846305 in __libc_start_main_impl (main=0x566810 <main>, argc=9, argv=0x7fffc33bb6f8, init=<optimized out>, fini=<optimized out>, 
    rtld_fini=<optimized out>, stack_end=0x7fffc33bb6e8) at ../csu/libc-start.c:360
#10 0x000000000056b202 in _start ()

I am using a standard setup at Debian with the prepackaged CODE. The crashing code is this or something similar.

Is this an issue with the current build or are my locale files broken? How could I analyze this further?

1 Like

oh, just found something out: CODE docker-image v24: dictionaries separator kills with SIGSEGV

might help you

1 Like

Yes, that helps. I installed collaboraoffice-dict-en (and another language) and the problem seems to be gone now.

Thank you very much.

1 Like

Thanks everyone for reporting so quickly - we believe this is the fix: https://gerrit.libreoffice.org/c/core/+/166467 for the next micro release.

Hopefully the workaround helps in the meantime.

2 Likes