Created attachment 90598 [details] sigsegv bt Version: 4.3.0.0.alpha0+ Build ID: ad0a87f71e1b1b59febfccd956fde5c365c28813 How to reproduce : 1) Start LibreOffice 2) In the Start Center, click on the Templates button. 3) As it takes forever to initialize, the user thinks that the first click hasn't worked, so he/she clicks again, and again, until finally...multiple Template Manager windows appear (stacked one on top of the other) 4)Now close the Main application window, then attempt to close one of the surviving Template Manager windows. 5) LO calls sigsegv and dumps core. Backtrace enclosed.
If the app didn't allow multiple asynchronous instances of the Template Manager dialog, perhaps this problem would not exist ?
Now working on LibreOffice as volunteer I restricted my action's area to CMIS-related topics. Removed me from CC
(In reply to comment #2) > Now working on LibreOffice as volunteer I restricted my action's area to > CMIS-related topics. Removed me from CC Oh sorry Cedric, wasn't aware of that. Alex
I just built from the git HEAD and I am experiencing no Segfault but another annoying situation: I can open the Template Manager multiple times but the one opened last is the only one that is controllable. Maybe it would be wise to make the Template Manager Dialog modal? I looked into the sfx2/source/doc/templatedlg.src and found the DLG_TEMPLATE_MANAGER to be a ModelessDialog. But when I change it to ModalDialog I get an empty gray almost fullscreen sized window I cannot resize and neither close. Maybe anyone can point me into the right direction or has another idea.
Version: 4.3.0.0.alpha0 Date: Tue Feb 25 19:58:48 2014 +0100 Platform :Ubuntu 13.10 DE: GNOME3 Confirmed New Major - crash but not going to affect many users IMHO so not critical High - default seems appropriate. For me I see no "takes forever to initialize" problem - template manager starts almost immediately but I do see the seg fault when I follow your steps.
Not a new issue - verified on 4.2.2.1 also, updating version
For a dialog a parent of "DIALOG_NO_PARENT" means a dialog has no parent, so even if its modal it is modal of nothing while NULL means "automatically find a parent".
http://cgit.freedesktop.org/libreoffice/core/commit/?id=60126254eba8a6a6b94c60b2101ee90986161e24
https://gerrit.libreoffice.org/11978 proposed for 4.3
*** Bug 64364 has been marked as a duplicate of this bug. ***