[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lyx-devel
Subject:    LyX 1.1.6fix4 crash on Solaris 8 sparc
From:       Jenny Holmberg <jenny-h () algonet ! se>
Date:       2002-01-31 17:25:34
[Download RAW message or body]


LyX on my sparc running Solaris 8 crashes when I try to load an
existing document or create a new one. The format of the file I'm
trying to read makes no difference. I've checked both bugzilla.lyx.org
and the mailinglist archive without finding any reference to this.

System:
gruk:~$ uname -a
SunOS gruk 5.8 Generic_108528-06 sun4u sparc SUNW,Sun-Blade-100
gruk:~$ gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/specs
gcc version 2.95.3 20010315 (release)

Backtrace from GDB:

gruk:/usr/local/src/lyx-1.1.6fix4$ gdb src/lyx
GNU gdb 5.0
Copyright 2000 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 "sparc-sun-solaris2.8"...
(gdb) run
Starting program: /usr/local/src/lyx-1.1.6fix4/src/lyx 
BadMatch (invalid parameter attributes)

Program received signal SIGABRT, Aborted.
0xfef1b638 in _libc_kill () from /usr/lib/libc.so.1
(gdb) bt
#0  0xfef1b638 in _libc_kill () from /usr/lib/libc.so.1
#1  0xfeeb5644 in abort () from /usr/lib/libc.so.1
#2  0x1f96ec in lyx::atoi (nstr=@0x2ae330) at abort.C:9
(gdb) info locals
No symbol table info available.
(gdb) up
#1  0xfeeb5644 in abort () from /usr/lib/libc.so.1
(gdb) info locals
No symbol table info available.
(gdb) up         
#2  0x1f96ec in lyx::atoi (nstr=@0x2ae330) at abort.C:9
9               ::abort();
(gdb) up
Initial frame selected; you cannot go up.
(gdb) info locals
No locals.
(gdb) bt
#0  0xfef1b638 in _libc_kill () from /usr/lib/libc.so.1
#1  0xfeeb5644 in abort () from /usr/lib/libc.so.1
#2  0x1f96ec in lyx::atoi (nstr=@0x2ae330) at abort.C:9

I've also tried stepping through the program, which has given somewhat
more info:


(gdb) 
BufferStorage::newBuffer (this=0x2ae384, s=@0xffbef170, ronly=false)
    at support/DebugStream.h:141
141             std::ostream & operator[](Debug::type t) {
(gdb) 
133                     if (dt & t) return *this;
(gdb) 
76                                  << container.size() << endl;
(gdb) 
106         ostream& operator<<(__omanip func) { return (*func)(*this); }
(gdb) 
325           _M_insert_aux(end(), __x);
(gdb) 
78              return tmpbuf;
(gdb) 
BufferList::newFile (this=0x315d20, name=@0xffbef170, tname={
      static npos = 4294967295, static nilRep = {len = 0, res = 0, ref = 1379, 
        selfish = false}, dat = 0x29f09c ""}, isNamed=false)
    at bufferlist.C:436
436             if (tname.empty()) {
(gdb) 
437                     tname = LibFileSearch("templates", "defaults.lyx");
(gdb) 
439             if (!tname.empty() && IsLyXFilename(tname)) {
(gdb) 
455                     b->paragraph = new LyXParagraph;
(gdb) 
458             if (!lyxrc.new_ask_filename && !isNamed) {
(gdb) 
460                     b->setFileName(name);
(gdb) 
463             b->setReadonly(false);
(gdb) 
BadMatch (invalid parameter attributes)

Program received signal SIGABRT, Aborted.
0xfef1b638 in _libc_kill () from /usr/lib/libc.so.1

My entire source tree, core file and executable is available via http
from <http://gruk.algonet.se/lyx-1.1.6fix4/>, if it could be of any
assistance. I've also reproduced the problem on a cow-orkers
workstation, with the same architecture, OS and gcc version, and on
this workstation with gcc v 3.0.2. I have not encountered this problem
on NetBSD, which is my other OS of choice.


-- 
Jenny With the Axe, and the Temper   http://www.algonet.se/~jenny-h/
#include <std_disclaimer.h>
"Rats cry when they hear about my life."

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic