Issue 101245 - sfx2: gtk quickstarter crashes on disable/exit
Summary: sfx2: gtk quickstarter crashes on disable/exit
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: DEV300m46
Hardware: All Linux, all
: P3 Trivial (vote)
Target Milestone: OOo 3.2
Assignee: mmeeks
QA Contact: issues@framework
URL:
Keywords:
: 105932 (view as issue list)
Depends on:
Blocks: 105755
  Show dependency tree
 
Reported: 2009-04-21 15:34 UTC by caolanm
Modified: 2009-12-21 16:16 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
hackaround (1.14 KB, patch)
2009-04-21 15:34 UTC, caolanm
no flags Details | Diff
patch (4.19 KB, patch)
2009-10-23 12:10 UTC, mmeeks
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
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