|
2006-03-30
| ||
| 06:08 | • Closed ticket [1400457fff]: threaded tcl crashes on win 2003 plus 2 other ch... artifact: fd430cdeea user: hobbs | |
|
2006-03-29
| ||
| 14:29 | • Open ticket [1400457fff]. artifact: f102be3c70 user: yahalom | |
| 12:50 | • Pending ticket [1400457fff]. artifact: 46d10bae98 user: hobbs | |
|
2006-01-11
| ||
| 14:53 | • Ticket [1400457fff]: 4 changes artifact: 5d5ee1fe49 user: yahalom | |
|
2006-01-10
| ||
| 23:22 | • Ticket [1400457fff]: 4 changes artifact: 35e9fe6f1a user: yahalom | |
| 18:54 | • Ticket [1400457fff]: 4 changes artifact: c24998a51e user: msofer | |
| 17:59 | • Open ticket [1400457fff]. artifact: 5f42ca6181 user: yahalom | |
| 11:02 | • Ticket [1400457fff]: 4 changes artifact: f62c5cc340 user: nobody | |
| 01:51 | • Pending ticket [1400457fff]. artifact: 3ef8e59579 user: hobbs | |
|
2006-01-09
| ||
| 22:42 | • Ticket [1400457fff]: 4 changes artifact: 1d4b47c0df user: mic42 | |
| 15:06 | • New ticket [1400457fff]. artifact: af5017cf67 user: yahalom | |
threaded tcl crashes on win 2003
Closed / Works For Me1400457fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 21 years ago
Descriptionplain2006-01-09 15:06:58
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).
mic42plain2006-01-09 22:42:47
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?
hobbsplain2006-01-10 01:51:12
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.
nobodyplain2006-01-10 11:02:43
Logged In: NO The decompile output is meaningless to us. Where in the source code is that?
yahalomplain2006-01-10 17:59:52
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 *)
msoferplain2006-01-10 18:54:30
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
yahalomplain2006-01-10 23:22:36
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
yahalomplain2006-01-11 14:53:10
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.
hobbsplain2006-03-29 12:50:26
Logged In: YES user_id=72656 Can this be reproduced on the head of the Thread cvs?
yahalomplain2006-03-29 14:29:13
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
hobbs Closed ticket [1400457fff].
[History diff]2006-03-30 06:08:07
Log in (anonymous is fine) to add a comment.