<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>I committed the fix:</div><div><br></div><div><a href="http://pure-data.svn.sourceforge.net/viewvc/pure-data?view=revision&amp;revision=13688">http://pure-data.svn.sourceforge.net/viewvc/pure-data?view=revision&amp;revision=13688</a></div><div><br></div><div>.hc</div><br><div><div>On Jun 28, 2010, at 7:23 PM, Pedro Lopes wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Okay that way its better something wen't wrong with the submission :) <br>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.<br> <br>best regards,<br>Pedro<br>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!<br><br><div class="gmail_quote">On Tue, Jun 29, 2010 at 12:16 AM, Hans-Christoph Steiner <span dir="ltr">&lt;<a href="mailto:hans@at.or.at">hans@at.or.at</a>&gt;</span> wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style="word-wrap: break-word;"><div><br></div><div>Seems like a good time to take inventory on the options here, since there seem to be many:</div> <div><br></div><div>flatspace/popen (aka control/popen)</div><div>moonlib/popen</div><div>motex/system</div><div>ggee/shell</div><div><br></div><div>To me, moonlib/popen looks better than flatspace/popen since it allows reading and writing to the pipe.</div> <div><br></div><div>.hc</div><div><div></div><div class="h5"><br><div><div>On Jun 28, 2010, at 2:05 PM, Pedro Lopes wrote:</div><br><blockquote type="cite">Yes. Crashes here as you mentioned. (shell ok, popen not)<br><br> ======= Backtrace: =========<br>/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0x20e008]<br>/lib/tls/i686/cmov/libc.so.6[0x20d040]<br>/lib/tls/i686/cmov/libc.so.6[0x20c36a]<br> /usr/lib/pd-extended/extra/flatspace/popen.pd_linux[0x77abeb]<br> pdextended(pd_typedmess+0x1fc)[0x80b613c]<br>======= Memory map: =======<br>(too big for posting... if it is useful i can attach it.)<br><br>Ubuntu karmic rt 32 bits<br> Pd version 0.42-5extended-20100530<br>compiled 09:02:05 May 30 2010<br> <br><br clear="all"><br>-- <br>Pedro Lopes<br>contacto: <a href="mailto:jazz@radiozero.pt" target="_blank">jazz@radiozero.pt</a><br>website: <a href="http://web.ist.utl.pt/Pedro.Lopes" target="_blank">http://web.ist.utl.pt/Pedro.Lopes</a> <br>  </blockquote></div><br></div></div><div> <span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><span style="font-size: 12px;"><div> <br><br></div><div>----------------------------------------------------------------------------<br></div><div><br></div><div>"We have nothing to fear from love and commitment." - New York Senator&nbsp;Diane Savino, trying to convince the NY Senate to pass a gay marriage bill</div> </span></span> </div><br></div></blockquote></div><br><br clear="all"><br>-- <br>Pedro Lopes<br>contacto: <a href="mailto:jazz@radiozero.pt">jazz@radiozero.pt</a><br>website: <a href="http://web.ist.utl.pt/Pedro.Lopes">http://web.ist.utl.pt/Pedro.Lopes</a> <br> </blockquote></div><br><div apple-content-edited="true"> <div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div><br class="Apple-interchange-newline"><br></div><div>----------------------------------------------------------------------------</div><div><div><br></div>"Making boring techno music is really easy with modern tools,&nbsp;but with live coding, boring techno is much harder." - Chris McCormick</div><div><br></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline"></div> </div><br></body></html>