Subject: Re: pkg/28864: Emacs 21.3nb6 dumps core on exit
To: Admin Root <root@www.napolinet.dk>
From: Quentin Garnier <cube@cubidou.net>
List: pkgsrc-bugs
Date: 01/08/2005 17:04:16
--yrEcvySKR+fOA8iz
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jan 04, 2005 at 06:18:00PM +0000, Admin Root wrote:
> >Number:         28864
> >Category:       pkg
> >Synopsis:       Emacs 21.3nb6 dumps core on exit
> >Confidential:   no
> >Severity:       serious
> >Priority:       high
> >Responsible:    pkg-manager
> >State:          open
> >Class:          sw-bug
> >Submitter-Id:   net
> >Arrival-Date:   Tue Jan 04 18:18:00 +0000 2005
> >Originator:     Admin Root
> >Release:        NetBSD 1.6
> >Organization:
> napolinet.dk
> >Environment:
> System: NetBSD www.napolinet.dk 1.6 NetBSD 1.6 (GENERIC) #0: Sun Sep 8 19=
:43:40 UTC 2002 autobuild@tgm.daemon.org:/autobuild/i386/OBJ/autobuild/src/=
sys/arch/i386/compile/GENERIC i386
> Architecture: i386
> Machine: i386
> >Description:
> Emacs 21.3nb6 dumps core on exit.
>=20
> I don't believe this happened with 21.3nb5. The problem came a sup of pkg=
src.
>=20
> Excerpt from the build of emacs-21.3nb6=20
>=20
>=20
> Wrote /usr/pkgsrc/editors/emacs/work/emacs-21.3/lib-src/fns-21.3.1.el
> Dumping under names emacs and emacs-21.3.1
> 715536 pure bytes used
> ./emacs -q -batch -f list-load-path-shadows
> Fatal error (6).gmake[1]: *** [emacs] Abort trap (core dumped)
> gmake[1]: Leaving directory `/usr/pkgsrc/editors/emacs/work/emacs-21.3/sr=
c'
> (export PARALLEL; PARALLEL=3D0; cd leim; /usr/pkg/bin/gmake all  \
>   CC=3D'cc' CFLAGS=3D'-O2 -I/usr/pkg/include -I/usr/X11R6/include -I/usr/=
include' CPPFLAGS=3D'-I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/i=
nclude -L/usr/pkg/lib -L/usr/local/lib    -I/usr/pkg/include -I/usr/X11R6/i=
nclude -I/usr/include' \
>   LDFLAGS=3D'-L/usr/pkg/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -Wl,-R/=
usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R6/lib' MAKE=3D'/usr/pkg/bi=
n/gmake')

As it dumps core, could you try running gdb with it?

cd /usr/pkgsrc/editors/emacs/work/emacs-21.3/src
gdb -c emacs.core emacs
gdb> bt

And tell me the output.

--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"Commala-come-five! / Even when the shadows rise!
To see the world and walk the world / Makes ya glad to be alive."
Susannah's Song, The Dark Tower VI, Stephen King, 2004.

--yrEcvySKR+fOA8iz
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)

iQEVAwUBQeAEgNgoQloHrPnoAQKwnAgAsY/zD2FMX5jMzbsbXQ59W/88VXmB1QYz
xW4VEdCaX+6qee02KO/P3K7gBJecvroCXBUHov01AN7AElvyly0RQy2WxVikM8o4
+jl62oUR5LuIqevtePrtc+Vk8+LmCZRTYLPEBWouzUTJBb7mMI5RRpGSsj12eHwo
DWzmp57Lwz9KfhYZR3VojpdKTdkEHMvEMwUfcoJEOQ3v34OmE6aAFUrz7aG8ZvC8
1a6jpnFEObLGG8gWPG4HzBCIzj/ZOX2CnbNdR2N4q1YlllOifP5rVOrnryYD2vcL
XFkgKjpfsK/pkuW6YyBYFHN6tOMx4S5vhrnPkJzVfr1ozbtG1aUOLQ==
=KwkX
-----END PGP SIGNATURE-----

--yrEcvySKR+fOA8iz--