Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ef221150510064bbf35170aa192ffd0c928cdaa3d9d504344fd7c05691d019ba
Ticket: f0b80a3db9443698e13867cb8e01499f1f661fdd
macOS : crash when building Tcl in develop mode
User & Date: sl1200mk2 on 2025-09-11 08:50:54
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-plain"
  4. comment changed to:
    Hi,
    I would like to use Tcl in develop mode in order to print symbol and line numbers when a crash occur (Tk is crashing on macOS26 and I would like to report it).
    
    so on macOS I'm compiling Tcl like this:
    make -j 4 -C macosx develop  CFLAGS="-fno-omit-frame-pointer -Og -g"
    $SUDO make -C macosx install-develop
    
    when I start my app it does not even start and crash like that:
    Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
    0   libsystem_kernel.dylib        	       0x18bac2388 __pthread_kill + 8
    1   libsystem_pthread.dylib       	       0x18bafb88c pthread_kill + 296
    2   libsystem_c.dylib             	       0x18ba04a3c abort + 124
    3   libsystem_c.dylib             	       0x18ba03c70 __assert_rtn + 284
    4   Tcl                           	       0x10116cda4 <deduplicated_symbol> + 40
    5   Tcl                           	       0x101139fdc TclZipfs_TclLibrary + 4 (tclZipfs.c:4380) [inlined]
    6   Tcl                           	       0x101139fdc ZipFSTclLibraryObjCmd + 140 (tclZipfs.c:4413)
    7   Tcl                           	       0x10102fcf4 Dispatch + 104 (tclBasic.c:4640)
    8   Tcl                           	       0x10102dc28 TclNRRunCallbacks + 80 (tclBasic.c:4656) [inlined]
    9   Tcl                           	       0x10102dc28 Tcl_EvalObjv + 116 (tclBasic.c:4394) [inlined]
    10  Tcl                           	       0x10102dc28 TclEvalEx + 2216 (tclBasic.c:5495)
    11  Tcl                           	       0x1010cdbdc Tcl_Init + 128 (tclInterp.c:400)
    12  DLight                        	       0x1009b6eb8 Tk_AppInit + 48
    13  DLight                        	       0x1009b83a0 main + 288
    
    
    best regards,
    nicolas
    
  5. foundin changed to: "trunk"
  6. is_private changed to: "0"
  7. login: "sl1200mk2"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "10e302b1a1ae78d60a0878d87bdb4b5f874b815e"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "sl1200mk2"
  14. subsystem changed to: "53. Configuration and Build Tools"
  15. title changed to: "macOS : crash when building Tcl in develop mode"
  16. type changed to: "Bug"