| |||||||||||
| |||||||||||
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 "Execute $PROG($JOUEUR) $PLATEAU $ARGS($JOUEUR)" (procedure "WaitPlay" line ![]() invoked from within "WaitPlay" (procedure "Next" line 40) invoked from within "Next" (procedure "Start" line 3) invoked from within "Start" 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 www.opentalk.org.uk and
archived here for reference. To jump to the archive index please
follow this link.
|
| ||||||||||
PH: 01144 1225 708225 • FAX: 01144 1225 793803 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho |