On Sun, 31 Jan 1999, Richard E. Hawkins Esq. wrote:
>
> As the floating eye used to say in "Hard Time on Planet Earth,"
>
> "Negative outcome. Not good."
>
> The cvs version of 1.0 is SIGSEGV'ing me right and left (at least as of
> yesterdays; i just compiled today's).
>
> Particularly, it's going nuts within multiline equations on the last
> and second to last lines of the document. The incredible colllapsing
> multiline equations are back (i think they left around pre3, didn't
> they?, particularly triggered by an "undo." And after this, it's
> usually a real quick trip. But I don't get any more message than the
> generic, and I can't quite reproduce them.
More bad news....
Try copying a BibTeX Database entry from one file to another and then run
"Update DVI" on the new buffer. Bang.
I haven't time to investigate this at present so I've attached a gdb dump
as food for thought... (note that owner is 0x0)
(I just checked and realized this is pre5 so I'll rebuild a new one and
see what happens but the document I'm writing needs to be done asap so
debugging will have to wait...)
Allan. (ARRae)
GNU gdb 4.17.0.4 with Linux/x86 hardware watchpoint and FPU support
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
Core was generated by `lyx'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/local/lib/libforms.so.0.88...done.
Reading symbols from /usr/X11R6/lib/libXpm.so.4...done.
Reading symbols from /usr/X11R6/lib/libSM.so.6...done.
Reading symbols from /usr/X11R6/lib/libICE.so.6...done.
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Reading symbols from
/usr/egcs/lib/gcc-lib/i386-redhat-linux/egcs-2.91..57/libstdc++.so.2.9...done.
Reading symbols from /lib/libm.so.6...done.
Reading symbols from /lib/libc.so.6...done.
Reading symbols from /lib/ld-linux.so.2...done.
Reading symbols from /lib/libnss_files.so.2...done.
#0 0x401da851 in __kill ()
(gdb) bt
#0 0x401da851 in __kill ()
#1 0x401da492 in raise (sig=6) at ../sysdeps/posix/raise.c:27
#2 0x401dbaf3 in abort () at ../sysdeps/generic/abort.c:88
#3 0x80556a8 in error_handler (err_sig=11) at ../src/lyx_main.C:541
#4 <signal handler called>
#5 0x8143206 in InsetBibtex::Latex (this=0x8284790, file=@0xbffff0dc)
at insetbib.C:342
#6 0x807dbfd in LyXParagraph::SimpleTeXSpecialChars (this=0x8292d40,
file=@0xbffff0dc, texrow=@0x82a8994, font=@0xbfffefe0,
running_font=@0xbfffefdc, basefont=@0xbfffefd8, open_font=@0xbfffefc3,
style=0x82733bc, i=@0xbfffefc4, column=@0xbfffefc8, c=11)
at paragraph.C:2599
#7 0x807cae2 in LyXParagraph::SimpleTeXOnePar (this=0x8292d40,
file=@0xbffff0dc, texrow=@0x82a8994) at paragraph.C:2260
#8 0x807b8c2 in LyXParagraph::TeXOnePar (this=0x8292d40, file=@0xbffff0dc,
texrow=@0x82a8994, foot=@0xbffff0b4, foot_texrow=@0xbffff0b8,
foot_count=@0xbffff0ac) at paragraph.C:2003
#9 0x80f7b48 in Buffer::makeLaTeXFile (this=0x82a8828, filename=@0xbffff1a0,
original_path=@0xbffff19c, nice=false, only_body=false) at buffer.C:1870
#10 0x80fae9d in Buffer::runLaTeX (this=0x82a8828) at buffer.C:2613
#11 0x8059dad in MenuRunLaTeX (buffer=0x82a8828) at lyx_cb.C:455
#12 0x805a76b in MakeDVIOutput (buffer=0x82a8828) at lyx_cb.C:518
#13 0x805a848 in RunScript (buffer=0x82a8828, wait=false, command=@0xbffff278,
orgname=@0xbffff27c, need_shell=true) at lyx_cb.C:538
#14 0x805c2cf in MenuPreview (buffer=0x82a8828) at lyx_cb.C:774
#15 0x80a75f0 in LyXFunc::Dispatch (this=0x8231480, ac=11,
do_not_use_this_arg=0x0) at lyxfunc.C:654
#16 0x80a59dc in LyXFunc::processKeyEvent (this=0x8231480, ev=0x400882ec)
at lyxfunc.C:319
#17 0x813f2bc in LyXView::KeyPressMask_raw_callback (fl=0x8229280,
xev=0x400882ec) at LyXView.C:337
#18 0x400413bf in pre_emptive_consumed ()
#19 0x40040758 in do_interaction_step ()
#20 0x40040ee2 in fl_treat_interaction_events ()
#21 0x40040f1c in fl_check_forms ()
#22 0x8057217 in LyXGUI::runTime (this=0x8211618) at lyx_gui.C:621
#23 0x804dd5e in LyX::LyX (this=0xbffff6b0, argc=0xbffff750, argv=0xbffff764)
at ../src/lyx_main.C:119
#24 0x804d94b in main (argc=1, argv=0xbffff764) at ../src/main.C:51
(gdb) up
#1 0x401da492 in raise (sig=6) at ../sysdeps/posix/raise.c:27
../sysdeps/posix/raise.c:27: No such file or directory.
Current language: auto; currently c
(gdb)
#2 0x401dbaf3 in abort () at ../sysdeps/generic/abort.c:88
../sysdeps/generic/abort.c:88: No such file or directory.
(gdb)
#3 0x80556a8 in error_handler (err_sig=11) at ../src/lyx_main.C:541
541 abort();
Current language: auto; currently c++
(gdb)
#4 <signal handler called>
(gdb)
#5 0x8143206 in InsetBibtex::Latex (this=0x8284790, file=@0xbffff0dc)
at insetbib.C:342
342 IsFileReadable(MakeAbsPath(adb,owner->filepath)+".bib"))
(gdb) info locals
db_in = {p = 0x8204374}
adb = {p = 0x828f6e8}
db_out = {p = 0x8204324}
style = {p = 0x40213882}
(gdb) print owner
$1 = (class Buffer *) 0x0
(gdb) print *adb.p
$2 = {l = 6, n = 0, e = 4, s = "b"}
(gdb) up
#6 0x807dbfd in LyXParagraph::SimpleTeXSpecialChars (this=0x8292d40,
file=@0xbffff0dc, texrow=@0x82a8994, font=@0xbfffefe0,
running_font=@0xbfffefdc, basefont=@0xbfffefd8, open_font=@0xbfffefc3,
style=0x82733bc, i=@0xbfffefc4, column=@0xbfffefc8, c=11)
at paragraph.C:2599
2599 int tmp = inset->Latex(file, style->isCommand());
(gdb) info locals
len = 560
tmp = 136857488
file = (LString &) @0xbffff0dc: {p = 0x82b93a0}
style = (LyXLayout *) 0x0
column = (int &) @0xbfffefc8: 1
c = -112 '\220'
inset = (class Inset *) 0x8284790