|
2010-10-24
| ||
| 14:19 | • Deleted ticket [3091701fff]: TclAppendBytesToByteArray infinite loop plus 7 ... artifact: 1ee582da82 user: dkf | |
|
2010-10-21
| ||
| 09:46 | • Ticket [3091701fff]: 2 changes artifact: 0f1e32c7d6 user: andygoth | |
| 02:45 | • New ticket [3091701fff]. artifact: 384a847b57 user: andygoth | |
TclAppendBytesToByteArray infinite loop
Deleted3091701fffffffffffffffffffffffffffffffffCreated 16 years agoUpdated 16 years ago
Descriptionplain2010-10-21 02:45:41
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.
andygoth Ticket [3091701fff]: 2 changes
[History diff]2010-10-21 09:46:18
dkfplain2010-10-24 14:19:54
allow_comments - 1 dupe of 3067036
Log in (anonymous is fine) to add a comment.