- priority: 5 --> 2
- status: open --> closed-fixed
OriginalBugID: 3981 Bug
Version: 8.2.1
SubmitDate: '2000-01-06'
LastModified: '2000-01-07'
Severity: MED
Status: Closed
Submitter: techsupp
ChangedBy: hobbs
OS: SunOS
FixedDate: '2000-10-25'
ClosedDate: '2000-01-07'
Name:
Michal Prussak
Comments:
This probably happens on any Tcl API call that deals with strings if the string subsystem has not been initialized.
Workaround is to call TclInitSubsystems(NULL);
ReproducibleScript:
main ()
{
/* declarations */
....
consoleChannel = Tcl_CreateChannel(&consoleChannelType, "console0",
(ClientData) TCL_STDIN, TCL_READABLE);
interp = Tcl_CreateInterp();
}
ObservedBehavior:
Core dump
DesiredBehavior:
No core dump
I belive what the user really wants to call is the public:
Tcl_FindExecutable(argv[0])
-- 01/07/2000 hobbs