[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
scm_num2dbl with #f -> segfault
From: |
Bill Schottstaedt |
Subject: |
scm_num2dbl with #f -> segfault |
Date: |
Sat, 12 Oct 2002 08:52:48 -0700 |
On the Sun (Solaris 2.9), guile 1.6.0, scm_num2dbl segfaults if
accidentally passed #f instead of a number.
Program received signal SIGSEGV, Segmentation fault.
0x3ba15c in scm_num2dbl (a=0x2174, why=0x404a40 "list2vct") at numbers.c:3641
3641 } else if (SCM_BIGP (a)) {
(gdb) where
#0 0x3ba15c in scm_num2dbl (a=0x2174, why=0x404a40 "list2vct") at
numbers.c:3641
...
(gdb) gp 0x2174
$1 = 0x4fcf90 "#f"
- scm_num2dbl with #f -> segfault,
Bill Schottstaedt <=