Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Tcl on AIX 5.1 coredumps

Closed / Duplicate818630ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 23 years ago
Descriptionplain2003-10-06 14:04:44
I build Tcl on AIX 5.1
with the following options:
../configure --prefix=/tel/26 --enable-64bit --disable-
gcc --disable-shared

After make I get a tclsh wich seem to be ok
however it will crash after the very first
command:


cats8 5% dbx tclsh
Type 'help' for help.
reading symbolic information ...warning: no source 
compiled with -g

(dbx) run
% ?

Segmentation fault in TclExecuteByteCode at 
0x100028e74 ($t1)
0x100028e74 (TclExecuteByteCode+0x198) 
88850000        lbz   r4,0x0(r5)
(dbx) where
TclExecuteByteCode() at 0x100028e74
TclCompEvalObj() at 0x10002e078
TclObjInterpProc() at 0x100016988
TclEvalObjvInternal() at 0x10000a91c
TclExecuteByteCode() at 0x1000292bc
TclCompEvalObj() at 0x10002e078
TclObjInterpProc() at 0x100016988
TclEvalObjvInternal() at 0x10000a91c
TclExecuteByteCode() at 0x1000292bc
TclCompEvalObj() at 0x10002e078
TclObjInterpProc() at 0x100016988
TclEvalObjvInternal() at 0x10000a91c
TclEvalObjvInternal() at 0x10000a88c
TclExecuteByteCode() at 0x1000292bc
TclCompEvalObj() at 0x10002e078
Tcl_EvalObjEx() at 0x10000c70c
Tcl_RecordAndEvalObj() at 0x10007bc08
Tcl_Main() at 0x100001068
main() at 0x100000474
(dbx) 

Some machine info:

cats8 13% uname -r -v -p -s
AIX 1 5 powerpc

Regards
Otto
msofer Ticket [818630ffff]: 1 change [History diff]2003-10-06 21:52:28
msoferplain2003-10-06 21:52:29
Logged In: YES 
user_id=148712

Taking over to insure it isn't something in TEBC
(TclExecuteByteCode()) which could be totally unrelated to AIX.

In order to go forward, I'd need some more info:

1. which version/release of tcl are you compiling? If HEAD,
please provide the version number of generic/tclExecute.c
(line 14 in the file)

2. please configure with --enable-symbols=all, and try to
identify the offending line in TEBC from the stack trace.
Note that this could well replace the segfault with a panic,
TEBC will not then be at the top of the stack.

Maybe further  questions will be needed later ...
msofer Ticket [818630ffff]: 1 change [History diff]2003-10-06 21:57:07
msoferplain2003-10-06 21:57:08
Logged In: YES 
user_id=148712

Aargh ... to many thumbs! Meant to assign to myself, sorry.
msoferplain2003-11-14 04:46:17
Logged In: YES 
user_id=148712

Closing as duplicate of bug #841731 - this report is older,
but has no contact info and got no reaction from submitter.
Log in (anonymous is fine) to add a comment.