To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=78905 Issue #|78905 Summary|testtool crashes with aqua-native menus Component|porting Version|680m217 Platform|All URL| OS/Version|All Status|NEW Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|MacOSX Assigned to|macport Reported by|pjanik
------- Additional comments from [EMAIL PROTECTED] Tue Jun 26 19:11:05 +0000 2007 ------- 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! --------------------------------------------------------------------- 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]