Summary: | LO crashes when share/extensions is broken | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Rene Engelhard <rene> |
Component: | Extensions | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | NEW --- | ||
Severity: | minor | CC: | buzea.bogdan, ilmari.lauhakangas, sberg.fun |
Priority: | low | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Crash report or crash signature: | Regression By: | ||
Bug Depends on: | |||
Bug Blocks: | 133092 |
Description
Rene Engelhard
2022-08-30 17:21:40 UTC
Repro. Arch Linux 64-bit, X11 Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 52ebc632b3cfa122dcb178cf28d8dbc7c7c57007 CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: kf5 (cairo+xcb) Locale: fi-FI (fi_FI.UTF-8); UI: en-US Calc: threaded Built on 3 February 2023 well in cppuhelper::ServiceManager::init we could catch and throw only if optional was false, but that'll just go as far as ExtensionManager::synchronize and die with something else. Not sure if its worth it to chase it done or just "WONTFIX" and "don't do that" :-) (In reply to Caolán McNamara from comment #2) > well in cppuhelper::ServiceManager::init we could catch and throw only if > optional was false, but that'll just go as far as > ExtensionManager::synchronize and die with something else. Not sure if its > worth it to chase it done or just "WONTFIX" and "don't do that" :-) The cppuhelper::Service-/TypeManager initialization generates uncaught exceptions on the grounds that (a) something is probably severely wrong if such fundamental infrastructure is broken and (b) useful error reporting to the user is hard at this stage of the application bootstrap, We could swallow errors (and generate a SAL_WARN) here, either for all or only for non-essential (like the share/extensions) parts, and hope for the best. But as you found, even for something non-essential like share/extensions that will not get very far in practice. (The optional "?..." syntax had been introduced with <https://git.libreoffice.org/core/+/86c9f264f461e814c7e4f899a2d1e54363da053a%5E!/> "#99011# support optional rdb pathes" in 2002, but appears to be unused at least across LO itself. It might or might not be a good means to tell apart the non-essential parts mentioned above.) |