From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.bugs Subject: bug#24764: 25.1.50; Another crash in automatic gc Date: Sat, 22 Oct 2016 15:54:40 +0200 Message-ID: <87oa2c4hgf.fsf@web.de> References: <87vawkk9l1.fsf@web.de> <83d1isr94u.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1477144588 21567 195.159.176.226 (22 Oct 2016 13:56:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 22 Oct 2016 13:56:28 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cc: 24764@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 22 15:56:24 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bxwmR-0003VI-8L for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Oct 2016 15:56:11 +0200 Original-Received: from localhost ([::1]:37357 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bxwmT-0005Zh-LE for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Oct 2016 09:56:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49577) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bxwmL-0005Zb-BK for bug-gnu-emacs@gnu.org; Sat, 22 Oct 2016 09:56:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bxwmI-0003UX-97 for bug-gnu-emacs@gnu.org; Sat, 22 Oct 2016 09:56:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59261) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bxwmI-0003UA-5k for bug-gnu-emacs@gnu.org; Sat, 22 Oct 2016 09:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bxwmH-00051u-Tl for bug-gnu-emacs@gnu.org; Sat, 22 Oct 2016 09:56:01 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <87vawkk9l1.fsf@web.de> Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Oct 2016 13:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24764 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-Cc: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.147714450418842 (code B ref -1); Sat, 22 Oct 2016 13:56:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 22 Oct 2016 13:55:04 +0000 Original-Received: from localhost ([127.0.0.1]:45965 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bxwlM-0004tj-GU for submit@debbugs.gnu.org; Sat, 22 Oct 2016 09:55:04 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58285) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bxwlL-0004sG-6D for submit@debbugs.gnu.org; Sat, 22 Oct 2016 09:55:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bxwlE-0002uR-Qf for submit@debbugs.gnu.org; Sat, 22 Oct 2016 09:54:57 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:36158) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bxwlE-0002uN-NP for submit@debbugs.gnu.org; Sat, 22 Oct 2016 09:54:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49256) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bxwlD-0005QK-C2 for bug-gnu-emacs@gnu.org; Sat, 22 Oct 2016 09:54:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bxwlC-0002tl-KA for bug-gnu-emacs@gnu.org; Sat, 22 Oct 2016 09:54:55 -0400 Original-Received: from mout.web.de ([212.227.15.14]:50149) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bxwl8-0002oO-Lu; Sat, 22 Oct 2016 09:54:50 -0400 Original-Received: from drachen.dragon ([90.186.0.219]) by smtp.web.de (mrweb003) with ESMTPSA (Nemesis) id 0LaCWE-1ceNi91reo-00m1oz; Sat, 22 Oct 2016 15:54:43 +0200 X-Provags-ID: V03:K0:SzzmJvt+OtBt4Zu9L1wy0l3UhKv7maKM+KAn6m3SZOZvZ5fzqfq 28KG5u4e9BZMUXPL07SCBYPicQHPDaNJ0Uo5ZwO7MKpjSP2tsfApyNQSUbPI0oUJid7RPCE 8I3tQrXaitwmfOmrtH2S7NZAvmu9MB6EX7DO2PWBqeN8pWeFv/zm2zxJRvIELp1AwvwcHkz ZB5A4sSyp3ExjA2lXHRyg== X-UI-Out-Filterresults: notjunk:1;V01:K0:Faxxmvor3qc=:Uu6I7FI9AwcrfJas74npEf izH2w36WVAlezzB6c6H4Y0UfAU7Kta+JjP+5dA1Ut2IpFT/EMPESIdcj4cZ/7DVnRwpmkYQoR tzmWExRgZTK1CdC7E0uigHS1IiR/S84cLRNRjFmYOO+XRAlpz2Kw5rVhg1eNHPDn2gwYBbvPy 0yG4rZvOmUvTi1tysfR4d+J/qDDYlIuFX3n4FoQXpPBs4LkY77xUcuI6kM48XcDL9cfcDrDcI /J3+KPXoMAyxxxIPx1jA3sWsFn0K4wmf7IMl9WF5LfcQrStyJLYdaAuhqP/+rrvkQVwDnBqAq LkFU/Fh5b+G09WnhKwGzE5RzqJxbZX0k+t6eUT0J6ZQdHkrivHWw35EDUHE1F1WWRUA2voZVn XA88jFyUkPcFM/vvEGswLYVcFYEPlqglBq8ZRhqOCErzeZ9zH1NcNnN3YEWQLvTgmQHvqS27B EDOB0xVhM+XWsmENbzgN++hDMGRG7a7bjNXiqapRco5gre2cWql9N9l2vtXa9OSStLmWPTqqw Bnawzfn+yTfTFofWKzELv9wrfMwCukFqYhZy8JojCqvISJymmTM89/ORpJAeXvT8GWjA7hQWx 75ph5pOeSo5qFjlgPxNOlMKftESme0f5/jmsSZl8vA/odEwjhiT9kJkHAw9ZlAcvKlzh3eo0t CdPi8PlqKEL8GeTIZOwooGrDqqGJ8dsaDREUaXPzhH1uPD7kh2ZMcedmjs6XPagnKG0lcD7ZX +g83alv8v6OWJCEbTL+N0846rwN91LPcTVNtOaMHuXL0dih+5gyvYK1PKnbltJzhOWPkh0P5 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:124824 Archived-At: Eli Zaretskii writes: > Your marker pointers are actually full of blank (and other ASCII) > characters. So some code somewhere either writes past the end of some > stack-based array or otherwise overwrites the stack. > > Or maybe your system, too, uses ralloc.c, and this is one more > manifestation of some buffer or string relocated while some code hangs > to the C pointers of the original contents. How can I find out? > The question is which code does that, and how, because usually this > happens long before GC. My code does the following: open tons of elisp files, read all top level expressions, and walk the expressions to create a huge list of all the buffer's atoms, one per buffer, look at it, and discard it, and continue with the next file etc. > See etc/DEBUG for how to debug problems during GC. [...] Ok, will do. > That's about all I can say about this (not sure why I'm on the CC > list, anyway). Because you give the most useful comments about how to debug such stuff, and I have no clue most of the time. > Oh, one other thing: > > > In GNU Emacs 25.1.50.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.1) > > of 2016-10-22 built on drachen > > Repository revision: bfd1abf5c8edf571e9ba272ec2587b964ba86102 > > There's no such revision SHA1 in the Emacs repository, so I'm not sure > what code base you are using there. That's one commit above emacs-25's current HEAD: the WIP commit for making sort-line accepting a predicate arg. I can revert it just to be sure. But I'm not even convinced that the stuff I suspect is really the culprit. Thanks so far, Michael.