Andre Poenitz wrote:
On Tue, Nov 26, 2002 at 12:39:43PM +1030, Darren Freeman wrote:
Run the CVS version of LyX.
Click File->New
Click File->Save or File->Save As
pick a sensible filename.
Can't reproduce that. Can you have a go with the debugger?
I can.
Using:
LyX 1.3.0cvs of Fri, May 3, 2002
Built on Nov 26 2002, 14:35:58
Configuration
Host type: i386-unknown-freebsd4.6
Special build flags: warnings assertions xforms-image-loader
C Compiler: gcc
C Compiler flags: -g -O2
C++ Compiler: g++ (2.95.3)
C++ Compiler flags: -g -O -Wno-non-template-friend -ftemplate-depth-30 -W -Wall
Linker flags:
Frontend: xforms
libXpm version: 4.11
libforms version: 1.0.0
LyX binary dir: /opt/bin
LyX files dir: /opt/share/lyx
When doing "File->New, File->Save, click [OK]" in exactly that order,
I get with gdb the following:
$ gdb src/lyx
GNU gdb 4.18 (FreeBSD)
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-unknown-freebsd"...
(gdb) run
Starting program: /home/lahaye/SOFTWARE/lyx-devel/src/lyx
Received unhandled X11 event
Type: 13 Target: 0x220009c
Program received signal SIGABRT, Aborted.
0x287d57b4 in kill () from /usr/lib/libc.so.4
(gdb) bt
#0 0x287d57b4 in kill () from /usr/lib/libc.so.4
#1 0x28815b26 in abort () from /usr/lib/libc.so.4
#2 0x28768444 in __terminate () from /usr/lib/libstdc++.so.3
#3 0x28768461 in __terminate () from /usr/lib/libstdc++.so.3
#4 0x287687fb in __sjthrow () from /usr/lib/libstdc++.so.3
#5 0x8102e3a in LyX::LyX (this=0xbfbff9d4, argc=@0xbfbffa04, argv=0xbfbffa50) at ../src/lyx_main.C:168
#6 0x81517ce in main (argc=1, argv=0xbfbffa50) at ../src/main.C:31
#7 0x8050dcd in _start ()
(gdb)
Is that helpful? Doesn't look so. Is LyX misusing some libs from libstdc++ or libc or what?
Few more details:
1) LyX makes a correct emergency LyX file, when aborting. So the emergency mechanism still
works with this crash.
2) When LyX does the emergency save (it does that when you type something inbetween the File->New
and File->Save), then the crash goes into a hang; it does not quit. A "kill -9 [process-id]" is
needed to stop it!
Without an emergency save, the crash at least quits nicely, without needing a kill -9 !
Does that give a clue?
Cheers,
Rob.
Darren, I vaguely seem to remember that you are also running on FreeBSD. Is that so?
Would that make this a typical FreeBSD thing, if Andre and others do not see this?