Bug 25991 - spawn doesn't work in expect.
spawn doesn't work in expect.
Status: CLOSED WORKSFORME
Product: Red Hat Linux
Classification: Retired
Component: tcltk (Show other bugs)
7.3
ia64 Linux
medium Severity medium
: ---
: ---
Assigned To: Jens Petersen
Bill Huang
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-02-04 17:24 EST by Red Hat Bugzilla
Modified: 2008-03-13 15:18 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-03-20 11:17:08 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 Red Hat Bugzilla 2001-02-04 17:24:12 EST
# expect
expect1.1>  spawn ls
Segmentation fault
Comment 1 Red Hat Bugzilla 2001-02-04 22:02:40 EST
I think I found the problem. tcltk is not 64bit clean. That is why it
fails under ia64. There are tens of warnings like

./../generic/tclIndexObj.c:97: warning: passing arg 4 of
`Tcl_GetIndexFromObjStruct' with different width due to prototype
./../generic/tclIndexObj.c: In function `Tcl_GetIndexFromObjStruct':
./../generic/tclIndexObj.c:154: warning: cast from pointer to integer of
different size
./../generic/tclIndexObj.c: In function `Tcl_WrongNumArgs':
./../generic/tclIndexObj.c:331: warning: cast from pointer to integer of
different size

I believe if all those warnings are fixed, the ia64 problem will
go away.
Comment 2 Red Hat Bugzilla 2001-02-13 13:45:21 EST
autoconf 64 bit doesn't seem to work. The above bugs are failing because
routines are using unions to access the same data different ways.

will defer and try to get it for gold.
Comment 3 Red Hat Bugzilla 2001-02-13 14:04:09 EST
I have a kludge at

http://ftp.valinux.com/pub/support/hjl/ia64/

It has both srpms and rpms. It is a kludge, not
a real fix, although it works for me and
Jakub.
Comment 4 Red Hat Bugzilla 2001-02-13 15:45:03 EST
Thanks for the patch. Need to test on the other architectures before I go with
it. Last version had problems on IA-32 and other architectures (make clean
failed on some tests-- some font related, others more serious and pointing to
something deeper)

I'm taking a look at it.
Comment 5 Red Hat Bugzilla 2003-01-16 02:50:38 EST
Is this still a problem?
Comment 6 Red Hat Bugzilla 2003-03-20 11:17:08 EST
Closing this for now, since it is no longer clear what
the problem was.

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