chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] Bizarre chicken build/segfault problem


From: Kon Lovett
Subject: Re: [Chicken-users] Bizarre chicken build/segfault problem
Date: Mon, 11 Sep 2006 11:47:28 -0700

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sep 11, 2006, at 11:00 AM, Peter Bex wrote:

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
(gdb)

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

srfi-19 uses srfi-29 uses lookup-table. The "srfi-29.meta" file does state the need for lookup-table, so I wonder why it is not installed. How old is your copy of srfi-29? The need for lookup-table is from version 1.2, quite awhile ago.

In any case current srfi-19 1.9 needs srfi-29 1.5 needs lookup-table 1.2, the current releases. Suggest installing from the eggs repo.

You might as well also get the current locale, miscmacros, numbers, & misc-extn eggs. These are also needed.

FWIW, w/ the most recent Chicken, newer than 2.422, you should also have the easyffi & dollar eggs, at least for my stuff.

Hope you have a more productive time after re-installing.

Best Wishes,
Kon


Regards,
Peter
--
http://sjamaan.ath.cx
--
"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
_______________________________________________
Chicken-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/chicken-users

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iEYEARECAAYFAkUFr0EACgkQJJNoeGe+5O52GACfX19LRyUihbMdbYQITbrDHrsL
u1cAn1BhcWgpNtmWmX9wYnBNjkpKmLFd
=S7WS
-----END PGP SIGNATURE-----




reply via email to

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