[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/1.4.2.1i |
> 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>
<D6>\t);$<BD><D5><B2>K<A4>A<B6><F5>m<B7><DD><BB><9F><FF><D9>")
thread thread1664 terminated with exception: can not write to socket: (5 "<E5>7
<DA><C6><A0><D1><DE>x<8B>LK[<EB><BB>Syc4W<97><F7>&<D2>\^Kk?<B0><C4><97><F7>f<E6>
\^@<B1><A4>\^V\^Zn<8C><F6><F1><83>ogs<E6>\^Vi\^U|Yy<A5>_%<8E><9C>&<9E>hn\^R\^K
(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 :)
Peter
--
http://www.student.kun.nl/peter.bex
--
"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
pgpTiSU2yo8me.pgp
Description: PGP signature
Re: [Chicken-users] Spiffy crashes occasionally, felix winkelmann, 2005/06/09
Re: [Chicken-users] Spiffy crashes occasionally, Peter Bex, 2005/06/12