From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vincent Lefevre Newsgroups: gmane.emacs.bugs Subject: bug#8705: 23.3; Emacs occasionally crashes (segfault) just after starting it Date: Fri, 20 May 2011 13:16:01 +0200 Message-ID: <20110520111601.GH1581@prunille.vinc17.org> References: <87sjs9ycor.fsf@ypig.lip.ens-lyon.fr> <83sjs9fye5.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1305890231 2159 80.91.229.12 (20 May 2011 11:17:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 20 May 2011 11:17:11 +0000 (UTC) Cc: 8705@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 20 13:17:07 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 1QNNhb-0000kH-2d for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 May 2011 13:17:07 +0200 Original-Received: from localhost ([::1]:35190 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QNNha-0008AG-IL for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 May 2011 07:17:06 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:55827) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QNNhX-00089c-5G for bug-gnu-emacs@gnu.org; Fri, 20 May 2011 07:17:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QNNhW-0007Q1-5B for bug-gnu-emacs@gnu.org; Fri, 20 May 2011 07:17:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52059) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QNNhW-0007Pt-3M for bug-gnu-emacs@gnu.org; Fri, 20 May 2011 07:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QNNhV-0004iH-NQ; Fri, 20 May 2011 07:17:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Vincent Lefevre 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:17:01 +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.130589016918050 (code B ref 8705); Fri, 20 May 2011 11:17:01 +0000 Original-Received: (at 8705) by debbugs.gnu.org; 20 May 2011 11:16:09 +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 1QNNge-0004h4-Qm for submit@debbugs.gnu.org; Fri, 20 May 2011 07:16:09 -0400 Original-Received: from vinc17.pck.nerim.net ([213.41.242.187] helo=smtp-prunille.vinc17.net) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QNNgd-0004gq-JM for 8705@debbugs.gnu.org; Fri, 20 May 2011 07:16:08 -0400 Original-Received: by prunille.vinc17.org (Postfix, from userid 501) id BEA836094D15; Fri, 20 May 2011 13:16:01 +0200 (CEST) Content-Disposition: inline In-Reply-To: <83sjs9fye5.fsf@gnu.org> X-Mailer-Info: http://www.vinc17.net/mutt/ User-Agent: Mutt/1.5.21-6171-vl-r42848 (2011-03-30) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 20 May 2011 07:17:01 -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:46606 Archived-At: 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. Unfortunately, one cannot use valgrind on Emacs. > In any case, backtraces from optimized programs are unreliable. > Please try rebuilding Emacs with -O0 in CFLAGS, and if you can > reproduce these crashes in the unoptimized build, follow up here with > the backtrace. 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. > > #22 0x00007fa7e49634c1 in gtk_main_iteration () > > from /usr/lib/libgtk-x11-2.0.so.0 > > #23 0x00000000004aa33c in ?? () > > #24 0x00000000004ef993 in ?? () > > [...] >=20 > 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... --=20 Vincent Lef=E8vre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / Ar=E9naire project (LIP, ENS-Lyon)