Artifacts Associated With Ticket 1400457fffffffffffffffffffffffffffffffff
Ticket change [af5017cf67] (rid 97790) by yahalom on 2006-01-09 15:06:58:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
tcl crashes when we use it on windows2003. it seems to happen when the io is used but it is hard to point on the exact spot. we compiled tcl with threads and this is what we get from visual studio: 10213740 push edx 10213741 mov eax,dword ptr [ebp-4] 10213744 mov ecx,dword ptr [eax+14h] 10213747 and ecx,0FFFFh 1021374D mov edx,dword ptr [ecx*4+10261544h] 10213754 push edx 10213755 push 10257474h 1021375A push 0 1021375C push 0 1021375E push 0 10213760 push 1 10213762 call 10214E40 10213767 add esp,20h 1021376A cmp eax,1 1021376D jne 10213770 =>1021376F int 3 10213770 xor eax,eax 10213772 test eax,eax 10213774 jne 10213733 10213776 mov ecx,dword ptr [ebp-4] 10213779 cmp dword ptr [ecx+14h],3 1021377D jne 102137EB 1021377F mov edx,dword ptr [ebp-4] 10213782 cmp dword ptr [edx+0Ch],0FEDCBABCh 10213789 jne 10213794 1021378B mov eax,dword ptr [ebp-4] 1021378E cmp dword ptr [eax+18h],0 10213792 je 102137B5 10213794 push 10257434h 10213799 push 0 Loaded symbols for 'E:\Ashrait\tcl\bin\tclsh84tg.exe' Loaded 'C:\WINDOWS\system32\ntdll.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\kernel32.dll', no matching symbolic information found. Loaded symbols for 'E:\Ashrait\tcl\bin\tcl84tg.dll' Loaded 'C:\WINDOWS\system32\advapi32.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\rpcrt4.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\user32.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\gdi32.dll', no matching symbolic information found. Loaded 'E:\Ashrait\tcl\bin\MSVCRTD.DLL', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\lpk.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\usp10.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\msvcrt.dll', no matching symbolic information found. Loaded 'E:\Ashrait\tcl\lib\tcl8.4\tbcload1.4 \tbcload14.dll', no matching symbolic information found. Loaded 'E:\Ashrait\tcl\lib\xorLib\systemUtils\nologoff. dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\wsock32.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\ws2_32.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\ws2help.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\msctf.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\mswsock.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\dnsapi.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\winrnr.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\wldap32.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\hnetcfg.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\wshtcpip.dll', no matching symbolic information found. Loaded 'E:\Ashrait\tcl\lib\tclx8.4\tclx84.dll', no matching symbolic information found. Loaded 'E:\Ashrait\tcl\lib\thread2.6.2\thread262.dll', no matching symbolic information found. Loaded 'E:\Ashrait\tcl\lib\Trf2.1\Trf21.dll', no matching symbolic information found. Loaded 'E:\Ashrait\tcl\lib\itcl3.3\itcl33.dll', no matching symbolic information found. Loaded 'E:\Ashrait\tcl\lib\tdom0.8.1\tdom081.dll', no matching symbolic information found. Loaded 'E:\Ashrait\tcl\lib\tclodbc2.3\tclodbc.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\odbc32.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common- Controls_6595b64144ccf1df_5.82.3790.1830_x- ww_1B6F474A\comctl32.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\comdlg32.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\shell32.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\shlwapi.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common- Controls_6595b64144ccf1df_6.0.3790.1830_x- ww_7AE38CCF\comctl32.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\odbcint.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\sqlsrv32.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\netapi32.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\oleaut32.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\ole32.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\sqlunirl.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\winspool.drv', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\version.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\nddeapi.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\sqlsrv32.rll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\secur32.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\odbccp32.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\msv1_0.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\iphlpapi.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\psapi.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\mslbui.dll', no matching symbolic information found. The thread 0xCFC has exited with code 0 (0x0).
- foundin initialized to: "obsolete: 8.4.12"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "yahalom"
- subsystem initialized to: "None"
- title initialized to: "threaded tcl crashes on win 2003"
- type initialized to: "Bug"
Ticket change [1d4b47c0df] (rid 90775) by mic42 on 2006-01-09 22:42:47:
- icomment:
Logged In: YES user_id=302287 I see at least Tclx, tdom, Itcl, Trf, Tclodbc and tbcload listed in your set of used extensions. Are all of those compiled with --enable-threads and the same memory allocator as the Tcl you use for debugging?
- login: "mic42"
- mimetype: "text/plain"
- username: "mic42"
- icomment:
Ticket change [3ef8e59579] (rid 121371) by hobbs on 2006-01-10 01:51:12:
- assignee changed to: "vasiljevic"
- closedate changed to: "2006-01-09T18:51:12"
- closer changed to: "hobbs"
- icomment:
Logged In: YES user_id=72656 This sounds like it might be outside the core, especially as you list a g (symbols built) tclsh, but the stack trace shows no Tcl functions.
- login: "hobbs"
- mimetype: "text/plain"
- resolution changed to: "Works For Me"
- status changed to: "Pending"
- username: "hobbs"
Ticket change [f62c5cc340] (rid 130246) by nobody on 2006-01-10 11:02:43:
- icomment:
Logged In: NO The decompile output is meaningless to us. Where in the source code is that?
- login: "nobody"
- mimetype: "text/plain"
- username: "nobody"
- icomment:
Ticket change [5f42ca6181] (rid 115784) by yahalom on 2006-01-10 17:59:52:
- icomment:
Logged In: YES user_id=130120 I removed Tclx but still happens. tclODBC and tdom and Itcl are compiled for threads. does the context help? MSVCRTD! 1021376f() MSVCRTD! 10213541() MSVCRTD! 102134ce() TclpFree(char *) FreeStrintInternalRep(Tcl_Obj *)
- login: "yahalom"
- mimetype: "text/plain"
- status changed to: "Open"
- username: "yahalom"
- icomment:
Ticket change [c24998a51e] (rid 111462) by msofer on 2006-01-10 18:54:30:
- icomment:
Logged In: YES user_id=148712 Assuming that "context" is a stack trace, the two Tcl functions in there suggest that some Tcl_Obj has a string rep that was allocated "improperly". This could happen in at least two different ways: (1) Tcl and Tcl extensions were compiled with different options (especially wrt memory allocation, which can be a side effect of some of them being threaded and some others not, or maybe some but all are using Tcl's memory debugging). (2) A Tcl_Obj was hand-crafted in one extension, and malloc was used to allocate its string rep (instead of Tcl_Alloc or ckalloc). HTH
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
- icomment:
Ticket change [35e9fe6f1a] (rid 107023) by yahalom on 2006-01-10 23:22:36:
- icomment:
Logged In: YES user_id=130120 I forgot to mention two things: 1. The exception happens in a code running within tclhttpd (Direct_Url). 2. It works fine on windows 2000
- login: "yahalom"
- mimetype: "text/plain"
- username: "yahalom"
- icomment:
Ticket change [5d5ee1fe49] (rid 115450) by yahalom on 2006-01-11 14:53:10:
- icomment:
Logged In: YES user_id=130120 I compiled tcl with mingw and the crash does not happen. it seems that compiling threaded tcl with vc 6 does not work well on windows 2003.
- login: "yahalom"
- mimetype: "text/plain"
- username: "yahalom"
- icomment:
Ticket change [46d10bae98] (rid 99581) by hobbs on 2006-03-29 12:50:26:
- closedate changed to: "2006-03-29T05:50:26"
- closer changed to: "hobbs"
- icomment:
Logged In: YES user_id=72656 Can this be reproduced on the head of the Thread cvs?
- login: "hobbs"
- mimetype: "text/plain"
- status changed to: "Pending"
- username: "hobbs"
Ticket change [f102be3c70] (rid 109289) by yahalom on 2006-03-29 14:29:13:
- icomment:
Logged In: YES user_id=130120 this bug is similias to another thread bug I reported. fixining of that bug seems to solve this one also. in the end I did compile it with vc6 and now it does not happen
- login: "yahalom"
- mimetype: "text/plain"
- status changed to: "Open"
- username: "yahalom"
- icomment:
Ticket change [fd430cdeea] (rid 108383) by hobbs on 2006-03-30 06:08:07:
- closedate changed to: "2006-03-29T23:08:07"
- closer changed to: "hobbs"
- status changed to: "Closed"