MinGW Tcl crashes
Closed / Fixed1235544fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 21 years ago
Descriptionplain2005-07-10 10:50:06
Tcl8.4.11 compiled on a W2K (SP4) system with MSYS/MinGW (msys_mingw 0.6) crashes with error 'Programerror, tclsh.exe has caused a program error and closes. Restart the program. Error protocoll is created.'
mdejongplain2005-07-17 06:29:02
Logged In: YES user_id=90858 This seems to be related to 1225957 and 1213678. I have downloaded and compiled Tcl 8.4.11 and tested them with mingw_msys 6 and I did not see any crashes on WinXP. The submitter will need to provide a test case that demonstrates the crash in question. Reassigning since Kevin knows how this new ASM code works.
magroplain2005-07-17 20:28:20
Logged In: YES user_id=83653 config, drwatson and dump: ftp://magro-soft.com/TclError.zip *** Attaching file does not work, ends with: Error Invalid filename
kennykb Ticket [1235544fff]: 1 change
[History diff]2005-07-18 21:53:34
kennykbplain2005-07-18 22:17:32
Logged In: YES
user_id=99768
I'm not sure where Mo reaches the conclusion that
this is related to the asm code. The (incomplete)
config.log does indeed include some checks for
SEH and EXCEPTION_DISPOSITION, but those
tests appear to have given normal results.
Rather, the location of the crash appears
to implicate TkWinGetDrawableDC. (It does NOT
help that the DrWatson disassembly has messed
up - for instance, the target of the 'jnz' at 0x41bd32
is not 42485b, but rather 41bd5b.
It looks as if there's a null pointer being passed
for the Drawable in TkWinGetDrawableDC.
The stack trace back from there is:
Tk_3DVerticalBevel
Tk_Draw3DRectangle
TkCreateFrame
and the event loop.
This should really be refiled as a Tk bug, but assigning
to Jeff for now.
mdejongplain2005-08-15 06:46:56
Logged In: YES user_id=90858 I am not sure if this is related, but I noticed that the code in tkWin32Dll.c was not updated to use Kenny's SEH approach. That seemed to cause some crashing on my machine when running `make test`. The attached patch seems to fix it. Kenny, could you take a look and see if it looks ok to you?
mdejongplain2005-08-15 06:46:57
File Added - 145661: tkdll.patch
mdejongplain2005-08-24 01:35:38
Logged In: YES user_id=90858 Added tkdll.patch to the HEAD and 84 branch for TK on 2005-08-23.
hobbs Pending ticket [1235544fff].
[History diff]2005-10-06 12:13:08
sf-robotplain2005-10-21 09:20:18
Logged In: YES user_id=1312539 This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker).
Log in (anonymous is fine) to add a comment.
Attachments:
- tkdll.patch [download] added by mdejong on 2005-08-15 06:46:57. [details]