Bug 99703

Summary: Crash at document close after having unfolded style list
Product: LibreOffice Reporter: Julien Nabet <serval2412>
Component: WriterAssignee: David Tardon <dtardon>
Status: CLOSED FIXED    
Severity: normal CC: dtardon, h3734236
Priority: medium Keywords: bisected, haveBacktrace, regression
Version: 5.2.0.0.alpha1   
Hardware: All   
OS: All   
Whiteboard: target:5.2.0
Crash report or crash signature: Regression By:
Attachments: bt with symbols

Description Julien Nabet 2016-05-06 07:01:11 UTC
Created attachment 124876 [details]
bt with symbols

On pc Debian x86-64 with master sources updated today (ee5850893e15acda1d7ce7cf17da7c80f2fa810a), I had a crash when closing LO after having unfolded style list.

Steps to reproduce:
- open brand new file Writer
- Type F11 so style list appears
- unfold Heading list by clicking on the small triangle
- close doc
=> Crash

(LO profile directory has been renamed for having a brand new one)

Same crash with Calc too.
Comment 1 David Tardon 2016-05-06 07:22:19 UTC
Caused by my commit 9ff1d7f8140de1224bb37fba0cb266a58f37e66d . I'll revert it for now.
Comment 2 Commit Notification 2016-05-06 07:28:26 UTC
David Tardon committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=fe4ac23ed8054a8e863d911c6fb0a38c4449672a

tdf#99703 Revert "improve perf. of VCL event dispatch"

It will be available in 5.2.0.

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

Affected users are encouraged to test the fix and report feedback.
Comment 3 Julien Nabet 2016-05-06 11:47:12 UTC
Thank you David for your quick fix!
I confirmed it's ok with 27014f563577c3c5da19e37a57d4e73c0ebae140 (so including your new patch).