Bug 145486 - LO crashes with finalized ooSetupLastVersion
Summary: LO crashes with finalized ooSetupLastVersion
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
(earliest affected) alpha0+
Hardware: All All
: medium normal
Assignee: Homeboy_445
Whiteboard: target:7.3.0
Keywords: bisected, haveBacktrace, regression
Depends on:
Reported: 2021-11-01 08:57 UTC by Samuel Mehrbrodt (allotropia)
Modified: 2021-11-02 09:55 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:

config snippet (401 bytes, application/xml)
2021-11-01 08:57 UTC, Samuel Mehrbrodt (allotropia)
bt with debug symbols (4.82 KB, text/plain)
2021-11-01 11:47 UTC, Julien Nabet

Note You need to log in before you can comment on or make changes to this bug.
Description Samuel Mehrbrodt (allotropia) 2021-11-01 08:57:14 UTC
Created attachment 176051 [details]
config snippet

1. Install the attached config snippet via Extension manager
2. Start Writer

Expected: Writer starts
Actual: LO crashes

This is broken since https://git.libreoffice.org/core/commit/07e269f2596756bf841bbc380929bcffc3ca6bc6

include/unotools/VersionConfig.hxx tries to update officecfg::Setup::Product::ooSetupLastVersion but it fails since it's a finalized property.
Comment 1 Julien Nabet 2021-11-01 11:47:15 UTC
Created attachment 176058 [details]
bt with debug symbols

On pc Debian x86-64 with master sources updated today, I could reproduce this.

I used gdb and catch throw to find it.
Comment 2 Commit Notification 2021-11-02 06:48:33 UTC
homeboy445 committed a patch related to this issue.
It has been pushed to "master":


tdf#145486: Prevented crash by not updating readOnly value

It will be available in 7.3.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:

Affected users are encouraged to test the fix and report feedback.