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 <libguile.h>
|
| 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
pgp00000.pgp
Description: PGP signature
_______________________________________________ Bug-guile mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-guile
