From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#8705: 23.3; Emacs occasionally crashes (segfault) just after starting it Date: Fri, 20 May 2011 14:38:58 +0300 Message-ID: <83r57tfvot.fsf@gnu.org> References: <87sjs9ycor.fsf@ypig.lip.ens-lyon.fr> <83sjs9fye5.fsf@gnu.org> <20110520111601.GH1581@prunille.vinc17.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1305891614 10162 80.91.229.12 (20 May 2011 11:40:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 20 May 2011 11:40:14 +0000 (UTC) Cc: 8705@debbugs.gnu.org To: Vincent Lefevre Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 20 13:40:10 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QNO3s-0006GZ-Lx for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 May 2011 13:40:08 +0200 Original-Received: from localhost ([::1]:57973 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QNO3s-00058S-6c for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 May 2011 07:40:08 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:55516) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QNO3p-00056x-5x for bug-gnu-emacs@gnu.org; Fri, 20 May 2011 07:40:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QNO3n-0001yO-Tm for bug-gnu-emacs@gnu.org; Fri, 20 May 2011 07:40:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52429) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QNO3n-0001yI-Qw for bug-gnu-emacs@gnu.org; Fri, 20 May 2011 07:40:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QNO3m-00060t-KF; Fri, 20 May 2011 07:40:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 May 2011 11:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8705 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8705-submit@debbugs.gnu.org id=B8705.130589154723046 (code B ref 8705); Fri, 20 May 2011 11:40:02 +0000 Original-Received: (at 8705) by debbugs.gnu.org; 20 May 2011 11:39:07 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QNO2s-0005ze-76 for submit@debbugs.gnu.org; Fri, 20 May 2011 07:39:07 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QNO2p-0005z8-Ks for 8705@debbugs.gnu.org; Fri, 20 May 2011 07:39:04 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LLH00E00SCGP200@a-mtaout20.012.net.il> for 8705@debbugs.gnu.org; Fri, 20 May 2011 14:38:56 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([77.124.254.13]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LLH00BN6SCUSNQ0@a-mtaout20.012.net.il>; Fri, 20 May 2011 14:38:55 +0300 (IDT) In-reply-to: <20110520111601.GH1581@prunille.vinc17.org> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 20 May 2011 07:40:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:46607 Archived-At: > Date: Fri, 20 May 2011 13:16:01 +0200 > From: Vincent Lefevre > Cc: 8705@debbugs.gnu.org > > On 2011-05-20 13:40:34 +0300, Eli Zaretskii wrote: > > All of your reported crashes seem to be in a call to `getenv', which > > is a library function, called by GTK routines deep in the GTK code. > > It is hard to imagine that they could be Emacs problems, especially > > since you see them since Emacs 22. > > Unless Emacs has corrupted the memory earlier. That's definitely a possibility. However, it is strange that only you see these problems for several versions. If Emacs corrupts memory so early into the session, many other users would be affected. > I've rebuilt Emacs with -ggdb -O0. I now need to wait for another > crash, hoping that the -O0 won't make the bug disappear. Thanks. > > Could you please show the backtrace until it reaches Emacs code? > > It was meaningless: I got nothing until __libc_start_main. > With the rebuild (I also installed the -dbg versions of the > libraries, when available in Debian), I should have more > information for the next crash... Thanks again.