Hi,

With present CVS:

I wanted to PS-view my doc, but that generated three error-boxes, right at the very
beginning of my document. It shouldn't, so I was curious and want to do inspect them
with Navigate->Error.

As soon as I hit the Navigate menu item, LyX crashed with a SIGBUS. This was easily
reproducible, so here's the backtrace:

Program received signal SIGBUS, Bus error.
0x808893e in MenuItem::MenuItem (this=0xbfbfedb4, kind=Submenu,
     label=@0x85ae680, command=@0xbfbfef04, optional=false)
     at /usr/include/g++/std/bastring.h:75
75          charT* grab () { if (selfish) return clone (); ++ref; return data (); }
(gdb) bt
#0  0x808893e in MenuItem::MenuItem (this=0xbfbfedb4, kind=Submenu,
     label=@0x85ae680, command=@0xbfbfef04, optional=false)
     at /usr/include/g++/std/bastring.h:75
#1  0x8091634 in {anonymous}::expandToc (tomenu=@0xbfbff300, buf=0x8681a00)
     at MenuBackend.C:501
#2  0x8091cd8 in MenuBackend::expand (this=0x8539d00, frommenu=@0xbfbff1c0,
     tomenu=@0xbfbff300, buf=0x8681a00) at MenuBackend.C:550
#3  0x831a4e8 in Menubar::Pimpl::MenuCallback (ob=0x85f7e00, button=1)
     at Menubar_pimpl.C:388
#4  0x8316800 in C_Menubar_Pimpl_MenuCallback (ob=0x85f7e00, button=1)
     at Menubar_pimpl.C:80
#5  0x28575d5b in fl_object_qread () at events.c:206
#6  0x285860ff in fl_check_forms () at forms.c:2109
#7  0x832c979 in lyx_gui::start (batch=@0xbfbffa6c, files=0xbfbff8d4)
     at lyx_gui.C:310
#8  0x8107a8e in LyX::LyX (this=0xbfbffa68, argc=@0xbfbffa98,
     argv=0xbfbffae4) at ../src/lyx_main.C:159
#9  0x8156c6a in main (argc=1, argv=0xbfbffae4) at ../src/main.C:31
#10 0x8050781 in _start ()


Regards,
Rob.

Reply via email to