Menu

#22 Expect crash with strange caracter in the output...

open
nobody
None
5
2003-08-05
2003-08-05
Anonymous
No

expect1.6> info tclversion
8.4
expect1.7> exp_version
5.38.3

System : NetBsd 1.6 on a PowerPC

(gdb) bt
#0 0x4192f7e8 in Tcl_UniCharToUtf () from /lib/libtcl84.so
#1 0x1815240 in expNullStrip ()
#2 0x181563c in expRead ()
#3 0x1817280 in Exp_ExpectObjCmd ()
#4 0x418cef60 in TclEvalObjvInternal () from
/lib/libtcl84.so
#5 0x418f5f00 in TclCompEvalObj () from /lib/libtcl84.so
#6 0x418f55d8 in TclCompEvalObj () from /lib/libtcl84.so
#7 0x418cfe84 in Tcl_EvalObjEx () from /lib/libtcl84.so
#8 0x418d6608 in Tcl_ForeachObjCmd () from
/lib/libtcl84.so
#9 0x418cef60 in TclEvalObjvInternal () from
/lib/libtcl84.so
#10 0x418cf96c in Tcl_EvalEx () from /lib/libtcl84.so
#11 0x41911b5c in Tcl_FSEvalFile () from /lib/libtcl84.so
#12 0x419109d8 in Tcl_EvalFile () from /lib/libtcl84.so
#13 0x180580c in exp_interpret_cmdfilename ()
#14 0x1803c60 in main ()
#15 0x180381c in _start ()
#16 0x41883c30 in _rtld_start () from /usr/libexec/ld.elf_s

My script was looking at the following output when
expect crashed...
this=0x1a73840, ctx=0x1bc9410, data=0x1bc93e0
"\001˝N", Segmentation fault (core dumped)

Discussion


Log in to post a comment.