chicken-users
[Top][All Lists]
Advanced

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

[Chicken-users] Re: Weird behaviour in process / output / close-output-p


From: Alejandro Forero Cuervo
Subject: [Chicken-users] Re: Weird behaviour in process / output / close-output-port
Date: Tue, 30 May 2006 21:16:43 -0500
User-agent: Mutt/1.5.9i

Hmm, the following might be just another manifestation of the same
problem, writing to a closed port sometimes causes a segfault:

    $ csi -quiet
    csi> (define p (open-output-file "/tmp/fox"))
    csi> (newline p)
    csi> (close-output-port p)
    csi> (newline p)
    Segmentation fault

If I try to load this code (through “load”), it doesn't crash.

As I said, I'm using Chicken 2.3 on Debian GNU/Linux with Linux 2.6.11
/ glibc 2.3.6.

Alejo.
http://azul.freaks-unidos.net/




reply via email to

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