From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim Cross Newsgroups: gmane.emacs.devel Subject: Emacs crashes, smtpmail-send-it and gdb Date: Wed, 1 Jun 2011 15:58:02 +1000 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=20cf30549ab91e968c04a4a03423 X-Trace: dough.gmane.org 1306907910 29451 80.91.229.12 (1 Jun 2011 05:58:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 1 Jun 2011 05:58:30 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 01 07:58:26 2011 Return-path: Envelope-to: ged-emacs-devel@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 1QReRm-0002V8-A9 for ged-emacs-devel@m.gmane.org; Wed, 01 Jun 2011 07:58:26 +0200 Original-Received: from localhost ([::1]:51902 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QReRl-0001GG-Fd for ged-emacs-devel@m.gmane.org; Wed, 01 Jun 2011 01:58:25 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:35114) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QReRS-0001Fk-Nu for emacs-devel@gnu.org; Wed, 01 Jun 2011 01:58:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QReRQ-0007FF-GR for emacs-devel@gnu.org; Wed, 01 Jun 2011 01:58:05 -0400 Original-Received: from mail-iw0-f169.google.com ([209.85.214.169]:54801) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QReRQ-00079O-2l for emacs-devel@gnu.org; Wed, 01 Jun 2011 01:58:04 -0400 Original-Received: by mail-iw0-f169.google.com with SMTP id 8so6839866iwg.0 for ; Tue, 31 May 2011 22:58:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=YD9Mt1ZpWxQgRyyhxBkvYuC74+qz8Ua5YyMyFb0ug+A=; b=wXwgjSrQsfNehV+3RJLPOiELCLO9hpnJ4MyKbOO9ct7lfYmEUnTxt3lFfFLlOJjVsN sKf+9cdRIpqfhWrFX/ze4YGtiCIQogzXEdkujRC/GDSz++etudOr+QUGYTZgl9nAqtCk KlHaaRtyQrxDM5tgTr15HwMfKXYSNt9PgpKPA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=xLPx21FvUSbb3Jio/GuznOz1pzOMhiaeoxc6YDW5C0TANPyjSjCtV1wM3sKubJZCWF s31E/q4+nYXyOX1pOb3wMmUXutGzApfEY7jDzile3qRUc9ipUlky+2LZnkC7zOLWlZea NkofBdndSecDLNGyVKTtE0dGgrFaOFR+3Z+rE= Original-Received: by 10.42.217.137 with SMTP id hm9mr12269547icb.196.1306907882984; Tue, 31 May 2011 22:58:02 -0700 (PDT) Original-Received: by 10.231.15.12 with HTTP; Tue, 31 May 2011 22:58:02 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.214.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:140013 Archived-At: --20cf30549ab91e968c04a4a03423 Content-Type: text/plain; charset=ISO-8859-1 Hi All, hoping someone can point me to a concise HOWTO on using gdb to debug emacs crashes. I've not needed to work at this level since the mid 90s and apart from having forgotten more than I remember, things have progressed somewhat. Like everyone else, I'm pressed for time and just want to try and narrow down the scope of my current issue enough to do a decent bug report. The Problem: Since upgrading to the latest BZR sources for emacs 24 on Monday, I've experienced multiple hard crashes when sending email. This has occured with boht VM and Mew. All I get is emacs suddenly crashing and a note on the console that says Fatal Error (6)Aborted This is the GTK+ version running under Linux (32 bit). The crashes occur when I send the mail message. Both mail clients use smtpmail-send-it to connect to a local smarthost for mail dispatching. The problem does not happen every time you send mail, but it is quite frequent. I've not yet been able to narrow down more precise information about what triggers the problem. Objective: Use GDB to try and get some clue as to where the problem is and hopefully allow me to identify a recipe that will reproduce the problem so that I can log a meaingful bug report that will allow someone more knowledge than me to reproduce the problem and fix it. What I'm hoping for is a web link or something that will let me get things setup fast. I'm assuming it may be necessary to rebuild emacs with appropriate debugging support, make some system changes to allow core file generation and run a couple of basic gdb commands that may create a meaningful trace or identify the section of code where the problem occurs. While it may seem otherwise, I don't think I'm completely useless here - Just out of touch (last time I did this, core files were the sort of thing that just got created when a program crashed and a common cause of filesystems running out of space@). All suggestions/pointers appreciated. thanks, Tim --20cf30549ab91e968c04a4a03423 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi All,

hoping someone can point me to a concise HOWTO o= n using gdb to debug emacs crashes. I've not needed to work at this lev= el since the mid 90s and apart from having forgotten more than I remember, = things have progressed somewhat. Like everyone else, I'm pressed for ti= me and just want to try and narrow down the scope of my current issue enoug= h to do a decent bug report.=A0

The Problem: Since upgrading to the latest BZR sources = for emacs 24 on Monday, I've experienced multiple hard crashes when sen= ding email. This has occured with boht VM and Mew. All I get is emacs sudde= nly crashing and a note on the console that says=A0

Fatal Error (6)Aborted

This is= the GTK+ version running under Linux (32 bit). The crashes occur when I se= nd the mail message. Both mail clients use smtpmail-send-it to connect to a= local smarthost for mail dispatching. The problem does not happen every ti= me you send mail, but it is quite frequent. I've not yet been able to n= arrow down more precise information about what triggers the problem.=A0

Objective: Use GDB to try and get some clue as to where= the problem is and hopefully allow me to identify a recipe that will repro= duce the problem so that I can log a meaingful bug report that will allow s= omeone more knowledge than me to reproduce the problem and fix it.=A0

What I'm hoping for is a web link or something that= will let me get things setup fast. I'm assuming it may be necessary to= rebuild emacs with appropriate debugging support, make some system changes= to allow core file generation and run a couple of basic gdb commands that = may create a meaningful trace or identify the section of code where the pro= blem occurs. While it may seem otherwise, I don't think I'm complet= ely useless here - Just out of touch (last time I did this, core files were= the sort of thing that just got created when a program crashed and a commo= n cause of filesystems running out of space@).=A0

All suggestions/pointers appreciated.

thanks,

Tim


<= /div>

--20cf30549ab91e968c04a4a03423--