Artifacts Associated With Ticket 07563f771f53df48
Ticket change [e8f386d148] (rid 207214) by anonymous on 2022-11-23 01:27:59:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-markdown"
- comment initialized to:
On macOS 12.6 with Tcl built from MacPorts the following crashes: fconfigure -encoding binary stdout The back trace is as follows: ``` (lldb) run Process 84993 launched: '/usr/local/bin/tclsh9.0' (x86_64) can't find package tclreadline % fconfigure stdout -encoding binary alloc: invalid block: 0x108039070: 50 1 Process 84993 stopped * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0) frame #0: 0x000000010045eb5b Tcl`Tcl_Panic + 443 Tcl`Tcl_Panic: -> 0x10045eb5b <+443>: ud2 0x10045eb5d <+445>: subq $0x8, %rsp 0x10045eb61 <+449>: movq %r11, %rdi 0x10045eb64 <+452>: movq %rdx, %rsi Target 0: (tclsh9.0) stopped. (lldb) bt * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0) * frame #0: 0x000000010045eb5b Tcl`Tcl_Panic + 443 frame #1: 0x000000010047e401 Tcl`TclpFree + 513 frame #2: 0x000000010045be31 Tcl`TclFreeObj + 225 frame #3: 0x0000000100439935 Tcl`Tcl_WriteChars + 357 frame #4: 0x0000000100454d8d Tcl`___lldb_unnamed_symbol2065 + 237 frame #5: 0x0000000100454741 Tcl`Tcl_MainEx + 1569 frame #6: 0x0000000100003a18 tclsh9.0`___lldb_unnamed_symbol10 + 72 frame #7: 0x000000010001252e dyld`start + 462 ``` - foundin initialized to: "9.0a4"
- is_private initialized to: "0"
- login: "anonymous"
- priority initialized to: "5 Medium"
- private_contact initialized to: "b21760a8b5b8a20b0039089d843204d8b7262595"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "anonymous"
- subsystem initialized to: "24. Channel Commands"
- title initialized to: "Segfault when changing encoding on stdout"
- type initialized to: "Bug"
Ticket change [b6f8cfe17b] (rid 207215) by pointsman on 2022-11-23 02:55:01:
- icomment:
On debian 11.5: % info patchlevel 9.0a4 % fconfigure stdout -encoding binary alloc: invalid block: 0x55d572641fc0: 20 72
- login: "pointsman"
- mimetype: "text/plain"
- icomment:
Ticket change [4ea9cafb4d] (rid 207227) by jan.nijtmans on 2022-11-23 07:49:47:
- icomment: "Most likely, dup of [da63e4c1e]"
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
Ticket change [17e865d39a] (rid 207299) by jan.nijtmans on 2022-11-23 21:24:39:
- assignee changed to: "jan.nijtmans"
- closedate changed to: "2459907.39212617"
- closer changed to: "jan.nijtmans"
- icomment: "Fixed [3539aef8151152f1|here]"
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"