On Dec 1, 2006, at 11:09 AM, Jean-Marc Lasgouttes wrote:

"Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes:

Bennett> The patch won't compile:

Sorry, typo. Try this one.

JMarc

PS: I have to go now.

<macmenus-2.diff>

Well, it compiles now, but LyX on startup. Here's the backtrace:

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000018
0x000f5f2d in lyx::to_utf8 ([EMAIL PROTECTED]) at /usr/include/c++/4.0.0/ bits/basic_string.h:269
269           { return  _M_dataplus._M_p; }
(gdb) bt
#0 0x000f5f2d in lyx::to_utf8 ([EMAIL PROTECTED]) at /usr/include/c++/4.0.0/ bits/basic_string.h:269 #1 0x005666f2 in lyx::frontend::QLPopupMenu::update (this=0x0) at QLPopupMenu.C:68 #2 0x004bcb35 in lyx::frontend::QLMenubar::macxMenuBarInit (this=0xe371350) at QLMenubar.C:170 #3 0x004bd3ef in lyx::frontend::QLMenubar::QLMenubar (this=0xe37137c, view=0xe368214, [EMAIL PROTECTED]) at QLMenubar.C:48 #4 0x00305f84 in lyx::frontend::GuiView::init (this=0xe368200) at GuiView.C:196 #5 0x000e6292 in lyx::frontend::Application::createView (this=0xe81a808, width=690, height=510, posx=-1, posy=-1, maximize=false, iconSizeXY=0, [EMAIL PROTECTED]) at Application.C:65 #6 0x00069dbd in lyx::LyX::newLyXView (this=0xbffff954) at lyx_main.C:611 #7 0x00069df6 in lyx::LyX::restoreGuiSession (this=0xbffff954, [EMAIL PROTECTED]) at lyx_main.C:540 #8 0x0006be8a in lyx::LyX::exec (this=0xbffff954, [EMAIL PROTECTED], argv=0xbffff9e4) at lyx_main.C:382
#9  0x000025f7 in main (argc=1, argv=0xbffff9e4) at main.C:48


Bennett

Reply via email to