Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: aed198642d57bd44e026ad6712332125050e12e1
Ticket: 3459659fffffffffffffffffffffffffffffffff
tclsh85sg crashes in BaseThreadInitThunk
User & Date: tombert on 2011-12-14 19:23:46
Changes

  1. assignee changed to: "andreas_kupries"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Compiling Tcl 8.5.11 trunk with MinGW, gcc 4.6.1, Win7 32bit causes tcl to crash on exit:
    
    catched with dr. mingw:
    
    tclsh85sg.exe caused an Access Violation at location 004a1d4e in module tclsh85sg.exe Reading from location ffffffff.
    Registers:
    eax=0180cb68 ebx=00000051 ecx=00000000 edx=004a1d4e esi=0000002b edi=00000003
    eip=004a1d4e esp=0022e69c ebp=0022e878 iopl=0         nv up ei pl nz na pe nc
    cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010202
    
    Call stack:
    004A1D4E  tclsh85sg.exe:004A1D4E
    00473926  tclsh85sg.exe:00473926
    004CDF57  tclsh85sg.exe:004CDF57
    004CCA0B  tclsh85sg.exe:004CCA0B
    004749B8  tclsh85sg.exe:004749B8
    0049CBC7  tclsh85sg.exe:0049CBC7
    00472A03  tclsh85sg.exe:00472A03
    004716DE  tclsh85sg.exe:004716DE
    00471857  tclsh85sg.exe:00471857
    0046C093  tclsh85sg.exe:0046C093
    0046BA7E  tclsh85sg.exe:0046BA7E
    0046BB23  tclsh85sg.exe:0046BB23
    00434EF9  tclsh85sg.exe:00434EF9
    0043536B  tclsh85sg.exe:0043536B
    0043544C  tclsh85sg.exe:0043544C
    00436990  tclsh85sg.exe:00436990
    00436864  tclsh85sg.exe:00436864
    00445C6B  tclsh85sg.exe:00445C6B
    0040202C  tclsh85sg.exe:0040202C
    00401404  tclsh85sg.exe:00401404
    004010B9  tclsh85sg.exe:004010B9  __mingw_CRTStartup  crt1.c:244
    
    00401284  tclsh85sg.exe:00401284  WinMainCRTStartup  crt1.c:274
    
    7675ED6C  kernel32.dll:7675ED6C  BaseThreadInitThunk
    770337F5  ntdll.dll:770337F5  RtlInitializeExceptionChain
    770337C8  ntdll.dll:770337C8  RtlInitializeExceptionChain
    
    
    To reproduce:
    Compile 8.5.11 trunk with latest mingw in Win7 with compiler switches:
    --enable-threads --enable-symbols --disable-shared
    
    start the shell tclsh85sg.exe
    and then type "exit" and enter - the application crashes.
    
    My original trackers are these:
    https://sourceforge.net/tracker/?func=detail&aid=3448556&group_id=10894&atid=110894
    https://sourceforge.net/tracker/?func=detail&aid=3454495&group_id=516797&atid=2100300
    
    But with disabled-shared I'am able to crash with tcl only.
    
    I assume that this is the cause of all other issues.
    
    thx
    
    
  4. foundin changed to: "None"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "tombert"
  10. subsystem changed to: "49. Threading"
  11. title changed to: "tclsh85sg crashes in BaseThreadInitThunk"
  12. type changed to: "Bug"