From xemacs-m  Thu Sep 25 23:49:21 1997
Received: from altair.xemacs.org (steve@xemacs.miranova.com [206.190.83.19])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id XAA15736
	for <xemacs-beta@xemacs.org>; Thu, 25 Sep 1997 23:49:20 -0500 (CDT)
Received: (from steve@localhost)
	by altair.xemacs.org (8.8.7/8.8.7) id VAA05071;
	Thu, 25 Sep 1997 21:55:26 -0700
Mail-Copies-To: never
To: xemacs-beta@xemacs.org
Subject: Re: inexplicable crash
References: <87oh5ghosy.fsf@bittersweet.inetarena.com>
X-Face: (:YAD@JS'&Kz'M}n7eX7gEvPR6U1mJ-kt;asEc2qAv;h{Yw7ckz<7+X_SYeTNAaPui:e~x$
 ,A=gkt*>UPL/}\a/#C~v2%ETiAY_sx;xve0yL??JWTtX_-NUzXyP38UdW#cmN1\4(X!c3m#%IbtB-3
 Z-!xpZi!`E.s{(;aP=b11"!3wQu]1j@^V|;n=B|{l<bZV1.AI`zWV%kPCnUhcgEe\(}/_kNd6,*3ZJ
 Q3o<YQ3^u;7jS=:p0--u3msQO
X-Attribution: sb
From: SL Baur <steve@xemacs.org>
In-Reply-To: karlheg@inetarena.com's message of "25 Sep 1997 18:00:29 -0700"
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
Date: 25 Sep 1997 21:55:25 -0700
Message-ID: <m2202cptc2.fsf@altair.xemacs.org>
Lines: 51
X-Mailer: Quassia Gnus v0.10/XEmacs 20.3(beta24) - "Ljubljana"

Karl M Hegbloom <karlheg@inetarena.com> writes:

>  XEmacs just crashed and dumped core on me.  It left very little
>  information...  Is this due to compiling without debugging enabled?

I don't think so.  There are many things that can go wrong between an
error and the reporting of it.

>  It seems like it usually gives more than this even then though.

>  As near as I can recall, I was using a shell buffer, and C-x o'd to
>  jump over the modeline to a dired buffer, where I pushed S-M-<.
>  XEmacs bombed then.  Wierd.

<OFFTOPIC>
>  I don't know what `find_solib' is.

Neither do I, but I can reproduce it.

It has got to be problem with libc6 or with using too old of a GDB.  I 
haven't updated my gdb in ages:
$ ll =gdb
-rwxr-xr-x   1 root     root      1001020 Jan  6  1996 /usr/bin/gdb
$ gdb --version
GDB 4.14 (i486-linux), Copyright 1995 Free Software Foundation, Inc.
$ cat makecore.c
main()
{
	kill(getpid(), 11);
}
$ gcc -o makecore makecore.c
$ ./makecore
zsh: 5023 segmentation fault (core dumped)  ./makecore
$ gdb ./makecore ./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.14 (i486-linux), Copyright 1995 Free Software Foundation, Inc...
(no debugging symbols found)...
Core was generated by `./makecore'.
Program terminated with signal 11, Segmentation fault.
find_solib: Can't read pathname for load map: I/O error

#0  0x40029451 in __environ ()
(gdb) 


Bug, out of date GDB ...

You tell me and we'll both know :-)
</OFFTOPIC>

