#21 Segmentation fault on expect

closed-out-of-date
nobody
None
5
2010-08-28
2003-06-15
Anonymous
No

Hi, (rsvp to expect@thedogsbollocks.co.uk)

Seg fault occurs on cmd expect as follows:

Linux Server0 2.4.18-24.7.xsmp #1 SMP Fri Jan 31
06:10:55 EST 2003 i686 unknown

# expect -d
expect version 5.38.0
argv[0] = expect argv[1] = -d
set argc 0
set argv0 "expect"
set argv ""
expect1.1> spawn pwd
spawn pwd
parent: waiting for sync byte
parent: telling child to go ahead
parent: now unsynchronized from child
spawn: returns {13211}
13211
expect1.2> expect a

expect: does "" (spawn_id exp4) match glob
pattern "\u4003"? no
/root
Segmentation fault
#

Discussion

  • Logged In: YES
    user_id=75003

    What version of Tcl was used ? Does the problem happen with
    Tcl 8.4.3 and the latest CVS head from here too ? Is it
    possible to provide a stack trace ?

     
  • Jeffrey Hobbs
    Jeffrey Hobbs
    2010-08-28

    • status: open --> closed-out-of-date