hello again, finally, the error seems to come randomly and not related to the script in the patches we are dealing with about 20 different pix_share* but only one makes errors, we found a workaround : allocating a small memory space (1 1 1) on load and resizing it on the demand this works but this doesn't tell us why we got those shm_id error...
cheers antoine -- do it yourself http://antoine.villeret.free.fr http://drii.ensad.fr -- Google lit ce mail... si vous refusez cela, utilisez l'adresse antoine.villeret [at] free.fr pour me contacter 2012/5/11 Antoine Villeret <[email protected]> > Hello, > > > i'm getting trouble with pix_share* objects.. > > when the patches are manually started (by double click in Nautilus or by > command line in terminal) everything work fine > > but when the patches are started with a script i've got this error in both > side (write and read) : > couldn't get shm_id error 0 > > and then the involved id isn't accessible even if i restart manually the > patch > i've put some sleep xx in my startup script and this work only if there is > nothing else after like this : > > // > sleep 120 > # some command (cpu-gouvernance) > pd send-patch.pd & > sleep 30 > pd receive-patch.pd > // > this works fine > > but this following one doesn't > > // > sleep 120 > # some command (cpu-gouvernance) > pd send-patch.pd & > sleep 30 > pd receive-patch.pd & > sleep 25 > v4lctl -c /dev/video0 -input 1 > // > > does anyone have an idea how to fix this ? > > my configuration : Ubuntu 12.04, pd vanilla 0.43.2, Gem from git > 9ab091abc7387034c01a27a8570bb3d541b166c5 > > cheers > > a. > -- > do it yourself > http://antoine.villeret.free.fr > http://drii.ensad.fr > -- > Google lit ce mail... > si vous refusez cela, utilisez l'adresse antoine.villeret [at] free.frpour me > contacter > >
_______________________________________________ GEM-dev mailing list [email protected] http://lists.puredata.info/listinfo/gem-dev
