NetBSD Problem Report #50894
From www@NetBSD.org Fri Mar 4 18:06:36 2016
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 2C5667ABF5
for <gnats-bugs@gnats.NetBSD.org>; Fri, 4 Mar 2016 18:06:36 +0000 (UTC)
Message-Id: <20160304180635.483F17ACD3@mollari.NetBSD.org>
Date: Fri, 4 Mar 2016 18:06:35 +0000 (UTC)
From: jovan.trujillo2@gmail.com
Reply-To: jovan.trujillo2@gmail.com
To: gnats-bugs@NetBSD.org
Subject: emacs 24.5 core dumps on startup on NetBSD 7.0 i386 on VMWare
X-Send-Pr-Version: www-1.0
>Number: 50894
>Category: pkg
>Synopsis: emacs 24.5 core dumps on startup on NetBSD 7.0 i386 on VMWare
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Mar 04 18:10:00 +0000 2016
>Closed-Date: Tue Feb 20 10:11:32 +0000 2018
>Last-Modified: Tue Feb 20 10:11:32 +0000 2018
>Originator: Jovan Trujillo
>Release: 7.0
>Organization:
Arizona State University
>Environment:
NetBSD tima.localdomain 7.0 NetBSD 7.0 (GENERIC.201509250726Z) i386
>Description:
I installed emacs-24.5 through pkgin from main NetBSD ftp server. I try to run it from both the terminal and xterm and it immediately core dumps with a memory fault. I'm running NetBSD on VMWare Player 6.0.7 on Windows 7 with 1 GB of virtual RAM.
>How-To-Repeat:
Take a Windows 7 PC. Install VMWare Player 6.0.7. Install NetBSD 7.0 i386 into virtual machine. Setup pkgin to download from ftp.netbsd.org. Install emacs-24.5. Run "emacs" and see Memory Fault/Core Dump happen.
>Fix:
>Release-Note:
>Audit-Trail:
From: Joerg Sonnenberger <joerg@britannica.bec.de>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/50894: emacs 24.5 core dumps on startup on NetBSD 7.0 i386
on VMWare
Date: Fri, 4 Mar 2016 19:51:13 +0100
On Fri, Mar 04, 2016 at 06:10:00PM +0000, jovan.trujillo2@gmail.com wrote:
> I installed emacs-24.5 through pkgin from main NetBSD ftp server. I
> try to run it from both the terminal and xterm and it immediately core
> dumps with a memory fault. I'm running NetBSD on VMWare Player 6.0.7
> on Windows 7 with 1 GB of virtual RAM.
This is a known bug of Emacs when build on either a 64bit host or Xen.
Since the top 1GB of the address space is no longer reserved, things get
loaded at those positions, but after the coredumping / unexec procedure,
a startup on "real" non-Xen i386 no longer works since those areas are
no reserved. No fix is currently known.
Joerg
From: Jovan Trujillo <jovan.trujillo2@gmail.com>
To: gnats-bugs@netbsd.org
Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org
Subject: Re: pkg/50894: emacs 24.5 core dumps on startup on NetBSD 7.0 i386 on VMWare
Date: Fri, 4 Mar 2016 14:27:45 -0700
I fixed it by building emacs through pkg_src on my local VMWare instance.
On Fri, Mar 4, 2016 at 11:55 AM, Joerg Sonnenberger
<joerg@britannica.bec.de> wrote:
> The following reply was made to PR pkg/50894; it has been noted by GNATS.
>
> From: Joerg Sonnenberger <joerg@britannica.bec.de>
> To: gnats-bugs@NetBSD.org
> Cc:
> Subject: Re: pkg/50894: emacs 24.5 core dumps on startup on NetBSD 7.0 i386
> on VMWare
> Date: Fri, 4 Mar 2016 19:51:13 +0100
>
> On Fri, Mar 04, 2016 at 06:10:00PM +0000, jovan.trujillo2@gmail.com wrote:
> > I installed emacs-24.5 through pkgin from main NetBSD ftp server. I
> > try to run it from both the terminal and xterm and it immediately core
> > dumps with a memory fault. I'm running NetBSD on VMWare Player 6.0.7
> > on Windows 7 with 1 GB of virtual RAM.
>
> This is a known bug of Emacs when build on either a 64bit host or Xen.
> Since the top 1GB of the address space is no longer reserved, things get
> loaded at those positions, but after the coredumping / unexec procedure,
> a startup on "real" non-Xen i386 no longer works since those areas are
> no reserved. No fix is currently known.
>
> Joerg
>
State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Tue, 20 Feb 2018 10:11:32 +0000
State-Changed-Why:
We eventually figured out what was causing this (it was an incompatibility
between emacs and some startup code in libc) and recent emacs packages no
longer have this problem.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.