From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!not-for-mail
From: Paul Eggert <eggert@cs.ucla.edu>
Newsgroups: gmane.emacs.bugs
Subject: bug#16901: 24.3.50; emacs_backtrace.txt
Date: Fri, 28 Feb 2014 13:12:37 -0800
Organization: UCLA Computer Science Department
Message-ID: <5310FBC5.7040501@cs.ucla.edu>
References: <5d9f431d-d0c3-4cfa-b9e5-07cdf6718d5a@default>	<CAAeL0SRkM1gmNDJXkkrgZTCVohhGZeGgkyNDTojFx1GfzvM4RA@mail.gmail.com>	<83mwhbwm9j.fsf@gnu.org>	<53107F45.3060502@yandex.ru>
	<83d2i7wbyc.fsf@gnu.org> <5310AEEE.4070005@yandex.ru>
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: ger.gmane.org 1393621993 17961 80.91.229.3 (28 Feb 2014 21:13:13 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Fri, 28 Feb 2014 21:13:13 +0000 (UTC)
Cc: 16901@debbugs.gnu.org
To: Dmitry Antipov <dmantipov@yandex.ru>
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 28 22:13:20 2014
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>
Envelope-to: geb-bug-gnu-emacs@m.gmane.org
Original-Received: from lists.gnu.org ([208.118.235.17])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>)
	id 1WJUkC-0000kL-8P
	for geb-bug-gnu-emacs@m.gmane.org; Fri, 28 Feb 2014 22:13:20 +0100
Original-Received: from localhost ([::1]:53287 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>)
	id 1WJUkB-000230-ID
	for geb-bug-gnu-emacs@m.gmane.org; Fri, 28 Feb 2014 16:13:19 -0500
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52135)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1WJUk1-0001DD-Vv
	for bug-gnu-emacs@gnu.org; Fri, 28 Feb 2014 16:13:17 -0500
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1WJUju-0005lQ-MP
	for bug-gnu-emacs@gnu.org; Fri, 28 Feb 2014 16:13:09 -0500
Original-Received: from debbugs.gnu.org ([140.186.70.43]:43834)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1WJUju-0005lJ-JJ
	for bug-gnu-emacs@gnu.org; Fri, 28 Feb 2014 16:13:02 -0500
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1WJUjt-0005Rq-TL
	for bug-gnu-emacs@gnu.org; Fri, 28 Feb 2014 16:13:02 -0500
X-Loop: help-debbugs@gnu.org
Resent-From: Paul Eggert <eggert@cs.ucla.edu>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Fri, 28 Feb 2014 21:13:01 +0000
Resent-Message-ID: <handler.16901.B16901.139362196520910@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 16901
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: moreinfo
Original-Received: via spool by 16901-submit@debbugs.gnu.org id=B16901.139362196520910
	(code B ref 16901); Fri, 28 Feb 2014 21:13:01 +0000
Original-Received: (at 16901) by debbugs.gnu.org; 28 Feb 2014 21:12:45 +0000
Original-Received: from localhost ([127.0.0.1]:45016 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1WJUjc-0005RC-OA
	for submit@debbugs.gnu.org; Fri, 28 Feb 2014 16:12:45 -0500
Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]:40287)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <eggert@cs.ucla.edu>) id 1WJUjZ-0005R1-Up
	for 16901@debbugs.gnu.org; Fri, 28 Feb 2014 16:12:42 -0500
Original-Received: from localhost (localhost.localdomain [127.0.0.1])
	by smtp.cs.ucla.edu (Postfix) with ESMTP id 000C639E8013;
	Fri, 28 Feb 2014 13:12:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu
Original-Received: from smtp.cs.ucla.edu ([127.0.0.1])
	by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 0G60m7eJxyj2; Fri, 28 Feb 2014 13:12:40 -0800 (PST)
Original-Received: from penguin.cs.ucla.edu (Penguin.CS.UCLA.EDU [131.179.64.200])
	by smtp.cs.ucla.edu (Postfix) with ESMTPSA id A699E39E8008;
	Fri, 28 Feb 2014 13:12:40 -0800 (PST)
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:24.0) Gecko/20100101 Thunderbird/24.3.0
In-Reply-To: <5310AEEE.4070005@yandex.ru>
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
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" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>,
	<mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-gnu-emacs>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
	<mailto:bug-gnu-emacs-request@gnu.org?subject=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:86417
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/86417>

On 02/28/2014 07:44 AM, Dmitry Antipov wrote:
> On GNU/Linux, valgrind makes great job in finding memory-related
> errors; if there are similar tools for other platforms, it would
> be nice to try. And what about using GCC ... sanitizers?

gcc -fsanitize=address should work on the trunk, if you configure with 
something like "./configure CFLAGS='-g3 -Og -fsanitize=address' 
CANNOT_DUMP=yes" (assuming recent-enough GCC).  Like valgrind, it 
doesn't work with a dumped Emacs.