From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#26961: 26.0.50; Possible timming issue in regex-tests.el Date: Wed, 17 May 2017 19:32:24 +0300 Message-ID: <83bmqr5trb.fsf@gnu.org> References: <87inkz23aw.fsf@calancha-pc> <878tlvy4d4.fsf@calancha-pc> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1495038897 17950 195.159.176.226 (17 May 2017 16:34:57 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 17 May 2017 16:34:57 +0000 (UTC) Cc: 26961@debbugs.gnu.org To: Tino Calancha Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 17 18:34:51 2017 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 1dB1uU-0004UY-JA for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 May 2017 18:34:50 +0200 Original-Received: from localhost ([::1]:49930 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dB1uX-0002uN-E4 for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 May 2017 12:34:53 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56791) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dB1so-0001eZ-5U for bug-gnu-emacs@gnu.org; Wed, 17 May 2017 12:33:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dB1sk-00013k-8v for bug-gnu-emacs@gnu.org; Wed, 17 May 2017 12:33:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48425) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dB1sk-00013d-6Y for bug-gnu-emacs@gnu.org; Wed, 17 May 2017 12:33:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dB1sj-0001Gl-TY for bug-gnu-emacs@gnu.org; Wed, 17 May 2017 12:33:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 17 May 2017 16:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26961 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 26961-submit@debbugs.gnu.org id=B26961.14950387654857 (code B ref 26961); Wed, 17 May 2017 16:33:01 +0000 Original-Received: (at 26961) by debbugs.gnu.org; 17 May 2017 16:32:45 +0000 Original-Received: from localhost ([127.0.0.1]:51102 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dB1sT-0001GH-1g for submit@debbugs.gnu.org; Wed, 17 May 2017 12:32:45 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37378) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dB1sR-0001G4-GN for 26961@debbugs.gnu.org; Wed, 17 May 2017 12:32:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dB1sI-0000sW-Au for 26961@debbugs.gnu.org; Wed, 17 May 2017 12:32:38 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33545) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dB1sI-0000sS-7M; Wed, 17 May 2017 12:32:34 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4050 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dB1sH-0006Ps-IR; Wed, 17 May 2017 12:32:33 -0400 In-reply-to: <878tlvy4d4.fsf@calancha-pc> (message from Tino Calancha on Wed, 17 May 2017 22:55:51 +0900) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:132571 Archived-At: > From: Tino Calancha > Date: Wed, 17 May 2017 22:55:51 +0900 > > > ;;; II) This one fails in Debian-9, but it works in Fedora-25: > > emacs --batch -L ":." -l ert -l src/regex-tests.el \ > > --eval '(let (arg) (ert-run-tests-batch-and-exit arg))' > > > In GNU Emacs 26.0.50 (build 5, x86_64-pc-linux-gnu, GTK+ Version 3.22.11) > > Repository revision: f7c07930b581b1bcfdfb1874b6883233516bdf11 > > Windowing system distributor 'The X.Org Foundation', version 11.0.11902000 > > System Description: Debian GNU/Linux 9.0 (stretch) > I can reproduce the issue after compile Emacs without optimizations. > Following is the backtrace after Emacs crash: > > (gdb) run -batch -L ":../test" -l ert -l ../test/src/regex-tests.el -eval '(let (arg) (ert-run-tests-batch-and-exit arg))' > > Starting program: /home/calancha/soft/emacs-master/src/bootstrap-emacs -batch -L ":../test" -l ert -l ../test/src/regex-tests.el -eval '(let (arg) (ert-run-tests-batch-and-exit arg))' It doesn't crash for me (but one of the tests does fail). > #0 terminate_due_to_signal (sig=6, backtrace_limit=40) at emacs.c:363 > #1 0x00000000005c1191 in emacs_abort () at sysdep.c:2371 > #2 0x0000000000629189 in mark_object (arg=XIL(0x7fffffffbc54)) at alloc.c:6428 > #3 0x00000000006299ae in mark_object (arg=XIL(0x2f44ac3)) at alloc.c:6667 > #4 0x0000000000625a6c in mark_maybe_object (obj=XIL(0x2f44ac3)) at alloc.c:4788 > #5 0x0000000000625e47 in mark_memory (start=0x7fffffff6b70, end=0x7fffffffe08f) at alloc.c:4940 > #6 0x0000000000625e7c in mark_stack (bottom=0x7fffffffe08f "", end=0x7fffffff6b70 "\200\214!\001") at alloc.c:5138 > #7 0x00000000006e01dc in mark_one_thread (thread=0xe1b2a0 ) at thread.c:603 > #8 0x00000000006e0371 in mark_threads_callback (ignore=0x0) at thread.c:634 > #9 0x0000000000625ec4 in flush_stack_call_func (func=0x6e02de , arg=0x0) at alloc.c:5165 > #10 0x00000000006e03a3 in mark_threads () at thread.c:641 > #11 0x0000000000627e8b in garbage_collect_1 (end=0x7fffffff6d50) at alloc.c:5942 > #12 0x0000000000628562 in Fgarbage_collect () at alloc.c:6108 Are you up to the task of debugging GC? See etc/DEBUG for some advice. Thanks.