hello again, <br><br>finally, the error seems to come randomly and not related to the script<br>in the patches we are dealing with about 20 different pix_share* but only one makes errors,<br>we found a workaround : allocating a small memory space (1 1 1) on load and resizing it on the demand<br>

this works but this doesn&#39;t tell us why we got those shm_id error...<br><br>cheers<br><br>antoine<br clear="all">-- <br>do it yourself                        <br><a href="http://antoine.villeret.free.fr" target="_blank">http://antoine.villeret.free.fr</a> <br>

<a href="http://drii.ensad.fr" target="_blank">http://drii.ensad.fr</a><br>--<br>Google lit ce mail... <br>si vous refusez cela, utilisez l&#39;adresse antoine.villeret [at] <a href="http://free.fr" target="_blank">free.fr</a> pour me contacter<br>

<br>
<br><br><div class="gmail_quote">2012/5/11 Antoine Villeret <span dir="ltr">&lt;<a href="mailto:antoine.villeret@gmail.com" target="_blank">antoine.villeret@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hello, <br><br><br>i&#39;m getting trouble with pix_share* objects..<br><br>when the patches are manually started (by double click in Nautilus or by command line in terminal) everything work fine<br><br>but when the patches are started with a script i&#39;ve got this error in both side (write and read) :<br>


couldn&#39;t get shm_id error 0<br clear="all"><br>and then the involved id isn&#39;t accessible even if i restart manually the patch<br>i&#39;ve put some sleep xx in my startup script and this work only if there is nothing else after like this : <br>


<br>//<br>sleep 120<br># some command (cpu-gouvernance)<br>pd send-patch.pd &amp;<br>sleep 30<br>pd receive-patch.pd<br>//<br>this works fine<br><br>but this following one doesn&#39;t<br><br>
//<br>
sleep 120<br>
# some command (cpu-gouvernance)<br>
pd send-patch.pd &amp;<br>
sleep 30<br>
pd receive-patch.pd &amp;<br>sleep 25<br>v4lctl -c /dev/video0 -input 1<br>
//<br><br>does anyone have an idea how to fix this ?<br><br>my configuration : Ubuntu 12.04, pd vanilla 0.43.2, Gem from git 9ab091abc7387034c01a27a8570bb3d541b166c5<br><br>cheers <br><span class="HOEnZb"><font color="#888888"><br>

a.<br>-- <br>do it yourself                        <br>
<a href="http://antoine.villeret.free.fr" target="_blank">http://antoine.villeret.free.fr</a> <br><a href="http://drii.ensad.fr" target="_blank">http://drii.ensad.fr</a><br>--<br>Google lit ce mail... <br>si vous refusez cela, utilisez l&#39;adresse antoine.villeret [at] <a href="http://free.fr" target="_blank">free.fr</a> pour me contacter<br>


<br>
</font></span></blockquote></div><br>