GNU bug report logs - #12031
Guile 2.0.6 build failure (segfault in test-with-guile-module, etc.)

Previous Next

Package: guile;

Reported by: Rob Browning <rlb <at> defaultvalue.org>

Date: Mon, 23 Jul 2012 12:28:01 UTC

Severity: normal

Done: Andy Wingo <wingo <at> pobox.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 12031 in the body.
You can then email your comments to 12031 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guile <at> gnu.org:
bug#12031; Package guile. (Mon, 23 Jul 2012 12:28:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Rob Browning <rlb <at> defaultvalue.org>:
New bug report received and forwarded. Copy sent to bug-guile <at> gnu.org. (Mon, 23 Jul 2012 12:28:02 GMT) Full text and rfc822 format available.

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

From: Rob Browning <rlb <at> defaultvalue.org>
To: bug-guile <at> gnu.org
Subject: Guile 2.0.6 build failure (segfault in test-with-guile-module, etc.)
Date: Mon, 23 Jul 2012 07:20:25 -0500
There seems to be a problem on armhf (and perhaps also armel).  This is
with Guile 2.0.6 linked against Debian libgc-dev 7.1-9.

Builds fail like this:

  PASS: test-extensions
  /bin/bash: line 5: 14132 Segmentation fault      srcdir="." builddir="." CHARSETALIASDIR="/home/rlb/guile/guile-2.0.6/lib" GUILE_AUTO_COMPILE=0 "../../meta/uninstalled-env" ${dir}$tst
  FAIL: test-with-guile-module
  PASS: test-scm-with-guile
  /bin/bash: line 5: 14195 Segmentation fault      srcdir="." builddir="." CHARSETALIASDIR="/home/rlb/guile/guile-2.0.6/lib" GUILE_AUTO_COMPILE=0 "../../meta/uninstalled-env" ${dir}$tst
  FAIL: test-scm-spawn-thread
  /bin/bash: line 5: 14228 Segmentation fault      srcdir="." builddir="." CHARSETALIASDIR="/home/rlb/guile/guile-2.0.6/lib" GUILE_AUTO_COMPILE=0 "../../meta/uninstalled-env" ${dir}$tst
  FAIL: test-pthread-create

And here's the gdb stacktrace:

  Reading symbols from /home/rlb/guile/guile-2.0.6/test-suite/standalone/.libs/lt-test-with-guile-module...done.
  (gdb) run
  Starting program: /home/rlb/guile/guile-2.0.6/test-suite/standalone/.libs/lt-test-with-guile-module 
  [Thread debugging using libthread_db enabled]
  Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
  [New Thread 0xb6ad9470 (LWP 13454)]

  Program received signal SIGSEGV, Segmentation fault.
  [Switching to Thread 0xb6ad9470 (LWP 13454)]
  0xb6d41150 in GC_malloc () from /usr/lib/libgc.so.1
  (gdb) where
  #0  0xb6d41150 in GC_malloc () from /usr/lib/libgc.so.1
  #1  0xb6f78c2c in scm_cell (cdr=2626880, car=383) at ../libguile/gc.h:231
  #2  scm_new_smob (data=2626880, tc=383) at ../libguile/smob.h:93
  #3  guilify_self_2 (parent=0x28bbf0) at threads.c:610
  #4  0xb6f79602 in scm_i_init_thread_for_guile (base=0xb6ad8dcc, parent=0x28bbf0)
      at threads.c:854
  #5  0xb6f7963c in with_guile_and_parent (base=0xb6ad8dcc, data=<optimized out>)
      at threads.c:898
  #6  0xb6d3e4da in GC_call_with_stack_base () from /usr/lib/libgc.so.1
  #7  0xb6f79776 in scm_i_with_guile_and_parent (parent=<optimized out>, 
      data=<optimized out>, func=0x881d <thread_inner_main>) at threads.c:948
  #8  scm_with_guile (func=0x881d <thread_inner_main>, data=<optimized out>)
      at threads.c:954
  #9  0x000087dc in thread_main (unused=<optimized out>)
      at test-with-guile-module.c:50
  #10 0xb6c76ebc in start_thread (arg=0xb6ad9470) at pthread_create.c:306
  #11 0xb6c1f568 in ?? ()
      at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:116
     from /lib/arm-linux-gnueabihf/libc.so.6
  #12 0xb6c1f568 in ?? ()
      at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:116
     from /lib/arm-linux-gnueabihf/libc.so.6
  Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Please let me know if I can provide further information.

Thanks
-- 
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4




Information forwarded to bug-guile <at> gnu.org:
bug#12031; Package guile. (Mon, 03 Sep 2012 21:09:01 GMT) Full text and rfc822 format available.

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

From: ludo <at> gnu.org (Ludovic Courtès)
To: Rob Browning <rlb <at> defaultvalue.org>
Cc: 12031 <at> debbugs.gnu.org
Subject: Re: bug#12031: Guile 2.0.6 build failure (segfault in
	test-with-guile-module, etc.)
Date: Mon, 03 Sep 2012 23:07:13 +0200
Hi Rob,

Rob Browning <rlb <at> defaultvalue.org> skribis:

> There seems to be a problem on armhf (and perhaps also armel).  This is
> with Guile 2.0.6 linked against Debian libgc-dev 7.1-9.

I’m currently checking on armv5tel, but I don’t have access to an armhf
box (what’s this?).  Do you know of any developer machine available?
The GCC Compile Farm doesn’t have this, AFAICS.

Thanks,
Ludo’.




Information forwarded to bug-guile <at> gnu.org:
bug#12031; Package guile. (Wed, 05 Sep 2012 20:56:01 GMT) Full text and rfc822 format available.

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

From: ludo <at> gnu.org (Ludovic Courtès)
To: Rob Browning <rlb <at> defaultvalue.org>
Cc: 12031 <at> debbugs.gnu.org
Subject: Re: bug#12031: Guile 2.0.6 build failure (segfault in
	test-with-guile-module, etc.)
Date: Wed, 05 Sep 2012 22:54:49 +0200
Hi Rob,

Rob Browning <rlb <at> defaultvalue.org> skribis:

> There seems to be a problem on armhf (and perhaps also armel).  This is
> with Guile 2.0.6 linked against Debian libgc-dev 7.1-9.
>
> Builds fail like this:
>
>   PASS: test-extensions
>   /bin/bash: line 5: 14132 Segmentation fault      srcdir="." builddir="." CHARSETALIASDIR="/home/rlb/guile/guile-2.0.6/lib" GUILE_AUTO_COMPILE=0 "../../meta/uninstalled-env" ${dir}$tst
>   FAIL: test-with-guile-module
>   PASS: test-scm-with-guile
>   /bin/bash: line 5: 14195 Segmentation fault      srcdir="." builddir="." CHARSETALIASDIR="/home/rlb/guile/guile-2.0.6/lib" GUILE_AUTO_COMPILE=0 "../../meta/uninstalled-env" ${dir}$tst
>   FAIL: test-scm-spawn-thread
>   /bin/bash: line 5: 14228 Segmentation fault      srcdir="." builddir="." CHARSETALIASDIR="/home/rlb/guile/guile-2.0.6/lib" GUILE_AUTO_COMPILE=0 "../../meta/uninstalled-env" ${dir}$tst
>   FAIL: test-pthread-create

FWIW, I cannot reproduce it on armv5tel-unknown-linux-gnueabi with Guile
v2.0.6-20-gd6bd182 on libgc-7.2pre20110122.

Ludo’.




Reply sent to Andy Wingo <wingo <at> pobox.com>:
You have taken responsibility. (Tue, 05 Mar 2013 18:55:08 GMT) Full text and rfc822 format available.

Notification sent to Rob Browning <rlb <at> defaultvalue.org>:
bug acknowledged by developer. (Tue, 05 Mar 2013 18:55:08 GMT) Full text and rfc822 format available.

Message #16 received at 12031-done <at> debbugs.gnu.org (full text, mbox):

From: Andy Wingo <wingo <at> pobox.com>
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: 12031-done <at> debbugs.gnu.org, Rob Browning <rlb <at> defaultvalue.org>
Subject: Re: bug#12031: Guile 2.0.6 build failure (segfault in
	test-with-guile-module, etc.)
Date: Tue, 05 Mar 2013 17:24:35 +0100
On Wed 05 Sep 2012 22:54, ludo <at> gnu.org (Ludovic Courtès) writes:

> Rob Browning <rlb <at> defaultvalue.org> skribis:
>
>> There seems to be a problem on armhf (and perhaps also armel).  This is
>> with Guile 2.0.6 linked against Debian libgc-dev 7.1-9.
>
> FWIW, I cannot reproduce it on armv5tel-unknown-linux-gnueabi with Guile
> v2.0.6-20-gd6bd182 on libgc-7.2pre20110122.

Since 2.0.7 sees to be building fine in Debian, marking this one as
done.

Andy
-- 
http://wingolog.org/




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 03 Apr 2013 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 12 years and 163 days ago.

Previous Next


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