<div dir="ltr"><div>Hmm haven't been able to replicate it yet.  Do you know what version of Tcl you're using?<br><br>One thing that would be helpful is to confirm that it's not getting linked against multiple different versions of Tcl.  E.g.:<br>
<br>ldd userlib.so<br></div><div>ldd /path/to/libtclturbine.so<br></div><div><br></div><div>If you could add this code to extension.c after the result Tcl_Obj is created, I'd be curious to know if the pointer value was the same (or near to) the value it's complaining about.<br>
</div>printf("result: %p\n", result);<br><div><div class="gmail_extra"><br></div><div class="gmail_extra">- Tim<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 25, 2014 at 1:18 PM, Tim Armstrong <span dir="ltr"><<a href="mailto:tim.g.armstrong@gmail.com" target="_blank">tim.g.armstrong@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div>Ok, looking now.<br><br></div>It was a bit of a headache getting the build system setup working since the autodetection for vanilla only works for particular cases - e.g. on Ubuntu the system tcl libraries get put in an architecture-specific subdirectory.  The machine files thing is a good idea, but using scripts/turbine-build-config.sh in the turbine directory would simplify it further - it provides most of the information needed without any guesswork.<span class=""><font color="#888888"><br>

<br></font></span></div><span class=""><font color="#888888">- Tim<br></font></span></div><div class=""><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 25, 2014 at 12:57 PM, Ketan Maheshwari <span dir="ltr"><<a href="mailto:ketan@mcs.anl.gov" target="_blank">ketan@mcs.anl.gov</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">This happens in main-wrap: exp/apps/main-wrap<div><br></div><div>Here is what I do:</div>
<div><br></div>
<div>./gendata 100 5</div><div>./genleaf -v vanilla mockdock.[ch] user.swift<br></div><div>turbine -n 3 user-code.tcl</div>
<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div>On Fri, Apr 25, 2014 at 11:51 AM, Tim Armstrong <span dir="ltr"><<a href="mailto:tim.g.armstrong@gmail.com" target="_blank">tim.g.armstrong@gmail.com</a>></span> wrote:<br>


</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div>
<div dir="ltr"><div>
<div>It may not be mac-specific - I'll try to replicate the problem elsewhere if you can give me a pointer to the script that caused the problem.<span><font color="#888888"><br>
<br>
</font></span></div></div><span><font color="#888888">
- Tim<br>
</font></span></div><div><div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Fri, Apr 25, 2014 at 11:30 AM, Ketan Maheshwari <span dir="ltr">
<<a href="mailto:ketan@mcs.anl.gov" target="_blank">ketan@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div class="gmail_extra">This is on my Mac. May be we can replicate on frisbee or someone's Mac if you have access. Assuming you are not a Mac user.</div>
</div>
</blockquote>
</div>
<br>
</div>
</div></div></div>

</blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div></div></div>