From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Antipov Newsgroups: gmane.emacs.bugs Subject: bug#16901: 24.3.50; emacs_backtrace.txt Date: Fri, 28 Feb 2014 19:44:46 +0400 Message-ID: <5310AEEE.4070005__23953.2913700261$1393602326$gmane$org@yandex.ru> References: <5d9f431d-d0c3-4cfa-b9e5-07cdf6718d5a@default> <83mwhbwm9j.fsf@gnu.org> <53107F45.3060502@yandex.ru> <83d2i7wbyc.fsf@gnu.org> 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 1393602312 6012 80.91.229.3 (28 Feb 2014 15:45:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Feb 2014 15:45:12 +0000 (UTC) Cc: 16901@debbugs.gnu.org, lekktu@gmail.com, Emacs development discussions To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 28 16:45:20 2014 Return-path: 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 ) id 1WJPcm-0003N4-62 for geb-bug-gnu-emacs@m.gmane.org; Fri, 28 Feb 2014 16:45:20 +0100 Original-Received: from localhost ([::1]:51897 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJPcl-0004Nh-OP for geb-bug-gnu-emacs@m.gmane.org; Fri, 28 Feb 2014 10:45:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43130) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJPcc-0004Ek-K0 for bug-gnu-emacs@gnu.org; Fri, 28 Feb 2014 10:45:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WJPcV-0004aB-NJ for bug-gnu-emacs@gnu.org; Fri, 28 Feb 2014 10:45:10 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43587) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJPcV-0004a4-L2 for bug-gnu-emacs@gnu.org; Fri, 28 Feb 2014 10:45:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WJPcU-0003OR-NF for bug-gnu-emacs@gnu.org; Fri, 28 Feb 2014 10:45:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Antipov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 28 Feb 2014 15:45:02 +0000 Resent-Message-ID: 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.139360229513020 (code B ref 16901); Fri, 28 Feb 2014 15:45:02 +0000 Original-Received: (at 16901) by debbugs.gnu.org; 28 Feb 2014 15:44:55 +0000 Original-Received: from localhost ([127.0.0.1]:44769 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJPcL-0003Nu-Hy for submit@debbugs.gnu.org; Fri, 28 Feb 2014 10:44:54 -0500 Original-Received: from forward5l.mail.yandex.net ([84.201.143.138]:42989) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJPcH-0003Nh-4x for 16901@debbugs.gnu.org; Fri, 28 Feb 2014 10:44:50 -0500 Original-Received: from smtp3h.mail.yandex.net (smtp3h.mail.yandex.net [84.201.186.20]) by forward5l.mail.yandex.net (Yandex) with ESMTP id 89095C40D9A; Fri, 28 Feb 2014 19:44:47 +0400 (MSK) Original-Received: from smtp3h.mail.yandex.net (localhost [127.0.0.1]) by smtp3h.mail.yandex.net (Yandex) with ESMTP id DBC5E1B42A67; Fri, 28 Feb 2014 19:44:46 +0400 (MSK) Original-Received: from unknown (unknown [37.139.80.10]) by smtp3h.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Hddg3RUhoi-ikgeUXA9; Fri, 28 Feb 2014 19:44:46 +0400 (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client certificate not present) X-Yandex-Uniq: 43c349c3-6c1d-471b-abb7-1a98b1162a09 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1393602286; bh=mcZkG53vkDVmdb3TauA2luzJ5LfF7oexxp/OTohf5sw=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=rVRDh/+AXUMslvjDYHsTw0UQQt++INI6YgL1FeOQ7KuYH444qbdtLrJzMcTKkkcrA U3Ywz9XtCbX4C/d2IBZEf1Hx7CGXRuviKV4WhEnOpJPtpgevX0dhzrPtVgThWwXQx/ 1vrZKo0l0UEl2QHnnf0yTEAi40vTlZ0W0+x6cvR0= Authentication-Results: smtp3h.mail.yandex.net; dkim=pass header.i=@yandex.ru User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 In-Reply-To: <83d2i7wbyc.fsf@gnu.org> 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" 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:86399 Archived-At: [CC: to emacs-devel@ in attempt to initiate a broader discussion] On 02/28/2014 06:26 PM, Eli Zaretskii wrote: > Would it be possible to install some debugging code that could > pinpoint the problem, or at least give further ideas? Or is the > problem so subtle that any code which uses strings could be the > culprit? Hm... are there crashes around sweep_strings on platforms other than MS-Windows? 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. And what about using GCC and (sorry RMS) LLVM sanitizers? Dmitry