Apache OpenOffice (AOO) Bugzilla – Issue 78905
testtool crashes with aqua-native menus
Last modified: 2007-07-13 10:59:04 UTC
Hi, Gregor: looks like we need your help. In cws aquavcl01, we have semi-working native port for Mac OS X. I'm trying to get testtool working and it work perfectly with VCL native menus. But for Mac OS X aqua, we have implemented so called native menus (on Mac OS X, there is a menubar on the top of display, not window). When we start testtool with native menus, the first window is shown also with menubar. i can even select e.g. first.bas from the recently opened files. But when I enter menu Program - Start (sorry, translating from Czech), the testtool crashes: The stack is: (gdb) where #0 0x0005ba94 in AppWin::InitMenu (this=0x2b6ff10, pMenu=0x2b4f850) at /Users/pavel/BUILD/ AQUA/BuildDir/ooo_SRC680_m217_src/basic/source/app/appwin.cxx:253 #1 0x00062ebd in AppError::InitMenu (this=0x0, pMenu=0x2b4f850) at /Users/pavel/BUILD/AQUA/ BuildDir/ooo_SRC680_m217_src/basic/source/app/apperror.cxx:79 #2 0x000417fa in BasicFrame::InitMenu (this=0x2b2eef0, pMenu=0x2b4f850) at /Users/pavel/BUILD/ AQUA/BuildDir/ooo_SRC680_m217_src/basic/source/app/app.cxx:1274 #3 0x015aa2f8 in Menu::Activate () #4 0x015a6390 in MenuBar::HandleMenuActivateEvent () #5 0x0160635b in Window::~Window () The crash happens here: Reason: KERN_PROTECTION_FAILURE at address: 0x00000000 0x0005ba94 in AppWin::InitMenu (this=0x2b6ff10, pMenu=0x2b4f850) at /Users/pavel/BUILD/AQUA/ BuildDir/ooo_SRC680_m217_src/basic/source/app/appwin.cxx:253 253 TextSelection r = pDataEdit->GetSelection(); (gdb) print pDataEdit $1 = (DataEdit *) 0x0 (gdb) list 248 // Set up the menu 249 long AppWin::InitMenu( Menu* pMenu ) 250 { 251 252 ::rtl::OUString aTemp; 253 TextSelection r = pDataEdit->GetSelection(); 254 BOOL bMarked = r.HasRange(); 255 pMenu->EnableItem( RID_EDITREPEAT, (aFind.Len() != 0 ) ); 256 pMenu->EnableItem( RID_EDITCUT, bMarked ); 257 pMenu->EnableItem( RID_EDITCOPY, bMarked ); Do you have any idea how it could be connected? Philipp: do you have any idea? BTW - I have successfully finished first.bas using VCL menus with screenshots turned on!
this is fixed isn't it?
. *** This issue has been marked as a duplicate of 79212 ***
Yes it is, but this issue was filed a bit earlier 8) Closing duplicate.