[Top][All Lists]

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

Re: [Chicken-users] Spiffy crashes occasionally

From: Peter Bex
Subject: Re: [Chicken-users] Spiffy crashes occasionally
Date: Tue, 07 Jun 2005 21:43:07 +0200
User-agent: Mutt/

> I think it *might* be related to another weird thing I noticed.  Sometimes
> Spiffy, if started on a terminal, dumps a copy of the files it's serving
> to that terminal.  I don't know when exactly it starts to do this, though :(

Haven't been able to find the cause of the crash, but I ran spiffy in a
screen session and logged its output.  And behold, I got binary-looking
file output again.  After looking at the logfile, I noticed the error
is the following (with special characters replaced by their hex values):
thread thread1663 terminated with exception: can not write to socket: (5 "<8A>
thread thread1664 terminated with exception: can not write to socket: (5 "<E5>7

(a lot of pages of this stuff)

So it seems often for some reason the server can't write to a socket.  Not
sure if this really is a bug, or for some reason the socket gets closed
unexpectedly.  Maybe the exception handler should be changed so it doesn't
print the entire binary output in these cases?  It would certainly improve
error output :)

"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: pgpTiSU2yo8me.pgp
Description: PGP signature

reply via email to

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