Hello, again
I sent a report on Feb 4 about this bug, but at that time there was no
debug information available. My environment is the following:
Pentium 133, Slackware Linux 3.4 (heavy modified)
Kernel version 2.0.33
GCC version 2.7.2.3
Xforms version 0.88
Running `ldd lyx' I get
libforms.so.0.88 => /usr/X11R6/lib/libforms.so.0.88 (0x4000a000)
libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x4008a000)
libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x40098000)
libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x400a0000)
libc.so.5 => /lib/libc.so.5 (0x400b4000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40170000)
libg++.so.27 => /usr/lib/libg++.so.27 (0x4020c000)
libstdc++.so.27 => /usr/lib/libstdc++.so.27 (0x40244000)
libm.so.5 => /lib/libm.so.5 (0x40276000)
I used the options `--prefix=/usr --with-included-gettext' to configure.
After opening and closing an existing note I tried to remove it moving the
cursor to it's left side and pressing Delete but LyX broke with a core
dump. An emergency copy was saved [Try this with M$ W@®Ð, ha,ha,ha! Even
a LyX *bug* is better than Bill's word processor, great job guys! ].
This time gdb gave the following information:
$ gdb lyx -c core
GDB is free software and you are welcome to 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.
GDB 4.16 (i486-slackware-linux),
Copyright 1996 Free Software Foundation, Inc...
Core was generated by `lyx'.
Program terminated with signal 6, IOT trap/Abort.
Reading symbols from /usr/X11R6/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 /lib/libc.so.5...done.
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Reading symbols from /usr/lib/libg++.so.27...done.
Reading symbols from /usr/lib/libstdc++.so.27...done.
Reading symbols from /lib/libm.so.5...done.
Reading symbols from /lib/ld-linux.so.1...done.
#0 0x4011ca89 in __kill ()
(gdb) bt
#0 0x4011ca89 in __kill ()
#1 0x400eb8c9 in gsignal ()
#2 0xbffff830 in ?? ()
#3 0x40034ee9 in fl_last_event ()
#4 0x40035582 in fl_treat_interaction_events ()
#5 0x400355c0 in fl_check_forms ()
#6 0x8053e32 in LyXGUI::runTime (this=0x81a7988) at lyx_gui.C:624
#7 0x804db75 in LyX::LyX (this=0xbffffaec, argc=0xbffffb10,
argv=0xbffffb2c)
at ../src/lyx_main.C:119
#8 0x804d7ec in main (argc=1, argv=0xbffffb2c) at ../src/main.C:51
#9 0x804d6ce in _start ()
(gdb) quit
I was unable to reproduce the bug by simply opening, closing and deleting
a note again. Could this to be a bug in XForms, as JMarc pointed out
before?
I found that `gsignal' is a function in libc.so.5.4.44 (declared in
/usr/include/signal.h) but what's the strange `??' calling it?
------------------------------------------------------------------------
Carlos A M dos Santos Universidade Federal do Rio Grande do Sul
estudante de mestrado Pós-Graduação em Ciência de Computação
Av. Bento Gonçalves, 9500 - Bloco IV - Prédio 43412 - Caixa Postal 15064
Telefone +55 51 316-6161 Porto Alegre, RS, Brasil, CEP 91501-970
<[EMAIL PROTECTED]> <http://www.inf.ufrgs.br/~casantos>