From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!not-for-mail
From: Eli Zaretskii <eliz@gnu.org>
Newsgroups: gmane.emacs.bugs
Subject: bug#16901: 24.3.50; emacs_backtrace.txt
Date: Thu, 20 Mar 2014 20:31:37 +0200
Message-ID: <83lhw47md2.fsf@gnu.org>
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>
Reply-To: Eli Zaretskii <eliz@gnu.org>
NNTP-Posting-Host: plane.gmane.org
X-Trace: ger.gmane.org 1395340330 25770 80.91.229.3 (20 Mar 2014 18:32:10 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Thu, 20 Mar 2014 18:32:10 +0000 (UTC)
Cc: 16901@debbugs.gnu.org, lekktu@gmail.com
To: Dmitry Antipov <dmantipov@yandex.ru>
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Mar 20 19:32: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 1WQhlI-0003Dy-9o
	for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Mar 2014 19:32:16 +0100
Original-Received: from localhost ([::1]:48710 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 1WQhlH-0006ak-Un
	for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Mar 2014 14:32:15 -0400
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50753)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1WQhl9-0006aS-GJ
	for bug-gnu-emacs@gnu.org; Thu, 20 Mar 2014 14:32:12 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1WQhl4-0003Cm-CH
	for bug-gnu-emacs@gnu.org; Thu, 20 Mar 2014 14:32:07 -0400
Original-Received: from debbugs.gnu.org ([140.186.70.43]:41458)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1WQhl4-0003Ci-8T
	for bug-gnu-emacs@gnu.org; Thu, 20 Mar 2014 14:32:02 -0400
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1WQhl3-0000Ao-UA
	for bug-gnu-emacs@gnu.org; Thu, 20 Mar 2014 14:32:02 -0400
X-Loop: help-debbugs@gnu.org
Resent-From: Eli Zaretskii <eliz@gnu.org>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Thu, 20 Mar 2014 18:32:01 +0000
Resent-Message-ID: <handler.16901.B16901.1395340288566@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.1395340288566
	(code B ref 16901); Thu, 20 Mar 2014 18:32:01 +0000
Original-Received: (at 16901) by debbugs.gnu.org; 20 Mar 2014 18:31:28 +0000
Original-Received: from localhost ([127.0.0.1]:42640 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1WQhkW-000093-4k
	for submit@debbugs.gnu.org; Thu, 20 Mar 2014 14:31:28 -0400
Original-Received: from mtaout23.012.net.il ([80.179.55.175]:33170)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <eliz@gnu.org>) id 1WQhkS-00008s-Qy
	for 16901@debbugs.gnu.org; Thu, 20 Mar 2014 14:31:26 -0400
Original-Received: from conversion-daemon.a-mtaout23.012.net.il by
	a-mtaout23.012.net.il (HyperSendmail v2007.08) id
	<0N2Q00L00ZE2V100@a-mtaout23.012.net.il> for 16901@debbugs.gnu.org;
	Thu, 20 Mar 2014 20:31:23 +0200 (IST)
Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il
	(HyperSendmail v2007.08) with ESMTPA id
	<0N2Q00LYNZGBSO50@a-mtaout23.012.net.il>;
	Thu, 20 Mar 2014 20:31:23 +0200 (IST)
In-reply-to: <5310AEEE.4070005@yandex.ru>
X-012-Sender: halo1@inter.net.il
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:87060
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/87060>

> Date: Fri, 28 Feb 2014 19:44:46 +0400
> From: Dmitry Antipov <dmantipov@yandex.ru>
> Cc: 16901@debbugs.gnu.org, lekktu@gmail.com,
>  Emacs development discussions <emacs-devel@gnu.org>
> 
> Now I have two crash reports to make me worry about GC. Both are
> irregular and looks hard to reproduce:
> 
>   - this bug (crash in compact_small_strings, MS-Windows only (?))
> 
>   - http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16817#11 - crash
>     marking C stack, OSX-only (?)
> 
> These crashes may be originated by the same bug (probably irregular
> heap corruption). It's known that GC-related crashes may be caused
> by freeing fonts during gc_sweep; this is
> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16069, but it should
> not affect MS-Windows and OSX (and hopefully I'll fix it soon).
> 
> 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.

I've run Emacs on Windows under Dr. Memory (http://www.drmemory.org/),
but saw nothing appropriate.  However, there's no reproducer, so it's
hard to know if I did what was needed.  Perhaps you could come up with
a function to execute compact_small_strings, then I'd run that and see
what I get.