https://bugs.documentfoundation.org/show_bug.cgi?id=147668

--- Comment #6 from Stephan Bergmann <sberg...@redhat.com> ---
(In reply to Julien Nabet from comment #5)
> Here's a part which may help from Gerry:
> Thread 67 "Thread-24" received signal SIGBUS, Bus error.

This is from private communication between Julien and Gerry?  SIGBUS is
somewhat odd.  I assume this is on x86-64 hardware?  (And a backtrace with
apparently lacking debug information is of reduced usefulness and might even be
misleading.)

> BTW, I noticed other things on console logs:
> - when opening Writer:
> warn:configmgr:25772:25772:configmgr/source/xcuparser.cxx:159: bad set node
> <prop> member in
> "file:///home/julien/lo/libreoffice/instdir/program/../program/../user/
> uno_packages/cache/uno_packages/lu25eow.tmp_/LanguageTool-5.6.oxt/Addons.xcu"

Definitely harmless and unrelated, see
<https://github.com/languagetool-org/languagetool/pull/6396> "Remove spurious
'Title' prop".

> but above all a kind of crash at the end with:
> warn:sal.osl.mutex:25918:26030:sal/osl/unx/mutex.cxx:149:
> pthread_mutex_unlock failed: EINVAL
> warn:sal.osl.mutex:25918:26030:sal/osl/unx/mutex.cxx:103: pthread_mutex_lock
> failed: EINVAL
> warn:sal.osl.mutex:25918:26030:sal/osl/unx/mutex.cxx:149:
> pthread_mutex_unlock failed: EINVAL
> #
> # A fatal error has been detected by the Java Runtime Environment:
> #
> #  SIGSEGV (0xb) at pc=0x00007f8f4776e8e4, pid=25918, tid=25918
> #
> # JRE version: OpenJDK Runtime Environment (11.0.14+9) (build
> 11.0.14+9-post-Debian-1)
> # Java VM: OpenJDK 64-Bit Server VM (11.0.14+9-post-Debian-1, mixed mode,
> sharing, tiered, compressed oops, g1 gc, linux-amd64)
> # Problematic frame:
> # C  [libc.so.6+0x828e4]

It smells like LanguageTool causes some threads to still run during process
exit.  That's definitely something that should be addressed, but it's unclear
whether that might be related to Garry's original issue.  (What I e.g. see when
typing some words in Writer, then trying to quit LO without saving the document
is

> Thread 77 "Thread-102" received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0x7fff0effe640 (LWP 3960536)]
> 0x00007ffff1b9c115 in std::__1::unique_ptr<comphelper::SolarMutex, 
> std::__1::default_delete<comphelper::SolarMutex> >::get (this=0x10) at 
> ~llvm/inst/include/c++/v1/__memory/unique_ptr.h:287
> 287       return __ptr_.first();
> 
> Thread 77 (Thread 0x7fff0effe640 (LWP 3960536) "Thread-102"):
> ##0  0x00007ffff1b9c115 in std::__1::unique_ptr<comphelper::SolarMutex, 
> std::__1::default_delete<comphelper::SolarMutex> >::get() const (this=0x10) 
> at ~llvm/inst/include/c++/v1/__memory/unique_ptr.h:287
> #1  0x00007ffff1b5c819 in SalInstance::GetYieldMutex() (this=0x0) at 
> vcl/source/app/salvtables.cxx:120
> #2  0x00007fffdc4b2d95 in GdkThreadsLeave() () at vcl/unx/gtk3/gtkinst.cxx:115
> #3  0x00007fffb48d65c2 in 
> Java_com_sun_java_swing_plaf_gtk_GTKStyle_nativeGetXThicknessDownloading 0.00 
> MB source file 
> /usr/src/debug/java-latest-openjdk-17.0.2.0.8-2.rolling.fc35.x86_64/openjdk/src/java.desktop/unix/native/libawt_xawt/awt/swing_GTKStyle.c
>  (env=<optimized out>, klass=<optimized out>, widget_type=18) at 
> /usr/src/debug/java-latest-openjdk-17.0.2.0.8-2.rolling.fc35.x86_64/openjdk/src/java.desktop/unix/native/libawt_xawt/awt/swing_GTKStyle.c:49
> #4  0x00007fffa08fec48 in  ()
> #5  0x0000000800448d58 in  ()
> #6  0x00007fff0effb528 in  ()
> #7  0x0000000000000000 in  ()

[...]

> Thread 1 (Thread 0x7fffe9cf9080 (LWP 3960429) "soffice.bin"):
> #0  0x00007ffff7fc9d88 in _dl_close_workerDownloading -0.00 MB source file 
> /usr/src/debug/glibc-2.34-25.fc35.x86_64/elf/dl-close.c...
>  (map=map@entry=0x1675640, force=force@entry=false) at 
> /usr/src/debug/glibc-2.34-25.fc35.x86_64/elf/dl-close.c:825
> #1  0x00007ffff7fca33b in _dl_close (_map=0x1675640) at 
> /usr/src/debug/glibc-2.34-25.fc35.x86_64/elf/dl-close.c:873
> #2  0x00007ffff7976878 in __GI__dl_catch_exceptionDownloading 0.00 MB source 
> file /usr/src/debug/glibc-2.34-25.fc35.x86_64/elf/dl-error-skeleton.c...
>  (exception=exception@entry=0x7fffffffda80, operate=<optimized out>, 
> args=<optimized out>) at 
> /usr/src/debug/glibc-2.34-25.fc35.x86_64/elf/dl-error-skeleton.c:208
> #3  0x00007ffff7976943 in __GI__dl_catch_error (objname=0x7fffffffdad8, 
> errstring=0x7fffffffdae0, mallocedp=0x7fffffffdad7, operate=<optimized out>, 
> args=<optimized out>) at 
> /usr/src/debug/glibc-2.34-25.fc35.x86_64/elf/dl-error-skeleton.c:227
> #4  0x00007ffff78a682e in _dlerror_runDownloading 0.00 MB source file 
> /usr/src/debug/glibc-2.34-25.fc35.x86_64/dlfcn/dlerror.c...
>  (operate=<optimized out>, args=<optimized out>) at 
> /usr/src/debug/glibc-2.34-25.fc35.x86_64/dlfcn/dlerror.c:138
> #5  0x00007ffff78a6558 in __dlcloseDownloading 0.00 MB source file 
> /usr/src/debug/glibc-2.34-25.fc35.x86_64/dlfcn/dlclose.c...
>  (handle=<optimized out>) at 
> /usr/src/debug/glibc-2.34-25.fc35.x86_64/dlfcn/dlclose.c:31
> #6  0x00007ffff7f820d9 in osl_unloadModule(oslModule) (hModule=0x1675640) at 
> sal/osl/unx/module.cxx:217
> #7  0x00007ffff7f56588 in osl::Module::~Module() (this=0x7ffff7fbe7e8 
> <Impl_getTextEncodingData(unsigned short)::gFullTextEncodingData>) at 
> include/osl/module.hxx:78
> #8  0x00007ffff7f56495 in (anonymous 
> namespace)::FullTextEncodingData::~FullTextEncodingData() 
> (this=0x7ffff7fbe7e8 <Impl_getTextEncodingData(unsigned 
> short)::gFullTextEncodingData>) at sal/textenc/textenc.cxx:380
> #9  0x00007ffff7861de5 in __run_exit_handlersDownloading 0.00 MB source file 
> /usr/src/debug/glibc-2.34-25.fc35.x86_64/stdlib/exit.c...
>  (status=0, listp=0x7ffff7a17658 <__exit_funcs>, 
> run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) 
> at /usr/src/debug/glibc-2.34-25.fc35.x86_64/stdlib/exit.c:113
> #10 0x00007ffff7861f60 in __GI_exit (status=<optimized out>) at 
> /usr/src/debug/glibc-2.34-25.fc35.x86_64/stdlib/exit.c:143
> #11 0x00007ffff784a567 in __libc_start_call_mainDownloading 0.00 MB source 
> file 
> /usr/src/debug/glibc-2.34-25.fc35.x86_64/csu/../sysdeps/nptl/libc_start_call_main.h...
>  (main=main@entry=0x201970 <main>, argc=argc@entry=3, 
> argv=argv@entry=0x7fffffffdf98) at 
> /usr/src/debug/glibc-2.34-25.fc35.x86_64/csu/../sysdeps/nptl/libc_start_call_main.h:74
> #12 0x00007ffff784a60c in __libc_start_main_implDownloading 0.00 MB source 
> file /usr/src/debug/glibc-2.34-25.fc35.x86_64/csu/../csu/libc-start.c...
>  (main=0x201970 <main>, argc=3, argv=0x7fffffffdf98, init=<optimized out>, 
> fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdf88) at 
> /usr/src/debug/glibc-2.34-25.fc35.x86_64/csu/../csu/libc-start.c:409
> #13 0x0000000000201875 in _start ()

)

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to