Overview
| Artifact ID: | 384a847b57046a619cbc6963db835700b496b6e1 |
|---|---|
| Ticket: | 3091701fffffffffffffffffffffffffffffffff
TclAppendBytesToByteArray infinite loop |
| User & Date: | andygoth on 2010-10-21 02:45:41 |
Changes
- assignee changed to: "dkf"
- cmimetype changed to: "text/plain"
- comment changed to:
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. - foundin changed to: "None"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "andygoth"
- subsystem changed to: "12. ByteArray Object"
- title changed to: "TclAppendBytesToByteArray infinite loop"
- type changed to: "Bug"