I committed the fix:
http://pure-data.svn.sourceforge.net/viewvc/pure-data?view=revision&revi...
.hc
On Jun 28, 2010, at 7:23 PM, Pedro Lopes wrote:
Okay that way its better something wen't wrong with the submission :) I altered my control/popen with MAXPDSTRING as Mathieu proposed and
it did the trick, although as he mentioned it should block if a cmd
is even larger than that.best regards, Pedro p.s.: just tell me if its needed to re-submit to the tracker, I
gotta learn how to use it once and for all!On Tue, Jun 29, 2010 at 12:16 AM, Hans-Christoph Steiner <hans@at.or.at
wrote:
Seems like a good time to take inventory on the options here, since
there seem to be many:flatspace/popen (aka control/popen) moonlib/popen motex/system ggee/shell
To me, moonlib/popen looks better than flatspace/popen since it
allows reading and writing to the pipe..hc
On Jun 28, 2010, at 2:05 PM, Pedro Lopes wrote:
Yes. Crashes here as you mentioned. (shell ok, popen not)
======= Backtrace: ========= /lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0x20e008] /lib/tls/i686/cmov/libc.so.6[0x20d040] /lib/tls/i686/cmov/libc.so.6[0x20c36a] /usr/lib/pd-extended/extra/flatspace/popen.pd_linux[0x77abeb] pdextended(pd_typedmess+0x1fc)[0x80b613c] ======= Memory map: ======= (too big for posting... if it is useful i can attach it.)
Ubuntu karmic rt 32 bits Pd version 0.42-5extended-20100530 compiled 09:02:05 May 30 2010
-- Pedro Lopes contacto: jazz@radiozero.pt website: http://web.ist.utl.pt/Pedro.Lopes
"We have nothing to fear from love and commitment." - New York
Senator Diane Savino, trying to convince the NY Senate to pass a gay
marriage bill-- Pedro Lopes contacto: jazz@radiozero.pt website: http://web.ist.utl.pt/Pedro.Lopes
"Making boring techno music is really easy with modern tools, but with
live coding, boring techno is much harder." - Chris McCormick