Training, Open Source computer languages
PerlPHPPythonMySQLApache / TomcatTclRubyJavaC and C++LinuxCSS 
Search for:
Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact
For 2023 (and 2024 ...) - we are now fully retired from IT training.
We have made many, many friends over 25 years of teaching about Python, Tcl, Perl, PHP, Lua, Java, C and C++ - and MySQL, Linux and Solaris/SunOS too. Our training notes are now very much out of date, but due to upward compatability most of our examples remain operational and even relevant ad you are welcome to make us if them "as seen" and at your own risk.

Lisa and I (Graham) now live in what was our training centre in Melksham - happy to meet with former delegates here - but do check ahead before coming round. We are far from inactive - rather, enjoying the times that we are retired but still healthy enough in mind and body to be active!

I am also active in many other area and still look after a lot of web sites - you can find an index ((here))
can anybody help me with a chess game program

Posted by Hanken_Mona (Hanken_Mona), 31 August 2004
when execute the tcl, there is an application error:

child killed: segmentation violation
child killed: segmentation violation
   while executing
"exec $Programme $Fichier $Temps"
   (procedure "Execute" line 2)
   invoked from within
   (procedure "WaitPlay" line
   invoked from within
   (procedure "Next" line 40)
   invoked from within
   (procedure "Start" line 3)
   invoked from within
   invoked from within
".plateau.start invoke"
   ("uplevel" body line 1)
   invoked from within
"uplevel #0 [list $w invoke]"
   (procedure "tk::ButtonUp" line 22)
   invoked from within
"tk::ButtonUp .plateau.start"
   (command bound to event)

when it execute, it stops in procedure execute: so i
am not sure the problem is in file tcl or in others
application files;

Posted by admin (Graham Ellis), 31 August 2004
Difficult question without more information!  Suggestion - try printing out the parameters that are passed into the $Programme exec call just before your Tcl script makes the call, and then try to run that programme stand alone; this may give you a clue.

By the way  "Segmentation Violation" is much more often a sign of a problem in a C program than one in a scripting language such as Tcl which should be protecting the user from such problems.

You may also find that testing you underlying problem, first, on its own will help you get to a solution in two easy steps rather than one difficult one where you're trying to debug two things in parallel,

This page is a thread posted to the opentalk forum at and archived here for reference. To jump to the archive index please follow this link.

You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2024: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 793803 • EMAIL: • WEB: • SKYPE: wellho