Overview
| Artifact ID: | 086ae725dfef54aa69d9599d118ddf1d0d387bfd |
|---|---|
| Ticket: | 0f14b45adc1932e4f9fbe0ad03777c13a09809b2
A bug in Tcl 64bit libraries |
| User & Date: | anonymous on 2014-10-07 05:53:15 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
I was trying to compile an open source program on windows 64bit. the program needs at least 64bit TCL libraries so I have build tcl85 static and dynamic libraries. And seems to work ok. Then I compiled my program which was also ok during compile time with no error or warning . I created the executables and when I try to run my program the program crashes in startup at a Tcl_SetVar statement with memory access violation error. I have put a zip file of the debugable executable here: http://gpiutmd.iut.ac.ir/vmd/MYVMD.rar for reproducing the error you should extract the rar file to an empty folder (it was originally on C:\temp\MYVMD in my computer) and run the vmd_WIN64.exe. it has the required pdb files for debugging. I compiled the program using a 64bit VS2008 with the latest updates and service pack, and tried to fix the error about 1 week but no chance. The only thing I guess is making the problem is the assembly translation of the code which I think is making the problem (maybe there is a bug in VS2008 compile optimization which in my opinion makes a pointer problem). any help would be appreciated. BTW If anyone thinks I should download the ready and compiled libraries of TCL 8.5 from tcl.tk instead of making them myself I should say, I have done this and the same problem persists. I also guess that I should try to build the TCL with a special kind of compiler flag to disable optimization but I don't know how I should do that in its windows makefile.vc, if my previous guess is right. And also most important to this, the very same program works fine with 32bit compilation (also 32bit tcl). I have checked it. Please help me (of course in detail) what should I do? cheers
- foundin changed to: "8.5.16"
- is_private changed to: "0"
- login: "anonymous"
- priority changed to: "5 Medium"
- private_contact changed to: "12b9ce977ab964cb0c83efe506f18bba88b144ab"
- resolution changed to: "None"
- severity changed to: "Important"
- status changed to: "Open"
- submitter changed to: "anonymous"
- subsystem changed to: "69. Other"
- title changed to: "A bug in Tcl 64bit libraries"
- type changed to: "Bug"