GNU bug report logs - #40737
Segfault in arm gcc7, thumb2 builroot, with arm patch

Previous Next

Package: guile;

Reported by: dsmich <at> roadrunner.com

Date: Mon, 20 Apr 2020 19:35:02 UTC

Severity: important

Done: Dale Smith <dalepsmith <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #22 received at 40737 <at> debbugs.gnu.org (full text, mbox):

From: dsmich <at> roadrunner.com
To: "'Ludovic Courtès'" <ludo <at> gnu.org>
Cc: "'40737 <at> debbugs.gnu.org'" <40737 <at> debbugs.gnu.org>
Subject: Re: bug#40737: Segfault in arm gcc7, thumb2 builroot, with arm patch
Date: Thu, 18 Jun 2020 13:49:35 +0000
[Message part 1 (text/plain, inline)]
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=0 make TESTS=test-language check-TESTS; do
:;done

And then:
../../meta/uninstalled-env ../../libtool --mode=execute gdb
../../libguile/guile core

Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x76f505cc in scm_is_string (x=0x0) 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=0x0) at strings.h:293
#1 scm_string_to_symbol (string=0x0) at symbols.c:361
#2 0x722df4cc in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt
stack?)

	-----------------------------------------From: "Ludovic Courtès" 
To: dsmich <at> roadrunner.com
Cc: 40737 <at> debbugs.gnu.org
Sent: Wednesday June 17 2020 6:36:34PM
Subject: Re: bug#40737: Segfault in arm gcc7, thumb2 builroot, with
arm patch

Hi Dale,

 dsmich <at> roadrunner.com skribis:

 > Here is a backtrace of running guile on a builtroot constructed
 system
 > for rpi3.
 > Thumb2 instructions: BR2_ARM_INSTRUCTIONS_THUMB2=y
 > Gcc 7.5: BR2_GCC_VERSION="7.5.0"
 > Glibc.
 >
 > Uses the patch from
 >
[Message part 2 (text/html, inline)]

This bug report was last modified 4 years and 332 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.