Okay- I&#39;ve traced to Gridflow library- I&#39;ve taken it out and no crashes -any tips how I can have it installed would be appreciated- thanks again for your time on this :)<br><br><div class="gmail_quote">On Wed, Nov 24, 2010 at 12:57 PM, Ivica Ico Bukvic <span dir="ltr">&lt;<a href="mailto:ico@vt.edu">ico@vt.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Try loading one lib at a time and doing the same. I don&#39;t know for sure but it might be that one or more of them is having issues with the new move algorithm.<br>

<div><div></div><div class="h5"><br>
ALAN BROOKER &lt;<a href="mailto:alan.brooker2010@gmail.com">alan.brooker2010@gmail.com</a>&gt; wrote:<br>
<br>
&gt;Hi Just to clarify the message<br>
&gt;Program received signal SIGSEGV, Segmentation fault.<br>
&gt;0x00000011 in ?? ()<br>
&gt;<br>
&gt;is printed on the terminal when ctrl-1 is used<br>
&gt;<br>
&gt;Thanks again<br>
&gt;On Wed, Nov 24, 2010 at 10:11 AM, ALAN BROOKER<br>
&gt;&lt;<a href="mailto:alan.brooker2010@gmail.com">alan.brooker2010@gmail.com</a>&gt;wrote:<br>
&gt;<br>
&gt;&gt; Hi Ico<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Ive got it working and have loaded some libraries, Gem, Gridflow, Zexy, pdp<br>
&gt;&gt; - however PD crashes out when I ctrl-1 to put an object on the canvas.<br>
&gt;&gt;<br>
&gt;&gt; I&#39;ve done a backtrace (thanks Mathieu for the tip previously) with the<br>
&gt;&gt; following results:<br>
&gt;&gt;<br>
&gt;&gt; Starting program: /usr/local/bin/pd -oss -channels 2 my-bug-test.pd<br>
&gt;&gt; [Thread debugging using libthread_db enabled]<br>
&gt;&gt; &lt;init&gt; : Avifile RELEASE-0.7.48-100119-21:44-../src/configure<br>
&gt;&gt; &lt;init&gt; : Available CPU flags: fpu vme de pse tsc msr pae mce cx8 apic mtrr<br>
&gt;&gt; pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext<br>
&gt;&gt; fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc nonstop_tsc extd_api<br>
&gt;&gt; &lt;init&gt; : 800.00 MHz AMD Phenom(tm) II X2 555 Processor detected<br>
&gt;&gt; [New Thread 0xb47e1b70 (LWP 4084)]<br>
&gt;&gt;<br>
&gt;&gt; Program received signal SIGSEGV, Segmentation fault.<br>
&gt;&gt; 0x00000011 in ?? ()<br>
&gt;&gt; (gdb) where<br>
&gt;&gt; #0  0x00000011 in ?? ()<br>
&gt;&gt; #1  0x080a94d5 in gobj_displace_withtag (x=0x8206cb8,<br>
&gt;&gt;     dx=&lt;value optimised out&gt;, dy=0) at g_editor.c:68<br>
&gt;&gt; #2  canvas_displaceselection (x=0x8206cb8, dx=&lt;value optimised out&gt;, dy=0)<br>
&gt;&gt;     at g_editor.c:1900<br>
&gt;&gt; #3  0x080a98a5 in canvas_motion (x=0x8206cb8, xpos=232, ypos=76, fmod=2)<br>
&gt;&gt;     at g_editor.c:2089<br>
&gt;&gt; #4  0x080ca4f6 in pd_typedmess (x=0x8206cb8, s=0x8135eb8, argc=3,<br>
&gt;&gt;     argv=0xbffff08c) at m_class.c:792<br>
&gt;&gt; #5  0x080ca0dc in pd_typedmess (x=0x814ac60, s=0x8135eb8, argc=3,<br>
&gt;&gt;     argv=0xbffff08c) at m_class.c:813<br>
&gt;&gt; #6  0x080cfbaa in binbuf_eval (x=0x8149688, target=&lt;value optimised out&gt;,<br>
&gt;&gt;     argc=0, argv=0x0) at m_binbuf.c:726<br>
&gt;&gt; #7  0x080dde5f in socketreceiver_read (x=0x81496a8, fd=6) at s_inter.c:560<br>
&gt;&gt; #8  0x080dd81a in sys_domicrosleep (microsec=&lt;value optimised out&gt;,<br>
&gt;&gt;     pollem=&lt;value optimised out&gt;) at s_inter.c:198<br>
&gt;&gt; #9  0x080de502 in sys_pollgui () at s_inter.c:862<br>
&gt;&gt; #10 0x080d9321 in m_pollingscheduler () at m_sched.c:490<br>
&gt;&gt; #11 m_mainloop () at m_sched.c:560<br>
&gt;&gt; #12 0x080dc8a9 in sys_main (argc=5, argv=0xbffff4e4) at s_main.c:310<br>
&gt;&gt; #13 0x080e556b in main (argc=5, argv=0xbffff4e4) at s_entry.c:32<br>
&gt;&gt; (gdb)  quit<br>
&gt;&gt; A debugging session is active.<br>
&gt;&gt;<br>
&gt;&gt; Inferior 1 [process 4078] will be killed.<br>
&gt;&gt;<br>
&gt;&gt; Quit anyway? (y or n) y<br>
&gt;&gt; socket receive error: Connection reset by peer (104)<br>
&gt;&gt;<br>
&gt;&gt; Thanks for your help with this! It&#39;s a great package to work from<br>
&gt;&gt; Cheers<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Wed, Nov 24, 2010 at 5:29 AM, Ivica Ico Bukvic &lt;<a href="mailto:ico@vt.edu">ico@vt.edu</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt; &gt; Notice that both [cyclone/Scope~] and [flatspace/entry] have a<br>
&gt;&gt;&gt; &gt; bug: a sudden increase in height/width by about 5-10 pixels when you<br>
&gt;&gt;&gt; &gt; initially drag to resize.  This makes it difficult if not<br>
&gt;&gt;&gt; &gt; impossible to make minor size changes (especially since there is no<br>
&gt;&gt;&gt; &gt; Properties dialogue).<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Good to know. I will look into this when I get there. Currently working on<br>
&gt;&gt;&gt; accelerating iemgui objects as well as exposing them to sarlo&#39;s highlighting<br>
&gt;&gt;&gt; magic.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt; Wouldn&#39;t it be easier just to toggle the text for that menu option<br>
&gt;&gt;&gt; &gt; between &quot;Edit mode&quot; and &quot;Run mode&quot;? (That&#39;s what they&#39;re called in<br>
&gt;&gt;&gt; &gt; the manual.)<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Sure. There are other options, too, like the one 0.43 and now l2ork<br>
&gt;&gt;&gt; version of 0.42 uses by changing option&#39;s background which works visually<br>
&gt;&gt;&gt; relatively well (albeit at the expense of consistency). This is however not<br>
&gt;&gt;&gt; the issue. The issue is finding out that after an hour of debugging the<br>
&gt;&gt;&gt; problem is not in you or your code but the toolkit you are using and in 2010<br>
&gt;&gt;&gt; for a toolkit that has been around for more than a decade that is plainly<br>
&gt;&gt;&gt; sad.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt; How would you go about doing that?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; A: Ugly path: Isolate pd&lt;-&gt;gui hooks and port the entire thing to Qt.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; B: Better (albeit more time-consuming) path: clean-up code first so that<br>
&gt;&gt;&gt; all objects can utilize the same gobj_&lt;whatever&gt; calls and then do the A:<br>
&gt;&gt;&gt; (which at that point won&#39;t be nearly as ugly or difficult to maintain).<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; FWIW, my first ever GUI app was RTMix I did back in 2001 and it was (and<br>
&gt;&gt;&gt; remains) the ugliest hack ever (basically I tried to learn how to program<br>
&gt;&gt;&gt; doing that app). Yet, the fact remains even in 2001 qt was way better than<br>
&gt;&gt;&gt; what Tk is today. Another advantage is avoiding socket bottlenecks as the<br>
&gt;&gt;&gt; entire thing could be done simply in C. License-wise it should be fine and<br>
&gt;&gt;&gt; cross-platform-wise miles ahead of Tcl/Tk. Heck, you could even throw in Qt<br>
&gt;&gt;&gt; for mobile devices for good measure since that is apparently hot item these<br>
&gt;&gt;&gt; days.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; That said, I need some more time working with Pd code before I can<br>
&gt;&gt;&gt; undertake this. Perhaps more importantly, I just need a generous,<br>
&gt;&gt;&gt; uninterrupted chunk of time to do this.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Best wishes,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Ico<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; <a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
&gt;&gt;&gt; UNSUBSCRIBE and account-management -&gt;<br>
&gt;&gt;&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
</div></div></blockquote></div><br>