Bug 90474 - tcl crashes when executing ctype command
tcl crashes when executing ctype command
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: tcltk (Show other bugs)
9
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jens Petersen
Bill Huang
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-05-08 15:09 EDT by Kyle Bateman
Modified: 2007-04-18 12:53 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-02-26 02:06:41 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Kyle Bateman 2003-05-08 15:09:46 EDT
Description of problem:
When executing the ctype tcl command, the program gives the following error and
then aborts:

TclX_CtypeObjCmd: UTF character longer than a int
Aborted


Version-Release number of selected component (if applicable):
tcl-8.3.5-88

How reproducible:
Always

Steps to Reproduce:
1. tcl
2. ctype digit 1

    

Actual Results:  Gives error:
TclX_CtypeObjCmd: UTF character longer than a int


Expected Results:  Should print a "1"
Comment 1 Jens Petersen 2003-05-08 21:01:35 EDT
Can you explainly more carefully how to reproduce this, please?

I see:

~% tclsh
% ctype
invalid command name "ctype"
% ctype digit 1
invalid command name "ctype"
Comment 2 Kyle Bateman 2003-05-09 00:00:51 EDT
Looks like ctype is part of tclX (not standard tcl) so you have to use "tcl" not
"tclsh" to see the right error.  If that doesn't work, try the shell script:

#!/usr/bin/tcl
ctype digit 1

Comment 3 Jens Petersen 2003-05-09 01:24:29 EDT
Thanks, reproduced.
Comment 4 Jens Petersen 2004-02-26 02:06:41 EST
Seems to be fixed with tcl-8.3.5-1 in FC devel.
Comment 5 Jens Petersen 2004-02-26 23:11:09 EST
tclx-8.3.5-1, I mean.

Note You need to log in before you can comment on or make changes to this bug.