Subject: pkg/31866: Emacs dumps core on Solaris 11
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <mikeowens@gmail.com>
List: pkgsrc-bugs
Date: 10/18/2005 23:12:00
>Number:         31866
>Category:       pkg
>Synopsis:       Emacs dumps core on Solaris 11
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 18 23:12:00 +0000 2005
>Originator:     Mike Owens
>Release:        pkgsrc 2005-Q2 and Q3
>Organization:
>Environment:
SunOS solaris 5.11 snv_22 i86pc i386 i86pc
>Description:
Both the emacs and emacs-nox create versions of emacs which dump core on Solaris 11. I have verified this on two systems using two different versions of pkgsrc.
>How-To-Repeat:
bmake
bmake install

Install does not complete as part of the process runs emacs for installation, resulting in a core dump that aborts the install process.

When using emacs (with X) the core dump does not occur until emacs is closed.

Both fail on the exact place in installation:

Wrote /var/tmp/data/pkgsrc/editors/emacs-nox11/work/emacs-21.4/lib-src/blessmail
Fatal error (11).gmake[1]: *** [blessmail] Segmentation Fault (core dumped)
gmake[1]: *** Deleting file `blessmail'
gmake[1]: Leaving directory `/var/tmp/data/pkgsrc/editors/emacs-nox11/work/emacs-21.4/lib-src'
gmake: *** [blessmail] Error 2
*** Error code 2

Stop.
bmake: stopped in /var/tmp/data/pkgsrc/editors/emacs-nox11
*** Error code 1

>Fix: