To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=105643
User mst changed the following: What |Old value |New value ================================================================================ CC|'' |'sb' -------------------------------------------------------------------------------- ------- Additional comments from m...@openoffice.org Tue Nov 10 15:21:26 +0000 2009 ------- so, it turns out this crashes and burns in cwscheckapi: (dbx) where [1] __lwp_kill(0x1, 0x6), at 0xfef75687 [2] _thr_kill(0x1, 0x6), at 0xfef72dee [3] raise(0x6), at 0xfef211bb [4] abort(0xf7e267b4, 0xf7e267b4, 0xf748ffd9, 0x80458ec, 0xf748d3fa, 0x80458e0), at 0xfef01570 [5] __Crun::pure_error(0x80458e0, 0x8cd02f0), at 0xfee9656a =>[6] ThreadListener::ListenToThread(this = 0x8dd9b70, nThreadID = 1, rThread = CLASS), line 52 in "threadlistener.cxx" [7] ThreadManager::AddThread(this = 0x8cd02f0, rThread = CLASS), line 98 in "threadmanager.cxx" [8] SwThreadManager::AddThread(this = 0xf80c292c, rThread = CLASS), line 74 in "swthreadmanager.cxx" [9] SwAsyncRetrieveInputStreamThreadConsumer::CreateThread(this = 0x8bddc60, rURL = CLASS), line 66 in "retrieveinputstreamconsumer.cxx" the reason seems to be that the SwThreadManager is returned by value in the operator(). so the dtor of the temporary is called, deletes the pImpl, but the copy still refers to it. unfortunately it turns out that simply using rtl::Static (as suggested by sb) does not work, because a) rtl::Static::StaticInstance cannot call SwThreadManager ctor because ctor is private b) rtl::Static::StaticInstance cannot be a friend of SwThreadManager because StaticInstance is private [of course the thing that one really wants here (SwThreadManager ctor not in header at all) is not possible in C++ anyway.] somehow this seems rather half-baked... so i'm making SwThreadManager ctor public, that will at least compile :) see here: http://hg.services.openoffice.org/hg/cws/sw33bf01/rev/800dfb17b8f4 --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@sw.openoffice.org For additional commands, e-mail: issues-h...@sw.openoffice.org --------------------------------------------------------------------- To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org