another life-cycle/timing bug

Stephan Bergmann sbergman at redhat.com
Thu Aug 13 01:57:12 PDT 2015


On 08/12/2015 11:52 PM, Norbert Thiebaud wrote:
> Thread 4 Crashed:
> 0   libupdchklo.dylib                 0x0000000122446611
> rtl::OUString::equalsAscii(char const*) const + 33
> 1   libupdchklo.dylib                 0x00000001224401cf
> NamedValueByNameAccess::getValue(char const*) + 95
> 2   libupdchklo.dylib                 0x000000012244038c
> UpdateCheckROModel::getStringValue(char const*) const + 60
> 3   libupdchklo.dylib                 0x0000000122440543
> UpdateCheckROModel::getUpdateEntryVersion() const + 35
> 4   libupdchklo.dylib                 0x00000001224298c5
> UpdateCheck::initialize(com::sun::star::uno::Sequence<com::sun::star::beans::NamedValue>
> const&, com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext>
> const&) + 197
> 5   libupdchklo.dylib                 0x000000012244f25f (anonymous
> namespace)::InitUpdateCheckJobThread::run() + 207
> 6   libupdchklo.dylib                 0x000000012243aa3e threadFunc + 30
> 7   libuno_sal.dylib.3                0x00000001023ed11f
> osl_thread_start_Impl(void*) + 335 (thread.cxx:248)
> 8   libsystem_pthread.dylib           0x00007fff954bc268 _pthread_body + 131
> 9   libsystem_pthread.dylib           0x00007fff954bc1e5 _pthread_start + 176
> 10  libsystem_pthread.dylib           0x00007fff954ba41d thread_start + 13

The code in extensions/source/update/check/ is notorious for spawning 
threads that are not guaranteed to be joined well before exit, so can 
cause all kinds of breakage when still running during exit.  For now, 
best avoid that with --disable-online-update.


More information about the LibreOffice mailing list