From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Scott N. Walck" Newsgroups: gmane.lisp.guile.user Subject: Re: set-current-module in .guile ? Date: Mon, 7 Apr 2008 11:07:35 -0400 Message-ID: <18426.14519.36960.278300@entangle.lvc.edu> References: <18423.46537.161648.253613@entangle.lvc.edu> <47F7E878.20609@wilsonjc.us> <87iqyvrpwj.fsf@gnu.org> <87ve2unnia.fsf@gnu.org> <87fxtxrdhw.fsf@gnu.org> Reply-To: walck@lvc.edu NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1207580888 7665 80.91.229.12 (7 Apr 2008 15:08:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Apr 2008 15:08:08 +0000 (UTC) To: "guile-user@gnu.org" Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Apr 07 17:08:40 2008 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JisxT-0003O5-1w for guile-user@m.gmane.org; Mon, 07 Apr 2008 17:08:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jiswp-0007mH-RX for guile-user@m.gmane.org; Mon, 07 Apr 2008 11:07:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jiswk-0007lj-Tp for guile-user@gnu.org; Mon, 07 Apr 2008 11:07:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jiswh-0007kw-U3 for guile-user@gnu.org; Mon, 07 Apr 2008 11:07:45 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jiswh-0007kt-QN for guile-user@gnu.org; Mon, 07 Apr 2008 11:07:43 -0400 Original-Received: from webmail.lvc.edu ([192.77.143.32] helo=lvc.edu) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_MD5:16) (Exim 4.60) (envelope-from ) id 1Jiswh-0005pt-6O for guile-user@gnu.org; Mon, 07 Apr 2008 11:07:43 -0400 Original-Received: from entangle.lvc.edu by lvc.edu (MDaemon PRO v9.6.4) with ESMTP id 13-md50000205160.msg for ; Mon, 07 Apr 2008 11:08:22 -0400 X-Spam-Processed: lvc.edu, Mon, 07 Apr 2008 11:08:22 -0400 (not processed: message from trusted or authenticated source) X-MDRemoteIP: 10.1.28.214 X-Return-Path: walck@lvc.edu X-Envelope-From: walck@lvc.edu X-MDaemon-Deliver-To: guile-user@gnu.org In-Reply-To: <87fxtxrdhw.fsf@gnu.org> X-Mailer: VM 7.19 under Emacs 22.1.1 X-MDAV-Processed: lvc.edu, Mon, 07 Apr 2008 11:08:22 -0400 X-detected-kernel: by monty-python.gnu.org: Windows 2000 SP4, XP SP1+ X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:6525 Archived-At: Hi, Thanks for the "ulimit -c unlimited" command. Here is the backtrace from gdb. [walck@entangle:~]$ ulimit -c unlimited [walck@entangle:~]$ guile guile> (load "/usr/local/src/guile-scmutils/src/load.scm") guile> (module-use! (current-module) generic-environment) #f guile> + # guile> (+ (vector 5 6) (vector 7 8)) Segmentation fault (core dumped) [walck@entangle:~]$ ls core* core.18853 [walck@entangle:~]$ gdb `which guile` core.18853 GNU gdb Red Hat Linux (6.3.0.0-1.122rh) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and yo= u are welcome to change it and/or distribute copies of it under certain condi= tions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for deta= ils. This GDB was configured as "i386-redhat-linux-gnu"...Using host libthre= ad=5Fdb library "/lib/libthread=5Fdb.so.1". Reading symbols from shared object read from target memory...done. Loaded system supplied DSO at 0x915000 Core was generated by `guile'. Program terminated with signal 11, Segmentation fault. warning: svr4=5Fcurrent=5Fsos: Can't read pathname for load map: Input/= output error Reading symbols from /usr/local/lib/libguile.so.17...done. Loaded symbols for /usr/local/lib/libguile.so.17 Reading symbols from /usr/lib/sse2/libgmp.so.3...done. Loaded symbols for /usr/lib/sse2/libgmp.so.3 Reading symbols from /lib/libcrypt.so.1...done. Loaded symbols for /lib/libcrypt.so.1 Reading symbols from /lib/libm.so.6...done. Loaded symbols for /lib/libm.so.6 Reading symbols from /usr/local/lib/libltdl.so.3...done. Loaded symbols for /usr/local/lib/libltdl.so.3 Reading symbols from /lib/libpthread.so.0...done. Loaded symbols for /lib/libpthread.so.0 Reading symbols from /lib/libc.so.6...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 Reading symbols from /lib/libdl.so.2...done. Loaded symbols for /lib/libdl.so.2 Reading symbols from /usr/local/lib/libguilereadline-v-17.so.17...done.= Loaded symbols for /usr/local/lib/libguilereadline-v-17.so.17 Reading symbols from /usr/lib/libreadline.so.5...done. Loaded symbols for /usr/lib/libreadline.so.5 Reading symbols from /usr/lib/libncurses.so.5...done. Loaded symbols for /usr/lib/libncurses.so.5 Reading symbols from /usr/local/lib/libguile-srfi-srfi-1-v-3.so.3...don= e. Loaded symbols for /usr/local/lib/libguile-srfi-srfi-1-v-3.so.3 #0 0x00168d0c in scm=5Fhash=5Ffn=5Fget=5Fhandle (table=3D0xb7f01560, o= bj=3D0xb7ef7190,=20 hash=5Ffn=3D0x167b40 , assoc=5Ffn=3D0x1393d0 ,=20 closure=3D0x0) at hashtab.c:415 415=09{ (gdb) bt #0 0x00168d0c in scm=5Fhash=5Ffn=5Fget=5Fhandle (table=3D0xb7f01560, o= bj=3D0xb7ef7190,=20 hash=5Ffn=3D0x167b40 , assoc=5Ffn=3D0x1393d0 ,=20 closure=3D0x0) at hashtab.c:415 #1 0x00169d59 in scm=5Fhash=5Ffn=5Fref (table=3D0xb7f01560, obj=3D0xb7= ef7190,=20 dflt=3D0x4, hash=5Ffn=3D0x167b40 ,=20 assoc=5Ffn=3D0x1393d0 , closure=3D0x0) at hash= tab.c:500 #2 0x00169eff in scm=5Fhashq=5Fref (table=3D0xb7f01560, key=3D0xb7ef71= 90, dflt=3D0x204) at hashtab.c:613 #3 0x0016fa78 in module=5Fvariable (module=3D0xb7f01590, sym=3D0xb7ef7= 190) at modules.c:289 #4 0x0016fae5 in module=5Fvariable (module=3DVariable "module" is not = available. ) at modules.c:307 #5 0x0016fae5 in module=5Fvariable (module=3DVariable "module" is not = available. ) at modules.c:307 #6 0x0016fae5 in module=5Fvariable (module=3DVariable "module" is not = available. ) at modules.c:307 Thanks, Scott Ludovic Court=E8s writes: > Hi, >=20 > "Walck, Scott" writes: >=20 > > I don't think it's the + function. I get a segfault just by typin= g > > (exit). I don't get a core file, though, in either case. Why is > > that=3F >=20 > You do get a core file since it says "core dumped". Maybe it's name= d > `core.123' or something like that instead of just `core'. Otherwise= , > type "ulimit -c unlimited" and try again. >=20 > Thanks, > Ludovic. >=20 >=20 >=20 >=20