To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=89835 Issue #|89835 Summary|Assertions when closing a form Component|framework Version|DEV300m12 Platform|All URL| OS/Version|All Status|NEW Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|code Assigned to|fs Reported by|pl
------- Additional comments from [EMAIL PROTECTED] Fri May 23 09:22:03 +0000 2008 ------- - open bugdoc from issue 89393 - click "Forms" on the left bar - double click "Uberweisung" to open the form - close the opened form via closer -> four times assertion "Error: assertion failed! >From File /private/var/automount/so/ws/DEV300/src/cppuhelper/source/interfacecontainer.cxx at Line 281 " with stack #18 0x001f3ca9 in osl_assertFailedLine () #19 0x005dcca6 in cppu::OInterfaceContainerHelper::removeInterface () #20 0x00847009 in (anonymous namespace)::SfxDocumentMetaData::removeModifyListener () #21 0x0078df20 in SfxObjectShell::Close () #22 0x054b4d2a in SotObject::DoClose () #23 0x054b59cf in SotObject::OwnerLock () #24 0x008708d2 in SfxViewFrame::ReleaseObjectShell_Impl () #25 0x00885603 in SfxTopViewFrame::~SfxTopViewFrame () #26 0x00884dbb in SfxTopViewFrame::Close () #27 0x0085e847 in SfxFrame::DoClose_Impl () #28 0x008910c8 in SfxBaseController::dispose () #29 0x11a8aa19 in framework::Frame::setComponent () #30 0x11a89fe0 in framework::Frame::close () #31 0x3227ab9e in DocumentHolder::CloseFrame () #32 0x3226a6d0 in OCommonEmbeddedObject::Deactivate () #33 0x3226b454 in OCommonEmbeddedObject::SwitchStateTo_Impl () #34 0x3226cd58 in OCommonEmbeddedObject::changeState () #35 0x3228b565 in Interceptor::dispatch () #36 0x21423e6f in dbaccess::OInterceptor::dispatch () #37 0x11a8422d in framework::Frame::windowClosing () #38 0x0140f267 in TopWindowListenerMultiplexer::windowClosing () #39 0x013649cd in VCLXWindow::ProcessWindowEvent () then 2 times "Error: object deleted while in use ! >From File ../../inc/vcl/svdata.hxx at Line 408" with the following stack: #15 0x0192e090 in DbgPrintMsgBox (pLine=0xbfffaa67 "Error: object deleted while in use !\nFrom File ../../inc/vcl/svdata.hxx at Line 408") at /Volumes/Tiger/Users/pl93762/vcl89/vcl/source/app/dbggui.cxx:1908 #16 0x01717bf2 in DbgOut () at /private/var/automount/so/ws/DEV300/src/tools/source/string/debugprint.cxx:49 #17 0x01ae5a73 in Window::CallEventListeners () at /Volumes/Tiger/Users/pl93762/vcl89/vcl/source/gdi/graphictools.cxx:371 #18 0x01ac5f0a in SystemWindow::Close () at /Volumes/Tiger/Users/pl93762/vcl89/vcl/source/gdi/graphictools.cxx:371 #19 0x01b0cbe3 in WorkWindow::Close () at /Volumes/Tiger/Users/pl93762/vcl89/vcl/source/gdi/graphictools.cxx:371 #20 0x01b029d6 in DelayedCloseEventLink () at /Volumes/Tiger/Users/pl93762/vcl89/vcl/source/gdi/graphictools.cxx:371 #21 0x01b07172 in ImplWindowFrameProc () at /Volumes/Tiger/Users/pl93762/vcl89/vcl/source/gdi/graphictools.cxx:371 The latter assertion means you (or whoever reacts on the close event) destroys the window and its event listener queue while in the handler which is evil. Please use Window::doLazyDelete instead. --------------------------------------------------------------------- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
