I've run into a real head scratcher. I have isolated the problem to a single regexp command. I even reduced the run section of the proc to the following six lines
keylget args MSGID mh
set msg [msgget $mh]
set foundSegList "MSH PID PV1 IN1 GT1 ORC OBR"
set segOrderRegEx {^((MSH PID){1}( NTE){0,10}( NK1){0,1}( PV1){0,1}?( ZCC){0,1}( IN1){0,2}?(( GT1){0,1}?( DG1){0,120}?)( ZCI)?(((( ORC OBR)( OBX){0,}( NTE){0,}){1,40}))) $}
set x [regexp $segOrderRegEx $foundSegList]
lappend dispList "CONTINUE $mh"
I'll grant you the lines are ugly, but there is nothing wrong with them. They function perfectly in the testing tool. However, when I try to run this in the engine (as an inbound TPS) I get a core dump. We are currently running cloverleaf 5.7 in an AIX environment (ver 6.1 tech level 6). Anyone have any ideas? (I think I can break up the regexp as a work around, but I want to understand how the testing tool differs from the engine run time.)
Thank you all in advance for you time and consideration!