Skip to content
Tcl Source Code History Of Ticket 07563f771f53df48
Login

History Of Ticket 07563f771f53df48

Artifacts Associated With Ticket 07563f771f53df48

  1. Ticket change [e8f386d148] (rid 207214) by anonymous on 2022-11-23 01:27:59:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-markdown"
    4. 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
      ```
      
    5. foundin initialized to: "9.0a4"
    6. is_private initialized to: "0"
    7. login: "anonymous"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "b21760a8b5b8a20b0039089d843204d8b7262595"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "anonymous"
    14. subsystem initialized to: "24. Channel Commands"
    15. title initialized to: "Segfault when changing encoding on stdout"
    16. type initialized to: "Bug"
  2. Ticket change [b6f8cfe17b] (rid 207215) by pointsman on 2022-11-23 02:55:01:

    1. icomment:
      
      On debian 11.5:
      
      % info patchlevel
      9.0a4
      % fconfigure stdout -encoding binary
      alloc: invalid block: 0x55d572641fc0: 20 72
      
    2. login: "pointsman"
    3. mimetype: "text/plain"
  3. Ticket change [4ea9cafb4d] (rid 207227) by jan.nijtmans on 2022-11-23 07:49:47:

    1. icomment: "Most likely, dup of [da63e4c1e]"
    2. login: "jan.nijtmans"
    3. mimetype: "text/x-fossil-wiki"
  4. Ticket change [17e865d39a] (rid 207299) by jan.nijtmans on 2022-11-23 21:24:39:

    1. assignee changed to: "jan.nijtmans"
    2. closedate changed to: "2459907.39212617"
    3. closer changed to: "jan.nijtmans"
    4. icomment: "Fixed [3539aef8151152f1|here]"
    5. login: "jan.nijtmans"
    6. mimetype: "text/x-fossil-wiki"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"