From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark H Weaver Newsgroups: gmane.lisp.guile.devel Subject: Re: boehm-gc troubles with 2.0.10 on NetBSD/i386 Date: Fri, 11 Apr 2014 15:09:34 -0400 Message-ID: <87ioqffztd.fsf@yeeloong.lan> References: <87mwfrg4to.fsf@yeeloong.lan> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1397243474 14561 80.91.229.3 (11 Apr 2014 19:11:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Apr 2014 19:11:14 +0000 (UTC) Cc: guile-devel@gnu.org To: Greg Troxel Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Apr 11 21:11:08 2014 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WYgqy-00025W-9i for guile-devel@m.gmane.org; Fri, 11 Apr 2014 21:11:08 +0200 Original-Received: from localhost ([::1]:59497 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WYgqx-0001t3-RW for guile-devel@m.gmane.org; Fri, 11 Apr 2014 15:11:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57455) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WYgqo-0001h1-Ue for guile-devel@gnu.org; Fri, 11 Apr 2014 15:11:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WYgqj-0003Ay-Ux for guile-devel@gnu.org; Fri, 11 Apr 2014 15:10:58 -0400 Original-Received: from world.peace.net ([96.39.62.75]:51585) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WYgqj-0003An-Lu for guile-devel@gnu.org; Fri, 11 Apr 2014 15:10:53 -0400 Original-Received: from 209-6-91-212.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.91.212] helo=yeeloong.lan) by world.peace.net with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1WYgqb-0002jX-5W; Fri, 11 Apr 2014 15:10:45 -0400 In-Reply-To: (Greg Troxel's message of "Fri, 11 Apr 2014 14:14:39 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 96.39.62.75 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:17054 Archived-At: Greg Troxel writes: > After fixing the --disable-threads and updating to 2.0.11, I get the > following. I'll ask pkgsrc/netbsd people about libgc, since that seems > to be the issue. > > /usr/pkgsrc/wip/guile2/work/guile-2.0.11/libguile > LD_LIBRARY_PATH=.libs gdb .libs/guile > GNU gdb (GDB) 7.3.1 > Copyright (C) 2011 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. Type "show copying" > and "show warranty" for details. > This GDB was configured as "i486--netbsdelf". > For bug reporting instructions, please see: > ... > Reading symbols from > /u0/n0/gdt/NetBSD-current/pkgsrc/wip/guile2/work/guile-2.0.11/libguile/.libs/guile...(no > debugging symbols found)...done. > (gdb) run > Starting program: /u0/n0/gdt/NetBSD-current/pkgsrc/wip/guile2/work/guile-2.0.11/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 0xbbb6712c in scm_i_init_thread_for_guile () from .libs/libguile-2.0.so.29 > #7 0xbbb67347 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 0xbbb67529 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 () My guess is that this SIGSEGV is probably intentional, perhaps the method used by GC on NetBSD to determine the bounds of the stack or some other data area. I would try continuing and seeing what happens next. GC may also use some other signals for its own purposes. > I realize this packaging control file is a foreign language, but here's how it looks: > > # $NetBSD$ > # > > DISTNAME= guile-2.0.11 > CATEGORIES= lang > MASTER_SITES= ftp://ftp.gnu.org/gnu/guile/ > > MAINTAINER= root@zta.lk > HOMEPAGE= ftp://ftp.gnu.org/gnu/guile/ > COMMENT= Official extension language for the GNU operating system > LICENSE= gnu-gpl-v3 I think this license field is incorrect. Guile's license is the GNU _Lesser_ General Public License v3-or-later. Mark