This is with lyx-1.0.0 and forms-0.81. The System is RedHat-5.2/Alpha
with glibc-2.0.7. The compiler used is egcs-1.1.1.
I get an SEGV at math_draw.C when loading a file with Mathmode
insets. The file was created with Lyx-1.0.0 on a Sun. The bug also happens
when editing a fresh file in Math- mode and trying to insert a symbol such as
\sum it doesn't happen when entering just simple chars like Q=3*4). Here is an
backtrack from gdb, trying to load the file:
Program received signal SIGSEGV, Segmentation fault.
0x120110be0 in MathParInset::Metrics (this=0x120427020) at math_draw.C:172
(xxgdb) bt
#0 0x120110be0 in MathParInset::Metrics (this=0x120427020) at math_draw.C:172
#1 0x120100630 in InsetFormula::Read (this=0x12042db10, lex=@0x11fffb6b0) at
formula.C:384
#2 0x1201293c4 in Buffer::readLyXformat2 (this=0x120426610, lex=@0x11fffb6b0,
par=0x12042d9b0) at buffer.C:892
#3 0x12012ea94 in Buffer::readFile (this=0x120426610, lex=@0x11fffb6b0, par=0x0) at
buffer.C:1138
#4 0x1201abcc0 in BufferList::readFile (this=0x120351a60, s=@0x11fffbf60,
ronly=4831819440) at bufferlist.C:524
#5 0x1201adefc in BufferList::loadLyXFile (this=0x120351a60, filename=@0x1,
tolastfiles=true) at bufferlist.C:643
#6 0x1200b7d4c in LyXFunc::MenuOpen (this=0x1203cdec0) at lyxfunc.C:2541
#7 0x1200a1c30 in LyXFunc::Dispatch (this=0x1203cdec0, ac=4, do_not_use_this_arg=0x0)
at lyxfunc.C:635
#8 0x1200c4a7c in Menus::ShowFileMenu2 (ob=0x1203c61e0) at menus.C:677
#9 0x2000013d5c8 in fl_object_qread ()
#10 0x2000014a4ec in fl_check_forms ()
#11 0x1200185e8 in LyXGUI::runTime (this=0x11ffff550) at lyx_gui.C:624
#12 0x1200085f8 in LyX::LyX (this=0x11ffff898, argc=0x11ffff890, argv=0x11ffff958) at
../src/lyx_main.C:119
#13 0x120007af8 in main (argc=1, argv=0x11ffff958) at ../src/main.C:51
(xxgdb)
I would be more than happy to test any patches which might solve this issue.
Lyx is a great idea!
Martin