> I can't tell you the value of count, as it is optimized out. So as far > as i understand the gdb documentation i can't restore it. > > clog->size is: > (gdb) p clog->size > $1 = 131072 OK, so cpos is clearly out of range. Please test with my workaround - that should at least avoid the crash.