28 Jan
2006
28 Jan
'06
10:47 p.m.
On Sat, 2006-01-28 at 23:11 +0200, Timo Sirainen wrote:
#0 i_stream_read (stream=0x0) at istream.c:48 48 if (stream->closed) (gdb) bt #0 i_stream_read (stream=0x0) at istream.c:48 #1 0x0804ade2 in client_read (client=0x8070410) at client.c:311 #2 0x0804ae3c in client_input (context=0x8070410) at client.c:333
Hmm. Have to look into this. Looking at the code, it seems that client structure was unreferenced too many times, but client_destroy() was never called.
I found one way to crash it, but I'm not sure if it's the same problem as here. Fixed it anyway and added some more asserts to catch the bug earlier.