Update: I suspect this has something to do with MIDI.  I've unplugged my USB-MIDI device & this doesn't happen anymore.  The USB-MIDI device works as expected except for this.  I'm using an M-Audio keystation loaded through Alsa, except in pd I'm accessing it via default-midi rather than alsa-midi because alsa-midi hangs on starting pd.  Any ideas?
<br><br>Thanks again,<br><br>-David<br><br><div><span class="gmail_quote">On 3/11/06, <b class="gmail_sendername">david golightly</b> &lt;<a href="mailto:davigoli@gmail.com">davigoli@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="direction: ltr;">Hey Devs,<br><br>I've found a bug, doubtless someone here knows what's going on - I've got pd-0.39-2extended on my linux box running 2.6.15-4rt kernel/alsa/jack.&nbsp; I start jack, fine, start pd, loads &amp; works fine, but if I close &amp; restart pd more than 3 times, pd won't load correctly anymore unless I reboot my machine.&nbsp; Pd window will open, command line reads:
<br><br>normally, I see this (pd working correctly):<br><br>Pd version 0.39-2extended-test1<br>compiled 23:27:31 Feb 26 2006<br>port 5401<br>TCL_LIBRARY=&quot;/usr/local/lib/pd/tcl/library&quot; TK_LIBRARY=&quot;/usr/local/lib/pd/tk/library&quot;&nbsp; &quot;/usr/local/lib/pd/bin/pd-gui&quot; 5401
<br>Waiting for connection request...<br>... connected<br>device 2: tried /dev/midi02 READ/WRITE; returned -1<br>device 2: tried /dev/midi2 READ/WRITE; returned 5<br><br>I quit, then reload, the quit, then reload, and I notice that this time pd didn't actually quit - although the window is closed, the bash shell isn't freed.&nbsp; Then if I restart pd, I see this:
<br><br>Pd version 0.39-2extended-test1<br>compiled 23:27:31 Feb 26 2006<br>port 5408<br>TCL_LIBRARY=&quot;/usr/local/lib/pd/tcl/library&quot; TK_LIBRARY=&quot;/usr/local/lib/pd/tk/library&quot;&nbsp; &quot;/usr/local/lib/pd/bin/pd-gui&quot; 5408
<br>Waiting for connection request...<br>... connected<br>device 2: tried /dev/midi02 READ/WRITE; returned -1<br><br>and the Pd window will open, but the Windows and Media menus are not populated, &amp; I can't open any files.&nbsp; pstree reveals 2 running pd &amp; pd-gui processes.&nbsp; sudo killall pd; sudo killall pd-gui isn't effective in killing them.
<br><br>What's going on here?&nbsp; Why is pd not quitting completely?&nbsp; Additionally, sometimes pd will cause the jack server to stop unexpectedly.<br><br>Hopefully this is a known issue &amp; I've just done something blockheaded here....
<br><br>Thanks,<br></div><div style="direction: ltr;"><span class="sg"><br>David<br>


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