From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#25172: 26.0.50; Concurrency feature, sit-for doesn't work (crashing and unexpected behaviour) Date: Tue, 13 Dec 2016 19:25:19 +0100 Message-ID: <87d1gv1yb4.fsf@linux-m68k.org> References: <838trme4jr.fsf@gnu.org> <838trlcals.fsf@gnu.org> <83vauobiou.fsf@gnu.org> <83h967bxwt.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1481653581 9688 195.159.176.226 (13 Dec 2016 18:26:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 13 Dec 2016 18:26:21 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.90 (gnu/linux) Cc: 25172@debbugs.gnu.org, Elias =?UTF-8?Q?M=C3=A5rtenson?= , clement.pit@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 13 19:26:13 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 1cGrmE-0000bW-1U for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Dec 2016 19:26:10 +0100 Original-Received: from localhost ([::1]:40022 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGrmG-0006q4-LK for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Dec 2016 13:26:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41961) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGrmB-0006pz-09 for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2016 13:26:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cGrm5-0007lX-SS for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2016 13:26:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53829) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cGrm5-0007lT-PL for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2016 13:26:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cGrm5-0004sB-Je for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2016 13:26:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Dec 2016 18:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25172 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25172-submit@debbugs.gnu.org id=B25172.148165352418687 (code B ref 25172); Tue, 13 Dec 2016 18:26:01 +0000 Original-Received: (at 25172) by debbugs.gnu.org; 13 Dec 2016 18:25:24 +0000 Original-Received: from localhost ([127.0.0.1]:40995 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cGrlU-0004rL-JQ for submit@debbugs.gnu.org; Tue, 13 Dec 2016 13:25:24 -0500 Original-Received: from mail-out.m-online.net ([212.18.0.9]:38529) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cGrlS-0004rA-3x for 25172@debbugs.gnu.org; Tue, 13 Dec 2016 13:25:22 -0500 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3tdSmx0t3cz3hjTs; Tue, 13 Dec 2016 19:25:20 +0100 (CET) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3tdSmw5m8dzvkjF; Tue, 13 Dec 2016 19:25:20 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id 9-M-6eCIM6Se; Tue, 13 Dec 2016 19:25:19 +0100 (CET) X-Auth-Info: uJ9nSHZknyjTtNqrPOiATqio23WCl5U+p9sZr9tG26gAvO4aDtMrOVnmdRTdgXKa Original-Received: from igel.home (ppp-88-217-9-187.dynamic.mnet-online.de [88.217.9.187]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Tue, 13 Dec 2016 19:25:19 +0100 (CET) Original-Received: by igel.home (Postfix, from userid 1000) id 622212C1DE4; Tue, 13 Dec 2016 19:25:19 +0100 (CET) X-Yow: Is something VIOLENT going to happen to a GARBAGE CAN? In-Reply-To: <83h967bxwt.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 13 Dec 2016 18:23:46 +0200") 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:126995 Archived-At: On Dez 13 2016, Eli Zaretskii wrote: > There's something here I don't understand. It looks like 9 threads > are stuck in acquire_global_lock, which is fine. The main thread was > executing some timer (probably, the one set up by global-eldoc-mode), > when it was delivered SIGSEGV. There's one more thread running this: > > Stack trace of thread 23775: > #0 0x00007f5687e5e426 __sigsuspend (libc.so.6) > #1 0x0000000000578385 deliver_thread_signal (emacs-26.0.50) > #2 0x00000000005783f8 deliver_fatal_thread_signal (emacs-26.0.50) > #3 0x00000000005785ae handle_sigsegv (emacs-26.0.50) > #4 0x00007f5688810080 n/a (libpthread.so.0) > > This seems to be some thread, which was hit by SIGSEGV, and since it > is not the main thread, it calls pdthread_kill to kill the main > thread, which explains why the main thread received the signal. But > what I don't understand is what was this thread 23775 doing before it > hit SIGSEGV? The backtrace stops at handle_sigsegv, without revealing > that. Installing debuginfo for glibc and/or `thread apply all bt' will most likely give more information. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."