[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: user/3800: nvi core dumps trying to recover certain files
- To: bugs@cvs.openbsd.org
- Subject: Re: user/3800: nvi core dumps trying to recover certain files
- From: Otto Moerbeek <otto@drijf.net>
- Date: Thu, 27 May 2004 13:05:02 -0600 (MDT)
The following reply was made to PR user/3800; it has been noted by GNATS.
From: Otto Moerbeek <otto@drijf.net>
To: ray@cyth.net
Cc: gnats@openbsd.org
Subject: Re: user/3800: nvi core dumps trying to recover certain files
Date: Thu, 27 May 2004 20:45:01 +0200 (CEST)
Here's a backtrace with debugging symbols:
$ gdb ./vi
GNU gdb 6.1
Copyright 2004 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 "powerpc-unknown-openbsd3.5"...
(gdb) run -r 2004-05-20-hw
Starting program: /usr/obj/usr.bin/vi/build/vi -r 2004-05-20-hw
Program received signal SIGSEGV, Segmentation fault.
0x27ed66e8 in __rec_search () from /usr/lib/libc.so.31.0
(gdb) where
#0 0x27ed66e8 in __rec_search () from /usr/lib/libc.so.31.0
#1 0x27ed4cac in __rec_get () from /usr/lib/libc.so.31.0
#2 0x01821950 in db_get (sp=0x26f97000, lno=1, flags=0, pp=0x0,
lenp=0xffffadb8) at /usr/src/usr.bin/vi/build/../common/line.c:157
#3 0x0181e86c in file_cinit (sp=<incomplete type>)
at /usr/src/usr.bin/vi/build/../common/exf.c:596
#4 0x0181e32c in file_init (sp=<incomplete type>, frp=<incomplete type>,
rcv_name=0x2396c113 "/var/tmp/vi.recover/vi.fMEKMr2526", flags=0)
at /usr/src/usr.bin/vi/build/../common/exf.c:423
#5 0x0182a6a8 in rcv_read (sp=<incomplete type>, frp=<incomplete type>)
at /usr/src/usr.bin/vi/build/../common/recover.c:754
#6 0x0181dd48 in file_init (sp=<incomplete type>, frp=<incomplete type>,
rcv_name=0x0, flags=0) at
/usr/src/usr.bin/vi/build/../common/exf.c:153
#7 0x01823868 in editor (gp=0x2514c000, argc=3, argv=0xffffc6c4)
at /usr/src/usr.bin/vi/build/../common/main.c:378
#8 0x01802c40 in main (argc=3, argv=0xffffc6bc)
at /usr/src/usr.bin/vi/build/../cl/cl_main.c:151
(gdb)
So this is a dup of PR 3769.
-Otto