Issue 101245

Summary: sfx2: gtk quickstarter crashes on disable/exit
Product: General Reporter: caolanm
Component: codeAssignee: mmeeks <mmeeks>
Status: CLOSED FIXED QA Contact: issues@framework <issues>
Severity: Trivial    
Priority: P3 CC: issues
Version: DEV300m46   
Target Milestone: OOo 3.2   
Hardware: All   
OS: Linux, all   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 105755    
Attachments:
Description Flags
hackaround
none
patch none

Description caolanm 2009-04-21 15:34:18 UTC
Because these days osl::Module calls dlclose on its dtor, (it didn't in the
past) which reveals there are are difficulties in dlclosing libqstart_gtkli.so
from a call-stack resulting from a gtk signal.

e.g. no qstarter running, start writer, enable qstarter, close writer, choose
disable/quit from qstarter menu -> crash

Not sure who's maintaining (if anyone) the gtk quickstarter, here's a hack to
deliberately leak the osl::Module as a hackaround
Comment 1 caolanm 2009-04-21 15:34:42 UTC
Created attachment 61706 [details]
hackaround
Comment 2 caolanm 2009-10-19 11:53:39 UTC
*** Issue 105932 has been marked as a duplicate of this issue. ***
Comment 3 mmeeks 2009-10-22 16:59:43 UTC
What fun :-) I tried adding a glib idle handler to defer the exit, but it's just
not possible.
So - I guess the final module deletion code needs to be executed in a VCL idle
handler from shutdown.cxx - I'll hack that up.
Comment 4 mmeeks 2009-10-23 12:10:01 UTC
I committed the attached patch to cws qstartfix2.
Comment 5 mmeeks 2009-10-23 12:10:34 UTC
Created attachment 65555 [details]
patch
Comment 6 mmeeks 2009-11-13 12:24:51 UTC
update target to please EIS.
Comment 7 Martin Hollmichel 2009-12-11 08:07:03 UTC
verified
Comment 8 caolanm 2009-12-21 16:16:24 UTC
closed, in OOO320 and DEV300 streams