There is a bug with the insert reference stuff, the dialog one and not the
main menu.

The problem seems to come from the fact that the buttons in the insert
reference are active even when there is no label to enter. Pressing one of
them say "Insert reference" will cause a core dump. Possible solution:
Disable the buttons when no label exists in the document.

The problem is fully reproducible with 1.1.5cvs.

Following is the backtrace:
(gdb) bt
#0  0x401e64e1 in __kill () from /lib/libc.so.6
#1  0x401e6156 in raise (sig=6) at ../sysdeps/posix/raise.c:27
#2  0x401e7868 in abort () at ../sysdeps/generic/abort.c:88
#3  0x812dee8 in lyx::chdir (name=0x40085fd0 "<\a") at abort.C:9
#4  0x8131bcb in lyxstring::lyxstring (this=0xbffff8e4, s=0x0) at 
LAssert.h:16
#5  0x80a08e4 in RefSelectCB (data=0) at lyx_cb.C:3196
#6  0x40030bfc in fl_object_qread () from /usr/lib/libforms.so.0.88
#7  0x4003eeca in fl_check_forms () from /usr/lib/libforms.so.0.88
#8  0x80a23f9 in LyXGUI::runTime (this=0x81b2f60) at lyx_gui.C:637
#9  0x80a3541 in LyX::LyX (this=0xbffff9c8, argc=0xbffffa70,
argv=0xbffffab4)
    at ../src/lyx_main.C:147
#10 0x80bdd1a in main (argc=1, argv=0xbffffab4) at ../src/main.C:75
(gdb)

-- 
  Baruch Even

http://techst02.technion.ac.il/~sbaruch/   (My Site)
http://rpghost.com/jindor/                 (My brothers AD&D site)

" Learn to laugh ... it's the path to true love! " 
   - The Angel in the movie Michael


Reply via email to