---------- Forwarded message ----------
Date: Mon, 12 Jun 2000 21:33:17 +0000 (GMT)
From: Carlos A M dos Santos <[EMAIL PROTECTED]>
To: Lyx Developers list <[EMAIL PROTECTED]>
Subject: Possible bug in lyx-1.1.5
Hello
I'm using lyx to edit my thesis. It is a quite large document that uses
several packages and includes lots of small inlined-eps images. The
operating system is FreeBSD 3.4 with XFree86 3.3.5. I also installed
gcc/b++ 2.95.2 because LyX does not compile with the stock gcc 2.7.2.3.
LyX was configured with
CC=gcc295 CXX=g++295 ./configure
Running under GDB I generated the following log:
GNU gdb 4.18
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/Devel/lyx-1.1.5/src/lyx
Program received signal SIGSEGV, Segmentation fault.
0x8132c15 in lyxstring::lyxstring (this=0xbfbfb4ac,
s=0x8384000 "%%\n%% This is file `float.sty',\n%% generated with the docstrip
utility.\n%%\n%% The original source files were:\n%%\n%% float.dtx (with options:
`package')\n%% \n%% IMPORTANT NOTICE:\n%% This file is a stri"..., n=5874)
at lyxstring.C:418
418 rep = new Srep(min(strlen(s), n), s);
(gdb) bt
#0 0x8132c15 in lyxstring::lyxstring (this=0xbfbfb4ac,
s=0x8384000 "%%\n%% This is file `float.sty',\n%% generated with the docstrip
utility.\n%%\n%% The original source files were:\n%%\n%% float.dtx (with options:
`package')\n%% \n%% IMPORTANT NOTICE:\n%% This file is a stri"..., n=5874)
at lyxstring.C:418
#1 0x813512b in lyx::sum (
file=0x8315380 "/usr/local/share/texmf/tex/latex/misc/float.sty")
at lyxsum.C:131
#2 0x8055612 in DepTable::insert (this=0xbfbfc0e0, fi=@0xbfbfb780, upd=true,
one=0, two=0) at DepTable.C:40
#3 0x805b2ab in LaTeX::deplog (this=0xbfbfc15c, head=@0xbfbfc0e0)
at LaTeX.C:668
#4 0x8058a30 in LaTeX::run (this=0xbfbfc15c, terr=@0xbfbfc17c,
minib=0x81f3580) at LaTeX.C:215
#5 0x807435c in Buffer::runLaTeX (this=0x8234600) at buffer.C:3273
#6 0x808fbaf in MenuRunLaTeX (buffer=0x8234600) at lyx_cb.C:322
#7 0x80a7148 in LyXFunc::Dispatch (this=0x81f6200, ac=9,
do_not_use_this_arg=0x0) at lyxfunc.C:778
#8 0x80f4f1a in Toolbar::ToolbarCB (ob=0x81f2900, ac=9) at toolbar.C:208
#9 0x80f4f80 in C_Toolbar_ToolbarCB (ob=0x81f2900, data=9) at toolbar.C:216
#10 0x281e1168 in fl_object_qread () from /usr/X11R6/lib/libxforms.so.0
#11 0x281f85bf in fl_check_forms () from /usr/X11R6/lib/libxforms.so.0
#12 0x809c799 in LyXGUI::runTime (this=0x81cc710) at lyx_gui.C:595
#13 0x809d8a9 in LyX::LyX (this=0xbfbfd69c, argc=0xbfbfd6c4, argv=0xbfbfd6e8)
at ../src/lyx_main.C:158
#14 0x80ba4cc in main (argc=1, argv=0xbfbfd6e8) at ../src/main.C:75
(gdb) cont
Continuing.
lyx: SIGSEGV signal caught
Sorry, you have found a bug in LyX. If possible, please read 'Known bugs'
under the Help menu and then send us a full bug report. Thanks!
Bye.
Program received signal SIGABRT, Aborted.
0x2837bae8 in kill () from /usr/lib/libc.so.3
(gdb) cont
Continuing.
Program terminated with signal SIGABRT, Aborted.
The program no longer exists.
(gdb) quit
---8<---
I found that the problem is not exclusive to my thesis. The same bug
raised with other large document (the LyX reference manual).
--
Carlos A. M. dos Santos
Federal University of Pelotas Meteorological Research Center
Av. Ildefonso Simoes Lopes 2791 Pelotas, RS, Brasil, CEP 96060-290
WWW: http://www.cpmet.ufpel.tche.br RENPAC (X.25): 153231641
Phone: +55 53 277-6767 FAX: +55 53 277-6722