Overview
| Artifact ID: | 01d27686159cf9fd451dea5daa4d7dc759a62b4e |
|---|---|
| Ticket: | 593810ffffffffffffffffffffffffffffffffff
Channel Transfer crashes |
| User & Date: | andreas_kupries on 2002-08-21 02:13:42 |
Changes
- icomment:
Logged In: YES user_id=75003 New datapoint: Start thread-enabled tclsh (in MSVC++ debugger), set a breakpoint in file tclWinSock, line 1776. This is where the core retrieves the tsdPtr for the SendMessage stuff later. Source non-crashing script, step into the tsd retrieval. The ultimate routine is TlsGetValue, presumably provided by Windows. I can't step into it. Here things are ok. Now source the crashing script, do not change interpreters. Step into the retrieval again. All arguments etc. are the same as before, but now TlsGetValue returns NULL.. The reason is unknown. It is suspected that somewhere some memory went haywire. Couldn't prove this however. 'memory validate on' does not trigger anything before we hit the crash (Yes, I used tcl/threads compiled with TCL_MEM_DEBUG). I declare this a windows specific bug for now, because of TlsGetValue, and the info by Don Porter that the attached crashing script is running ok on his Linux/Alpha.
- login: "andreas_kupries"
- mimetype: "text/plain"
- username: "andreas_kupries"