Created attachment 137218 [details] Demonstrate crash When a File Selection widget (FilePicker ?) is in a dialog, clicking the "Close Window" button will cause LibreOffice to crash. To reproduce, open the attached file; run the test macro in Module1. Click the "Close Window" button and LibreOffice crashes. You may get a BASIC runtime error initially; if so, just run the macro again. If the OK button is clicked before the "Close Window" button, there will be no crash. crashreport.libreoffice.org/stats/crash_details/e3486eb7-41c3-4838-815d-10c12af2076f This came to my attention in Linux Mint 18.2, LibreOffice 5.1.6.2. The crash report is from the current daily build. The crash also occurs with Test Mode On when editing the dialog. I believe that is where the crash report was generated. I reproduced this crash in Writer 5.1.6.2. It worked properly in 3.3.4. I don't know about 4.x.x.
Created attachment 137222 [details] gdb backtrace
Reproduced in Version: 5.0.0.0.alpha1+ Build ID: 0db96caf0fcce09b87621c11b584a6d81cc7df86 Locale: ca-ES (ca_ES.UTF-8) but not in - Version: 4.3.0.0.alpha1+ Build ID: c15927f20d4727c3b8de68497b6949e72f9e6e9e
I submitted a patch to review here: https://gerrit.libreoffice.org/43731
Julien Nabet committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=fe22bdc3b537afa8ebcb5cb057542b762c770722 tdf#113368: fix crash when closing dialog opened with Basic It will be available in 6.0.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.
Julien Nabet committed a patch related to this issue. It has been pushed to "libreoffice-5-4": http://cgit.freedesktop.org/libreoffice/core/commit/?id=e13650902068ca28cbe2bb1856f1a4c372f409bd&h=libreoffice-5-4 tdf#113368: fix crash when closing dialog opened with Basic It will be available in 5.4.4. 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.
I can verify that the fix works with the spreadsheet in which I initially saw the problem. I tested with a daily build of 6.0.0.
Thank you for your feedback, let's put this one to VERIFIED then.