<div dir="ltr">Hi,<div><br></div><div>Trying to run Swift/T on mac OS X. The script compiles and runs with correct results, but produces the following line in the end and exits with error:</div><div><br></div><div>alloc: invalid block: 0x106775930: 0 0<br>
</div><div><br></div><div>This is followed by the BAD TERMINATION .. block. Any clues how to debug this further. Enabled logging which produces a log as follows:</div><div><br></div><div>$ turbine -n 3 user-code.tcl<br></div>
<div><br></div><div><div> 0.000 MODE: ENGINE</div><div> 0.000 MODE: WORKER</div><div> 0.000 MODE: SERVER</div><div> 0.000 ENGINES: 1 RANKS: 0 - 0</div><div> 0.000 WORKERS: 1 RANKS: 1 - 1</div><div>/**</div><div> 0.000 SERVERS: 1 RANKS: 2 - 2</div>
<div> 0.005 function:swift:constants</div><div> 0.005 allocated string: c:s_2=<1></div><div> 0.005 store: <1>="2"</div><div> 0.005 allocated string: c:s_prot_txt=<2></div><div> 0.005 store: <2>="prot.txt"</div>
<div> 0.005 enter function: main</div><div> 0.005 allocated t:5:1=<3> t:6:1=<4> t:8:1=<5> t:5:2=<6> t:6:2=<7></div><div> 0.005 allocated t:8:2=<8></div><div>running Swift...</div>
<div> 0.005 store: <5>="peptides/pept1.txt"</div><div> 0.005 array_kv_build: <4> 3 elems, write_decr 1</div><div> 0.005 allocated void: <9></div><div> 0.005 store: <8>="peptides/pept2.txt"</div>
<div> 0.005 array_kv_build: <7> 3 elems, write_decr 1</div><div> 0.006 allocated void: <10></div><div> 0.006 Container <4> deep closed</div><div> 0.006 store: <9>=void</div><div> 0.006 Container <7> deep closed</div>
<div> 0.006 store: <10>=void</div><div> 0.006 control: close 9</div><div> 0.006 control: close 10</div><div> 0.006 deeprule_finish: 9</div><div>result number: 6000028</div><div>alloc: invalid block: 0x1018d6930: 0 0</div>
</div><div><br></div><div>But from the log, I am not sure, what the problem might be.</div><div><br></div><div>Thanks,</div><div>Ketan</div></div>