Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2015-10-14
09:00 • Closed ticket [fff6aad1d2]: TCL 8.6.4 upgrade is failing with tclsh.exe crash (3... artifact: f95aa4dd40 user: jan.nijtmans
2015-10-13
10:03 • Ticket [fff6aad1d2]: 3 changes artifact: a5f609e195 user: anonymous
08:09 • Ticket [fff6aad1d2]: 3 changes artifact: 2bf3db7633 user: jan.nijtmans
07:40 • Ticket [fff6aad1d2]: 3 changes artifact: 44c1017f9f user: anonymous
07:40 • Ticket [fff6aad1d2]: 3 changes artifact: 14813e2cb6 user: anonymous
07:34 • New ticket [fff6aad1d2]. artifact: f745788967 user: anonymous

TCL 8.6.4 upgrade is failing with tclsh.exe crash (32-bit)

Closed / Invalidfff6aad1d2aa56bdd15668b395582b03657a4550Created 11 years agoUpdated 11 years ago
Descriptionplain2015-10-13 07:34:31
I have upgraded TCL from 8.5.3 to 8.6.4. I have upgraded related modules as below to their latest version which are compatible with TCL and TK 8.6.4 upgrade.
tcl864-src
tk864-src
itcl4.0.3
itk4.0.0
thread272

When I run basic test, I get an error Tclsh Application has stopped working.
Can I get some pointers to solve this error? Thanks.
anonymous Ticket [fff6aad1d2]: 3 changes [History diff]2015-10-13 07:40:21
anonymous Ticket [fff6aad1d2]: 3 changes [History diff]2015-10-13 07:40:38
jan.nijtmansplain2015-10-13 08:09:28
Can I get some pointers on your environment? Did you compile/install it yourself? Or did you use the activestate build? If 1), which compiler did you use, MSVC/Mingw/Mingw-64? If 2) you should direct the report there. Without this information, we can't do much for you.
anonymousplain2015-10-13 10:03:36
I compiled it on gcc using Mingw from ANT on Windows7.

I found it is precisely failing at 'puts' in below code-

package require localjavasetup
package require java

set oS [java::new java.lang.String "foo" ]
puts [$oS toString]

I checked in logs it gives - child killed: segmentation violation in test case logs.

Please let me know in case you need more information. Thanks
jan.nijtmansplain2015-10-14 09:00:34
This confirms what I guessed: The problem is outside Tcl. The "package require java" succeeds, which means that you have tclblend installed (which you didn't mention in any of your comments so far). The command which is failing is not the "puts", it's the "$oS toString", which is a tclblend command.

So, I'm very sorry, but you'll have to consult the tclblend people: [http://tcljava.sourceforge.net/docs/website/index.html]
Log in (anonymous is fine) to add a comment.