Created attachment 123763 [details] WinDBG Backtrace When I attempt to open a particular .doc document, Writer immediately crashes. The .doc document is located at the following url: wcatwc.arh.noaa.gov/exercises/Lantex16Final.doc Steps to reproduce: 1. Download document 2. Double click on document 3. Writer crashes or 2. Open writer 3. Open document through File -> Open 4. Writer crashes Version: 5.1.1.3 Build ID: 89f508ef3ecebd2cfb8e1def0f0ba9a803b88a6d CPU Threads: 8; OS Version: Windows 6.2; UI Render: GL; Locale: en-US (en_US) Windows 10 Home 64 bit Backtrace attached.
I can confirm crash with 5.2, I can open file with LO 4.0. Regression.
This seems to have begun at the below commit. Adding Cc: to Michael Stahl; Could you possibly take a look at this one? Thanks c39a120643cc393cf18c30cf39ffe0e883dee4d3 is the first bad commit commit c39a120643cc393cf18c30cf39ffe0e883dee4d3 Author: Norbert Thiebaud <nthiebaud@gmail.com> Date: Fri Aug 28 19:04:31 2015 -0700 source 34700400247e378e074ce4164ab2809edb092201 source 34700400247e378e074ce4164ab2809edb092201 :040000 040000 e0645138c1614cf03f6d7e0f67b36dc857ebc867 b78d5a4abc13e5511fac8f6cccf8bdef0c6bb2e8 M instdir author Michael Stahl <mstahl@redhat.com> 2015-08-28 16:37:37 (GMT) committer Michael Stahl <mstahl@redhat.com> 2015-08-28 18:42:45 (GMT) commit 34700400247e378e074ce4164ab2809edb092201 (patch) tree b391b7dde601ccf2efb2e84759301a946bbb9973 parent d421ba3b665e6175e3ccfec7397e5f203f3ed54b (diff) vcl: fix resource management issue in WinSalLayout
Created attachment 123808 [details] Test doc
It started with 5.0.2. Regression from which bug?
not sure what is going on there, but adding some ref-counting seems to fix it probably before 34700400247e378e074ce4164ab2809edb092201 it was not crashing purely by accident
Michael Stahl committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=99207a26df0083851ba8e23be72d5c6974f98a3b vcl: tdf#98812: acquire reference count of WinFontInstances 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.
Please check whether Bug 98962 is related.
Michael Stahl committed a patch related to this issue. It has been pushed to "libreoffice-5-1": http://cgit.freedesktop.org/libreoffice/core/commit/?id=4ae7ec8c8d22e751b868459e1f51fcecc37dd6b1&h=libreoffice-5-1 vcl: tdf#98812: acquire reference count of WinFontInstances It will be available in 5.1.3. 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.
Marco Cecchetti committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=9fa87bb1a42c45446f78b4d8c8096d7ce90a8022 tdf#98812: follow-up 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.
Marco Cecchetti committed a patch related to this issue. It has been pushed to "libreoffice-5-1": http://cgit.freedesktop.org/libreoffice/core/commit/?id=4ab36bbd1816d6f297892a638e6826f28ca87150&h=libreoffice-5-1 tdf#98812: follow-up It will be available in 5.1.3. 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.
Please consider backport to 5.0.6.
Michael Stahl committed a patch related to this issue. It has been pushed to "libreoffice-5-0": http://cgit.freedesktop.org/libreoffice/core/commit/?id=988847aae823c7ea47a9925f1a40cdd61cc59f5c&h=libreoffice-5-0 vcl: tdf#98812: acquire reference count of WinFontInstances It will be available in 5.0.6. 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.