This is almost certainly because the frame is constructed before the
strings need for the menus are laoded. The gnome FE works fine.

Have a look in xap_UnixApp.cpp and ap_UnixApp.cpp and compare with
xap_UnixGnomeApp.cpp and ap_UnixGnomeApp.cpp

I'm doing a gtk build now.

Cheers

Martin




On Tue, 30 Oct 2001, Aaron Lehmann wrote:

> (gdb) r
> Starting program: /usr/local/abi/bin/AbiWord_d 
> 
> **** (1) Assert ****
> **** (1) pAction && (pAction->getMenuId() == id) at ev_Menu_Actions.cpp:166 ****
> **** (1) Continue ? (y/n) [y] : n
> 
> Program received signal SIGABRT, Aborted.
> 0x403c7921 in kill () from /lib/libc.so.6
> (gdb) bt
> #0  0x403c7921 in kill () from /lib/libc.so.6
> #1  0x403c7604 in raise () from /lib/libc.so.6
> #2  0x403c8d81 in abort () from /lib/libc.so.6
> #3  0x08190577 in UT_UnixAssertMsg ()
> #4  0x08198d4d in EV_Menu_ActionSet::getAction ()
> #5  0x0819b374 in EV_UnixMenu::synthesizeMenu ()
> #6  0x0819d747 in EV_UnixMenuBar::synthesizeMenuBar ()
> #7  0x0817664a in XAP_UnixFrame::_createTopLevelWindow ()
> #8  0x080d392b in AP_UnixFrame::initialize ()
> #9  0x080cfbcf in AP_UnixApp::newFrame ()
> #10 0x080d23ad in AP_UnixApp::parseCommandLine ()
> 
> (gdb) r
> The program being debugged has been started already.
> Start it from the beginning? (y or n) y
> 
> Starting program: /usr/local/abi/bin/AbiWord_d 
> 
> **** (1) Assert ****
> **** (1) pAction && (pAction->getMenuId() == id) at ev_Menu_Actions.cpp:166 ****
> **** (1) Continue ? (y/n) [y] : y
> 
> **** (2) Assert ****
> **** (2) pAction at ev_UnixMenu.cpp:420 ****
> **** (2) Continue ? (y/n) [y] : y
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x0819895e in EV_Menu_Action::hasDynamicLabel ()
> (gdb) bt
> #0  0x0819895e in EV_Menu_Action::hasDynamicLabel ()
> #1  0x0819aa82 in _ev_GetLabelName ()
> #2  0x0819b415 in EV_UnixMenu::synthesizeMenu ()
> #3  0x0819d747 in EV_UnixMenuBar::synthesizeMenuBar ()
> #4  0x0817664a in XAP_UnixFrame::_createTopLevelWindow ()
> #5  0x080d392b in AP_UnixFrame::initialize ()
> #6  0x080cfbcf in AP_UnixApp::newFrame ()
> #7  0x080d23ad in AP_UnixApp::parseCommandLine ()
> #8  0x080d1acc in AP_UnixApp::main ()
> #9  0x080cf1ca in main ()
> #10 0x403b766f in __libc_start_main () from /lib/libc.so.6
> 
> 
> 


Reply via email to