Overview
| Artifact ID: | 32e0f6c4eb7df015bf3ecbea75cfec6d5c572ab3 |
|---|---|
| Ticket: | 132fad6fde1b40e8f1e2081884313a98fdd1d4cc
exit 0 - Hangs under Windows |
| User & Date: | hypnotoad on 2014-09-02 19:41:46 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
The latest Tcl release in trunk now locks the process whenever "exit" is called. (Locked defined as, Windows throws up an error saying the process has stopped responding) My build procedure: cd $LOCALSANDBOX/tcl/win make distclean fossil update core-8-6-2 ./configure --prefix=c:/odie make all ./tclsh86.exe exit.tcl (Exits properly) make distclean fossil update trunk ./configure --prefix=c:/odie make all ./tclsh86.exe exit.tcl (Process hangs) Exit.tcl contains the following line: exit 0 When I gdb ./tclsh86.exe run exit.tcl The stack trace I receive is: $ gdb ./tclsh86.exe GNU gdb (GDB) 7.6.1 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "mingw32". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from c:\odie\sandbox\tcl\win\tclsh86.exe...done. (gdb) run exit.tcl Starting program: c:\odie\sandbox\tcl\win/./tclsh86.exe exit.tcl [New Thread 2868.0xa08] warning: HEAP[tclsh86.exe]: warning: Invalid address specified to RtlFreeHeap( 004C0000, 00752D60 ) Program received signal SIGTRAP, Trace/breakpoint trap. 0x77140575 in ntdll!RtlpNtEnumerateSubKey () from C:\Windows\system32\ntdll.dll (gdb) bt #0 0x77140575 in ntdll!RtlpNtEnumerateSubKey () from C:\Windows\system32\ntdll.dll #1 0x77102aba in ntdll!RtlUlonglongByteSwap () from C:\Windows\system32\ntdll.dll #2 0x00752d58 in ?? () #3 0x771415cf in ntdll!RtlpNtEnumerateSubKey () from C:\Windows\system32\ntdll.dll #4 0x770fac29 in ntdll!RtlUlonglongByteSwap () from C:\Windows\system32\ntdll.dll #5 0x004c0000 in ?? () #6 0x770a34a2 in ntdll!RtlImageNtHeader () from C:\Windows\system32\ntdll.dll #7 0x769f14ad in KERNEL32!HeapFree () from C:\Windows\syswow64\kernel32.dll #8 0x6d5ffdcf in TclFreeAllocCache () from c:\odie\sandbox\tcl\win\tcl86.dll #9 0x6d62c855 in TclpFreeAllocCache () from c:\odie\sandbox\tcl\win\tcl86.dll #10 0x6d600654 in TclFinalizeThreadAllocThread () from c:\odie\sandbox\tcl\win\tcl86.dll #11 0x6d593bab in Tcl_Exit () from c:\odie\sandbox\tcl\win\tcl86.dll #12 0x6d523a36 in Tcl_ExitObjCmd () from c:\odie\sandbox\tcl\win\tcl86.dll #13 0x6d510480 in Dispatch () from c:\odie\sandbox\tcl\win\tcl86.dll #14 0x6d5151f5 in TclNRRunCallbacks () from c:\odie\sandbox\tcl\win\tcl86.dll #15 0x6d51721f in TclEvalEx () from c:\odie\sandbox\tcl\win\tcl86.dll #16 0x6d5c3a43 in Tcl_FSEvalFileEx () from c:\odie\sandbox\tcl\win\tcl86.dll #17 0x6d5ca7b3 in Tcl_MainExW () from c:\odie\sandbox\tcl\win\tcl86.dll #18 0x004039fa in main ()
- foundin changed to: "trunk"
- is_private changed to: "0"
- login: "hypnotoad"
- priority changed to: "5 Medium"
- private_contact changed to: "5846a328c39e4967aaeb56d4e03d3e783e2dd1b8"
- resolution changed to: "None"
- severity changed to: "Severe"
- status changed to: "Open"
- submitter changed to: "hypnotoad"
- subsystem changed to: "04. Async Events"
- title changed to: "exit 0 - Hangs under Windows"
- type changed to: "Bug"