unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* boehm-gc troubles with 2.0.10 on NetBSD/i386
@ 2014-04-11 13:14 Greg Troxel
  2014-04-11 17:21 ` Mark H Weaver
  0 siblings, 1 reply; 15+ messages in thread
From: Greg Troxel @ 2014-04-11 13:14 UTC (permalink / raw)
  To: guile-devel

[-- Attachment #1: Type: text/plain, Size: 1886 bytes --]


I've been a guile user erratically for a long time, and maintain the
entry for guile in pkgsrc.  Currently that's at 1.8.8 and it works fine.

There's a draft package for guile 2.  boehm-gc in pkgsrc on NetBSD is
built without threads, and I have --disable-threads passed to guile's
configure.

The build goes ok until trying to run guild.  Just starting it without
args leads to:

/usr/pkgsrc/wip/guile2/work/guile-2.0.10/libguile > ../meta/uninstalled-env ../meta/guild
0xbbbe12d4 is not a GC visible pointer location
GC_is_visible test failed
Abort trap (core dumped)

Trying with gdb:

Starting program: /u0/n0/gdt/NetBSD-current/pkgsrc/wip/guile2/work/guile-2.0.10/libguile/.libs/guile 

Program received signal SIGSEGV, Segmentation fault.
[Switching to LWP 1]
0xbba868ae in GC_find_limit_with_bound () from /usr/pkg/lib/libgc.so.1
(gdb) bt
#0  0xbba868ae in GC_find_limit_with_bound () from /usr/pkg/lib/libgc.so.1
#1  0xbba8696e in GC_find_limit () from /usr/pkg/lib/libgc.so.1
#2  0xbba8699d in GC_init_netbsd_elf () from /usr/pkg/lib/libgc.so.1
#3  0xbba85b3f in GC_init () from /usr/pkg/lib/libgc.so.1
#4  0xbbaf9748 in scm_storage_prehistory () from .libs/libguile-2.0.so.29
#5  0xbbb0abaf in scm_i_init_guile () from .libs/libguile-2.0.so.29
#6  0xbbb670bc in scm_i_init_thread_for_guile () from .libs/libguile-2.0.so.29
#7  0xbbb672d7 in with_guile_and_parent () from .libs/libguile-2.0.so.29
#8  0xbba85767 in GC_call_with_stack_base () from /usr/pkg/lib/libgc.so.1
#9  0xbbb674b9 in scm_with_guile () from .libs/libguile-2.0.so.29
#10 0xbbb0ab67 in scm_boot_guile () from .libs/libguile-2.0.so.29
#11 0x08048ce9 in main ()

When I run the included tests on boehm-gc 7.2e, they all past.


So I wonder if you think this is a boehm-gc issue, or something odd that
guile is doing to boehm-gc.  Any hints would be appreciated.



[-- Attachment #2: Type: application/pgp-signature, Size: 180 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2014-09-20 23:25 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-11 13:14 boehm-gc troubles with 2.0.10 on NetBSD/i386 Greg Troxel
2014-04-11 17:21 ` Mark H Weaver
2014-04-11 18:14   ` Greg Troxel
2014-04-11 19:09     ` Mark H Weaver
2014-04-11 19:39       ` Greg Troxel
2014-04-11 21:54         ` Mark H Weaver
2014-04-22 13:01           ` boehm-gc troubles with 2.0.11 " Greg Troxel
2014-04-22 14:39             ` Taylan Ulrich Bayirli/Kammer
2014-04-22 16:14             ` Mark H Weaver
2014-09-20  6:16             ` In-Ho Yi
2014-09-20 23:25               ` Mark H Weaver
2014-04-12 10:16     ` boehm-gc troubles with 2.0.10 " Ludovic Courtès
2014-04-12 17:06       ` Mark H Weaver
2014-04-12 23:56       ` Greg Troxel
2014-04-12 10:15   ` Ludovic Courtès

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).