From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Hansen Newsgroups: gmane.lisp.guile.bugs Subject: Segmentation fault in scm_igc Date: Thu, 04 Mar 2004 14:53:47 +0100 Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Message-ID: <877jy0g1lg.fsf@robotron.ath.cx> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0626740210==" X-Trace: sea.gmane.org 1078671020 5900 80.91.224.253 (7 Mar 2004 14:50:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 7 Mar 2004 14:50:20 +0000 (UTC) Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sun Mar 07 15:50:09 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AzzbV-00047u-00 for ; Sun, 07 Mar 2004 15:50:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1AzzXt-00027G-4x for guile-bugs@m.gmane.org; Sun, 07 Mar 2004 09:46:25 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1AytJf-0006t6-PQ for bug-guile@gnu.org; Thu, 04 Mar 2004 08:55:11 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1AytJ4-0006by-P1 for bug-guile@gnu.org; Thu, 04 Mar 2004 08:55:05 -0500 Original-Received: from [160.45.34.5] (helo=up.physik.fu-berlin.de) by monty-python.gnu.org with esmtp (Exim 4.30) id 1AytIb-0006Mp-3H for bug-guile@gnu.org; Thu, 04 Mar 2004 08:54:05 -0500 Original-Received: from robotron.kosmorama (struppi.physik.fu-berlin.de [160.45.32.185]) by up.physik.fu-berlin.de (8.11.1/8.9.1) with ESMTP id i24Drmj524379; Thu, 4 Mar 2004 14:53:48 +0100 (CET) X-Envelope-From: david.hansen@physik.fu-berlin.de X-ZEDV-BeenThere: nukleon Original-Received: from dhansen by robotron.kosmorama with local (Exim 4.30) id 1AytIJ-0004An-Q7; Thu, 04 Mar 2004 14:53:47 +0100 Original-To: bug-guile@gnu.org User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Bug reports for GUILE, GNU's Ubiquitous Extension Language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.bugs:1210 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.bugs:1210 --===============0626740210== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Hello, my first guile code started with a SIGSEGV. Not sure if it's not my fault but looks like a bug to me. ,----[ gtst.c ] | // -*- compile-command: "gcc -g -Wall `guile-config compile` `guile-config link` gtst.c -o gtst" -*- | | #include | | int | main (void) | { | SCM str = scm_makfrom0str ("hello world"); | return 0; | } `---- ,----[ gdb ] | (gdb) run | Starting program: /home/dhansen/tmp/gtst | | Program received signal SIGSEGV, Segmentation fault. | [Switching to Thread 16384 (LWP 15966)] | 0x4004d398 in scm_igc (what=0x0) at gc.c:1069 | (gdb) bt | #0 0x4004d398 in scm_igc (what=0x0) at gc.c:1069 | #1 0x4004e54b in check_mtrigger (what=0x0) at gc.c:1959 | #2 0x4004e60a in scm_must_malloc (size=12, what=0x400a8231 "scm_allocate_string") at gc.c:2005 | #3 0x400807da in scm_allocate_string (len=11) at strings.c:241 | #4 0x400806f3 in scm_mem2string (src=0x8048614 "hello world", len=10) at strings.c:209 | #5 0x40080757 in scm_makfrom0str (src=0x8048614 "hello world") at strings.c:221 | #6 0x080484f0 in main () at gtst.c:8 | (gdb) `---- ,----[ guile --version ] | Guile 1.6.4 | Copyright (c) 1995, 1996, 1997, 2000, 2001, 2002, 2003 Free Software Foundation | Guile may be distributed under the terms of the GNU General Public Licence; | certain other uses are permitted as well. For details, see the file | `COPYING', which is included in the Guile distribution. | There is no warranty, to the extent permitted by law. `---- I just installed guile-1.6.4 myself using $ ./configure --prefix=$HOME --with-threads --enable-debug-freelist --enable-debug-malloc --enable-guile-debug --disable-deprecated I'm not on any lists, so if there's something interesting for me please Cc: to me. David --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBARzTrv64TGJeASRURAsQeAJ9ziaGB+v4EjrHutSzZ9lc0lePuOACdEXjU sXegNS5RviJY7Ah563YM3kY= =SXJN -----END PGP SIGNATURE----- --=-=-=-- --===============0626740210== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Bug-guile mailing list Bug-guile@gnu.org http://mail.gnu.org/mailman/listinfo/bug-guile --===============0626740210==--