From: SourceForge.net <no...@so...> - 2010-10-21 02:46:19
|
Bugs item #3091701, was opened at 2010-10-21 02:45 Message generated for change (Settings changed) made by andygoth You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=3091701&group_id=10894 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: 12. ByteArray Object >Group: development: 8.6b1.1 Status: Open Resolution: None >Priority: 9 Private: No Submitted By: Andy Goth (andygoth) Assigned to: Donal K. Fellows (dkf) Summary: TclAppendBytesToByteArray infinite loop Initial Comment: attempt = byteArrayPtr->allocated; do { attempt *= 2; } while (attempt < used+len); This code in TclAppendBytesToByteArray loops forever when byteArrayPtr->allocated is initially zero. This explains the lock-up dzach reported on http://wiki.tcl.tk/23626 . I have reproduced the problem and used gdb to track it down to these few lines. The procedure is as dzach said on the Wiki (POST from MSIE8), and his "set chunk {}" workaround also works for me. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=3091701&group_id=10894 |