Skip to content
Tcl Source Code History Of Ticket e50d66e6c3
Login

History Of Ticket e50d66e6c3

Artifacts Associated With Ticket e50d66e6c3

  1. Ticket change [87a2d98774] (rid 151928) by jal_frezie on 2017-02-16 11:54:11:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      32-bit Windows: if I load a .dll that has been built with MinGW g++ (4.9.1 and 5.3 tested), it works as expected but during exit from Tcl a crash occurs: "This application has requested the Runtime to terminate it in an unusual way". This happens even if Tcl fails to find an Init procedure in the loaded .dll, and even if the .dll is itself built with gcc but loads another .dll built with g++. Tested with Tcl 8.6.6 built with MinGW gcc 4.91 and Microsoft Visual c++ 2015, and also with ActiveState's Tcl 8.6.4
      
    5. foundin initialized to: "8.6.6"
    6. is_private initialized to: "0"
    7. login: "jal_frezie"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "21e680c66afc6863cbbaf0aa5b26c9e8a4429339"
    10. resolution initialized to: "None"
    11. severity initialized to: "Cosmetic"
    12. status initialized to: "Open"
    13. submitter initialized to: "jal_frezie"
    14. subsystem initialized to: "17. Commands I-L"
    15. title initialized to: "Crash on exit after loading dll built by mingw g++"
    16. type initialized to: "Bug"
  2. Ticket change [7e5a432e4a] (rid 257789) by serhiy.storchaka on 2026-10-12 19:27:52:

    1. icomment:
      I cannot reproduce it on 64-bit Windows 11: a DLL built with MinGW g++ (with a
      static C++ object) loads into 8.6.18 and 9.1 tclsh and exits cleanly, also with
      TCL_FINALIZE_ON_EXIT=1 and when the Init function is not found. I could not
      test a 32-bit build. Does it still happen with a current 32-bit MinGW?
      
    2. login: "serhiy.storchaka"
    3. mimetype: "text/x-fossil-wiki"
    4. resolution changed to: "Works For Me"
    5. status changed to: "Pending"