From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Newsgroups: gmane.lisp.guile.bugs Subject: bug#40737: Segfault in arm gcc7, thumb2 builroot, with arm patch Date: Thu, 18 Jun 2020 16:54:21 +0200 Message-ID: <877dw4jug2.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="106172"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cc: "'40737@debbugs.gnu.org'" <40737@debbugs.gnu.org> To: dsmich@roadrunner.com Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Thu Jun 18 16:55:08 2020 Return-path: Envelope-to: guile-bugs@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 1jlvwY-000RVT-VH for guile-bugs@m.gmane-mx.org; Thu, 18 Jun 2020 16:55:06 +0200 Original-Received: from localhost ([::1]:57600 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jlvwX-000166-QR for guile-bugs@m.gmane-mx.org; Thu, 18 Jun 2020 10:55:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45330) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jlvwT-00015n-V6 for bug-guile@gnu.org; Thu, 18 Jun 2020 10:55:01 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42464) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jlvwT-0006TK-K9 for bug-guile@gnu.org; Thu, 18 Jun 2020 10:55:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jlvwT-0003mN-Jd for bug-guile@gnu.org; Thu, 18 Jun 2020 10:55:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Thu, 18 Jun 2020 14:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40737 X-GNU-PR-Package: guile Original-Received: via spool by 40737-submit@debbugs.gnu.org id=B40737.159249207214488 (code B ref 40737); Thu, 18 Jun 2020 14:55:01 +0000 Original-Received: (at 40737) by debbugs.gnu.org; 18 Jun 2020 14:54:32 +0000 Original-Received: from localhost ([127.0.0.1]:54010 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jlvw0-0003la-Jq for submit@debbugs.gnu.org; Thu, 18 Jun 2020 10:54:32 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:59126) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jlvvy-0003lK-2J for 40737@debbugs.gnu.org; Thu, 18 Jun 2020 10:54:31 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:41768) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jlvvr-0006Qo-PT; Thu, 18 Jun 2020 10:54:23 -0400 Original-Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=32920 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jlvvr-0008Nx-8s; Thu, 18 Jun 2020 10:54:23 -0400 X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 1 Messidor an 228 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu In-Reply-To: (dsmich@roadrunner.com's message of "Thu, 18 Jun 2020 13:49:35 +0000") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.io gmane.lisp.guile.bugs:9805 Archived-At: Hi, dsmich@roadrunner.com skribis: > I'm still seeing segfaults on rasbian on an rpi3. Have not tried > buildroot yet. > > That patch *did* fix a boatload of errors on arm, but this segfault is > an unrelated problem I think. Only happens on arm though. > > Here is a way to reproduce: > > In the test-suite/standalone dir: > while GUILE_JIT_THRESHOLD=3D0 make TESTS=3Dtest-language check-TESTS; do > :;done > > And then: > ../../meta/uninstalled-env ../../libtool --mode=3Dexecute gdb > ../../libguile/guile core > > Program terminated with signal SIGSEGV, Segmentation fault. > #0 0x76f505cc in scm_is_string (x=3D0x0) at strings.h:293 > 293 return SCM_HAS_TYP7 (x, scm_tc7_string); > [Current thread is 1 (Thread 0x76fe6010 (LWP 21616))] > (gdb) bt > #0 0x76f505cc in scm_is_string (x=3D0x0) at strings.h:293 > #1 scm_string_to_symbol (string=3D0x0) at symbols.c:361 > #2 0x722df4cc in ?? () > Backtrace stopped: previous frame identical to this frame (corrupt > stack?) OK. On IRC you mentioned that this does not happen with GUILE_JIT_THRESHOLD=3D-1, right? Thanks, Ludo=E2=80=99.