chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] csi segfault on date->string


From: Kon Lovett
Subject: Re: [Chicken-users] csi segfault on date->string
Date: Mon, 14 Dec 2009 07:51:31 -0800


On Dec 13, 2009, at 8:16 PM, David N Murray wrote:

(Should this go to the dev list?)

This took me a while to find.  It was buried in a record-printer of a
defstruct that had a default of 0 for a time field:

$ csi -n

CHICKEN
(c)2008-2009 The Chicken Team
(c)2000-2007 Felix L. Winkelmann
Version 4.1.7
openbsd-unix-gnu-x86-64 [ 64bit manyargs dload ptables applyhook ]
compiled 2009-09-02 on kili.jsbsystems.com (OpenBSD)

#;1> (use srfi-19)
; loading /usr/local/lib/chicken/4/srfi-19.import.so ...
[snip]
; loading /usr/local/lib/chicken/4/conditions.so ...
#;2> (date->string 0 "~m")
Segmentation fault (core dumped)

Cannot reproduce w/ current release:

#;2> (date->string 0 "~m")

Error: (date->string) bad argument type - not a date: 0

        Call history:

        <syntax>          (date->string 0 "~m")
        <eval>            (date->string 0 "~m")      <--


Thanks,
Dave



_______________________________________________
Chicken-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/chicken-users

Best Wishes,
Kon






reply via email to

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