[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] Bizarre chicken build/segfault problem

From: Peter Bex
Subject: [Chicken-users] Bizarre chicken build/segfault problem
Date: Mon, 11 Sep 2006 20:00:16 +0200
User-agent: Mutt/

Hi there,

I am getting a strange segfault in Chicken when I compile SRFI-19.
It happens reliably.  This system is NetBSD/amd64, it happens both with
the latest release (2.41) and the latest SVN checkout (2.430).

The reason I'm posting here is that there is one thing that baffles me:
When running a backtrace with GDB, it tells me the error occurs in a
function in lookup-table.c.  But I can't find this file (or
lookup-table.scm) anywhere!

Here's the gdb output:
$ gdb /usr/pkg/bin/chicken
GNU gdb 5.3nb1
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64--netbsd"...
(gdb) run srfi-19.scm -output-file srfi-19.c -dynamic -feature 
chicken-compile-shared -quiet -feature compiling-extension -optimize-level 2 
-debug-level 1 -check-imports -emit-exports srfi-19.exports
Starting program: /usr/pkg/bin/chicken srfi-19.scm -output-file srfi-19.c 
-dynamic -feature chicken-compile-shared -quiet -feature compiling-extension 
-optimize-level 2 -debug-level 1 -check-imports -emit-exports srfi-19.exports

Program received signal SIGSEGV, Segmentation fault.
0x0000000201f04bbf in f_420 (c=3, t0=10779024, t1=140187732488584)
    at lookup-table.c:821
821     lookup-table.c: No such file or directory.
        in lookup-table.c

Does anyone have enough insight in the Chicken build to tell me where
this file/function comes from?  Can anyone reproduce this on

"The process of preparing programs for a digital computer
 is especially attractive, not only because it can be economically
 and scientifically rewarding, but also because it can be an aesthetic
 experience much like composing poetry or music."
                                                        -- Donald Knuth

Attachment: pgpkduKG44S8X.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]