Apache OpenOffice (AOO) Bugzilla – Issue 72249
aquavcl01: (GetStyle crash) toolbar icon click -> crash with vcl menus
Last modified: 2007-05-14 19:30:30 UTC
Hi, if you start sofficebin from gdb or from terminal, empty windows open. When you click on the icon in the toolbar which has the triangle button on its right side, sofficebin crashes. You have to click on the icon, not on the triangle button. Stack: >*>_> GetParent >*>_> GetParent >*>_> ReleaseGraphics >*>_> ~AquaSalFrame Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x000000ec 0x011d080d in Window::GetStyle (this=0x39a5b40) at /Users/pavel/BUILD/AQUA/BuildDir/ ooo_SRC680_m195_src/vcl/source/window/window2.cxx:1703 1703 return mpWindowImpl->mnStyle; (gdb) where #0 0x011d080d in Window::GetStyle (this=0x39a5b40) at /Users/pavel/BUILD/AQUA/BuildDir/ ooo_SRC680_m195_src/vcl/source/window/window2.cxx:1703 #1 0x011c8e57 in ImplHandleResize (pWindow=0x39a5b40, nNewWidth=34, nNewHeight=27) at / Users/pavel/BUILD/AQUA/BuildDir/ooo_SRC680_m195_src/vcl/source/window/winproc.cxx:1647 #2 0x011bb7c5 in Window::SetPosSizePixel (this=0x392f700, nX=20, nY=62, nWidth=34, nHeight=27, nFlags=3) at /Users/pavel/BUILD/AQUA/BuildDir/ooo_SRC680_m195_src/vcl/source/ window/window.cxx:7150 #3 0x011d108a in Window::SetPosPixel (this=0x392f700, rNewPos=@0xbfffdb78) at /Users/pavel/ BUILD/AQUA/BuildDir/ooo_SRC680_m195_src/vcl/source/window/window2.cxx:2043 #4 0x0100b995 in ImplSetHelpWindowPos (pHelpWin=0x392f700, nHelpWinStyle=0, nStyle=64, rPos=@0xbfffdc80, pHelpArea=0xbfffdd24) at /Users/pavel/BUILD/AQUA/BuildDir/ ooo_SRC680_m195_src/vcl/source/app/help.cxx:794 #5 0x0100bce0 in ImplShowHelpWindow (pParent=0x3102800, nHelpWinStyle=0, nStyle=64, rHelpText=@0xbfffdd18, rStatusText=@0x310908c, rScreenPos=@0xbfffdc80, pHelpArea=0xbfffdd24) at /Users/pavel/BUILD/AQUA/BuildDir/ooo_SRC680_m195_src/vcl/source/app/help.cxx:666 #6 0x0100bd7b in Help::ShowQuickHelp (pParent=0x3102800, rScreenRect=@0xbfffdd24, rHelpText=@0xbfffdd18, rLongHelpText=@0x310908c, nStyle=64) at /Users/pavel/BUILD/AQUA/ BuildDir/ooo_SRC680_m195_src/vcl/source/app/help.cxx:302 #7 0x01195725 in ToolBox::RequestHelp (this=0x3102800, rHEvt=@0xbfffdddc) at /Users/pavel/ BUILD/AQUA/BuildDir/ooo_SRC680_m195_src/vcl/source/window/toolbox.cxx:4869 #8 0x011c6b9a in ImplHandleMouseHelpRequest (pChild=0x3102800, rMousePos=@0xbfffdfb4) at / Users/pavel/BUILD/AQUA/BuildDir/ooo_SRC680_m195_src/vcl/source/window/winproc.cxx:329 #9 0x011cbcff in ImplHandleMouseEvent (pWindow=0x3947ef0, nSVEvent=3, bMouseLeave=0 '\0', nX=24, nY=41, nMsgTime=532860070, nCode=1, nMode=19) at /Users/pavel/BUILD/AQUA/BuildDir/ ooo_SRC680_m195_src/vcl/source/window/winproc.cxx:904 #10 0x011ca710 in ImplHandleMouseEvent (pWindow=0x3947ef0, nSVEvent=1, bMouseLeave=0 '\0', nX=24, nY=41, nMsgTime=532860070, nCode=1, nMode=3) at /Users/pavel/BUILD/AQUA/BuildDir/ ooo_SRC680_m195_src/vcl/source/window/winproc.cxx:455 #11 0x01348db1 in ImplHandleSalMouseButtonDown (pWindow=0x3947ef0, pEvent=0xbfffe450) at / Users/pavel/BUILD/AQUA/BuildDir/ooo_SRC680_m195_src/vcl/source/window/winproc.cxx:2092 #12 0x011cc22e in ImplWindowFrameProc (pInst=0x3947ef0, nEvent=3, pEvent=0xbfffe450) at / Users/pavel/BUILD/AQUA/BuildDir/ooo_SRC680_m195_src/vcl/source/window/winproc.cxx:2328 #13 0x0135420f in SalFrame::CallCallback (this=0x3948150, nEvent=3, pEvent=0xbfffe450) at salframe.hxx:315 #14 0x01248906 in HandleMouseUpDownEvent (inHandlerCallRef=0xbfffe760, inEvent=0x39a0880, inUserData=0x3948150) at /Users/pavel/BUILD/AQUA/BuildDir/ooo_SRC680_m195_src/vcl/aqua/ source/window/salframe.cxx:1173 #15 0x92dd786b in DispatchEventToHandlers () #16 0x92dd6f10 in SendEventToEventTargetInternal () #17 0x92dde1f0 in SendEventToEventTarget () #18 0x92dde683 in ToolboxEventDispatcherHandler () #19 0x92dd7c22 in DispatchEventToHandlers () #20 0x92dd6f10 in SendEventToEventTargetInternal () #21 0x92dde1f0 in SendEventToEventTarget () Happens with VCL menus. There is a different crash when using native menus 8)
I can reproduce the same crash by moving the mouse over the empty window for a few moments.
There are two issues, this one for vcl menus and 72250 for native menus. James McKenzie
Adding to Meta Issue
add me on CC
works for me now. No crashes.
Closing.
confirmed : no more crash