From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Pip Cet Newsgroups: gmane.emacs.bugs Subject: bug#41755: feature/native-comp (master?): temacs crash in GC during mark phase Date: Sun, 7 Jun 2020 19:41:19 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="114776"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Nicolas =?UTF-8?Q?B=C3=A9rtolo?= , Paul Eggert , 41755@debbugs.gnu.org To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 07 21:43:44 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ji1Cq-000TmN-4K for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 07 Jun 2020 21:43:44 +0200 Original-Received: from localhost ([::1]:55080 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ji1Cp-0003Ie-71 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 07 Jun 2020 15:43:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59552) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ji1CB-0002qD-6l for bug-gnu-emacs@gnu.org; Sun, 07 Jun 2020 15:43:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43422) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ji1CA-0003y4-Se for bug-gnu-emacs@gnu.org; Sun, 07 Jun 2020 15:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ji1CA-00037O-Q5 for bug-gnu-emacs@gnu.org; Sun, 07 Jun 2020 15:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Pip Cet Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 07 Jun 2020 19:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41755 X-GNU-PR-Package: emacs Original-Received: via spool by 41755-submit@debbugs.gnu.org id=B41755.159155892311892 (code B ref 41755); Sun, 07 Jun 2020 19:43:02 +0000 Original-Received: (at 41755) by debbugs.gnu.org; 7 Jun 2020 19:42:03 +0000 Original-Received: from localhost ([127.0.0.1]:54964 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ji1BC-00035k-SJ for submit@debbugs.gnu.org; Sun, 07 Jun 2020 15:42:03 -0400 Original-Received: from mail-oo1-f50.google.com ([209.85.161.50]:44921) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ji1BB-00035G-2e for 41755@debbugs.gnu.org; Sun, 07 Jun 2020 15:42:01 -0400 Original-Received: by mail-oo1-f50.google.com with SMTP id e8so3059449ooi.11 for <41755@debbugs.gnu.org>; Sun, 07 Jun 2020 12:42:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=llhhXsY1L4MdomTZxsvML3bCCLfFxT8+pfux8bl9H8Q=; b=A0QchO26qWylgzcce718YjprgG4xBnhlJgiQUv4/KSCYVpezroUzwkzAnUcmlC5SbE NvdPokfIGGK8MxJQQl6eKhQT65ef3oQ4OvXRvpcBnqU4oGgMqLv1kqGH8GiU+7NZ7g68 KFvt+7t7NrBu4oONTcLtJXZ1HXTKlDaXTLIquMTkD2YNg8EKqdT312Aah9lV77cAxSZ7 xigrO6PB7UEFliOUJzE1dOGQz77srTBlS25JuhA3yPdqiwYUMVjWmCNSGs6K8EH0TlmP MD7PpLegVtlHTOmQr86P1RiiKtYlZ3OYDiOrp6USiO3eNWlXBYDe0VigWDM43lty/5jK r9og== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=llhhXsY1L4MdomTZxsvML3bCCLfFxT8+pfux8bl9H8Q=; b=umIIO0+/9HI79YB1U+lOB4xoDTHzjoYpzi+xfbFnoh/kQh/8uagca8/0utjSW1bZ+I CZ02NTZbzWhnJLYpo9keHjcbmsbtEJhW/cGMl8FSZOhBKqaEam1ds0kMvbsFSjLuNcDC Vzdi6dOGwzIbIh2AzjnFel0KomfFRR0WXS6J7cQIQsISG/RCMYmeC6o/it0XfYOGRE5A l//tS9kPa60KA5L9z86BKFooJd7lxPHSNRPKL6DxMcx4sXd7ECOd9O/W1ieVUFhe0z4r AY0j9RCUq+fFgp7KiLeAlS0QxY5kfE0qN20pDYIJWMh42Bw8AXgslZDVAqHmmD/3MOio 93KA== X-Gm-Message-State: AOAM530fBdxf8zXO1DEF/FeSvG1t+Q7GcgSQHrJc2FbYJdpwT6TVpDS0 ZsQeBCYx23DRt/549gjuTn91sApJuz+UvLp25c0= X-Google-Smtp-Source: ABdhPJyMbnLt+IVAF7p5SOK1ylvbM3/pbdLwgfK9EF3CMBihEK4AuYE1rTKRUmoiir7f7p4IPTHxZ4f4qkRhQDhjIZM= X-Received: by 2002:a4a:94d1:: with SMTP id l17mr15038945ooi.88.1591558915405; Sun, 07 Jun 2020 12:41:55 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:181705 Archived-At: On Sun, Jun 7, 2020 at 7:26 PM Andrea Corallo wrote: > I'm experiencing non reproducible GC related crashes building > feature/native-comp. Does it happen for non-optimized builds? Also, what symbol is at Lisp_Object value 0xb4f0 (i.e. iQwhatever == 405)? > Both back-traces I've got looks similar: > > #0 0x00000000004dfe4c in symbol_marked_p (s=0xb4f0) at pdumper.h:149 > #1 mark_object (arg=) at alloc.c:6731 > #2 0x0000000000552390 in traverse_intervals_noorder (tree=0xffffffffe070, > function=0x4e0fe0 , arg=0x0) at intervals.c:234 > #3 0x00000000004e0060 in mark_object (arg=) at alloc.c:6784 > #4 0x00000000004e08ec in mark_memory (end=, start=) > at alloc.c:4860 > #5 mark_stack (bottom=, end=end@entry=0xffffffff71d0 "") > at alloc.c:5071 > #6 0x000000000055fd48 in mark_one_thread (thread=0x903b80 ) > at thread.c:630 > #7 mark_threads_callback (ignore=) at thread.c:661 > #8 0x00000000004e1238 in garbage_collect () at alloc.c:6101 > #9 0x00000000004ff874 in maybe_gc () at lisp.h:5090 > #10 eval_sub (form=form@entry=XIL(0xcefe63)) at eval.c:2243 > #11 0x0000000000500108 in Fwhile (args=) at eval.c:1013 > ... > So far I was not able to reproduce on X86_64 (where I've rr). Please let us know if you manage to. > This may not be related to feature/native-comp but to one of the recent > GC changes and the stack marking strategy. Or to the live_*_p changes...