*BSD News Article 58328


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!gatech!news.mathworks.com!fu-berlin.de!zrz.TU-Berlin.DE!cs.tu-berlin.de!zib-berlin.de!news.tu-chemnitz.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Emacs 19.29 (2.1 package) dumps core
Date: 7 Jan 1996 00:47:38 GMT
Organization: Private BSD site, Dresden
Lines: 23
Message-ID: <4cn57a$h0e@uriah.heep.sax.de>
References: <4cmk72$7bf@pilhuhn.pilhuhn.de>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.3

pmh@pilhuhn.de (Patrick M.Hausen) writes:

> Today I found that setting $ENABLE_STARTUP_LOCALE and $LANG causes
> emacs to dump core with SIGSEV.

..as well as xterm.

> I "solved" the problem for me by using Xemacs instead ;-)
> Any ideas, what's wrong?

This was an internationalization problem.  The standards say that any
application can assume that it's starting in the ``C'' locale.
``ENABLE_STARTUP_LOCALE'' violated this.

In FreeBSD-2.2-current, Andrey Chernov has been correcting this by
explicitly calling setlocale() in all programs that require it.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)