https://bugs.documentfoundation.org/show_bug.cgi?id=91770
Michael Meeks <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW CC| |[email protected] --- Comment #25 from Michael Meeks <[email protected]> --- Hi jay - the stacktrace file is really an strace (system-call trace ;-). The backtrace seems to be from running soffice --help - or somesuch: #8 0x00007ffff395d142 in (anonymous namespace)::UsageInfo::save (this=0x7ffff431b940 <rtl::Static<(anonymous namespace)::UsageInfo, (anonymous namespace)::theUsageInfo>::get()::instance>) at /home/buildslave/source/libo-core/sfx2/source/control/unoctitm.cxx:678 #9 0x00007ffff395ca76 in (anonymous namespace)::UsageInfo::~UsageInfo (this=0x7ffff431b940 <rtl::Static<(anonymous namespace)::UsageInfo, (anonymous namespace)::theUsageInfo>::get()::instance>, __in_chrg=<optimized out>) at /home/buildslave/source/libo-core/sfx2/source/control/unoctitm.cxx:619 Sadly the "--strace" parameter you passed seems to have got passed into the actual app - (perhaps this caused the gdb failure) ? What parameters did you run libreoffice with under gdb ? ah ! now I read the code this is the usage stats crashing on exit as we try to write them: aybuke's code looks like it may be responsible: bool bCollecting = officecfg::Office::Common::Misc::CollectUsageInformation::get(); There are real problems using configmgr at shutdown - I would strongly suggest that you fetch this parameter during startup - ie. when this thing is created and store it in a member variable. Then - we can use that safely during shutdown =) does that make sense ? failing that just catch the exception - but be aware that you won't get the setting. Failing that - you need to clean this up much earlier. A good time might be at VCL shutdown - you can use: vcl::DeleteOnDeinit< Foo > For your global type - and this will be cleaned up much earlier as we take the toolkit down - and you may be able to use configmgr safely there =) HTH ! -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
