Hello Michael,
Because PD is a tcl/tk application it has a "wish" (the tcl/tk interpreter) menu which goes to the top of the MAC screen as a normal Mac application. Now this is the menu ONLY for the interpreter, it does not know anything about PD running. To exit PD you need to use the menu on the top of the PD window itself, looks like a drop down box.. "file" -> "quit"
For the OSX developers will this wish dependance disapear so that only the PD menus are available?
Ben
----- Original Message ----- From: Michael McGonagle fndsnd@rcnchicago.com Date: Saturday, January 25, 2003 2:18 am Subject: [PD] Bus Error on Mac OS X on quiting PD
Hello all,
I have been running PD on Mac OS X now for the past month, and have been happy with everything I have tried (this includes Paradiddle and the 'chaos' externals). I am getting PD to send MIDI to Logic, using a loopback thru a MIDI interface (maybe not the most elegant, but at least I can send from PD).
While I have not had any problems with PD crashing during normal use, it does seem that there might be some trouble when quiting PD normally (using the 'quit' option in wish), it causes a bus error. I am starting PD with the following:
<orb> pd -noaudio -nomidiin -midioutdev 2
From here, Logic is able to recieve the MIDI over the loopback, and it can play its AudioUnit patches (and the built-in Logic patches). But, the real trouble seems to be when quiting out of PD, and then restarting it, there appears to be a "loss" of MIDI connectivity, as Logic does not "hear" PD. Once I reboot the system, everything will connect fine. It also appears to be intermittant, as it has not happened everytime, but often enough to make me wonder if others are getting this, too.
I am running on a PowerBook G4-1GHz, with 512 meg of ram, with OS X 10.2.3.
Thanks,
Mike
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
bbogart@ryerson.ca said this at Sun, 26 Jan 2003 12:37:20 -0500:
Because PD is a tcl/tk application it has a "wish" (the tcl/tk interpreter) menu which goes to the top of the MAC screen as a normal Mac application. Now this is the menu ONLY for the interpreter, it does not know anything about PD running. To exit PD you need to use the menu on the top of the PD window itself, looks like a drop down box.. "file" ->
"quit"
Michael,
I second Ben's suggestion that at the least you should be using the File-
Quit menu, and not Wish's quit, if you are having troubles.
For the OSX developers will this wish dependance disapear so that only the PD menus are available?
I've been looking at the problem of building a self-contained executable inside a Wish Shell on-and-off for a couple months. It seems possible, but currently tricky (in the sense of a series of tricks--not particularly difficult, I think). The Wish dependence isn't going away unless Pd chooses a different interface from Tk.
But, the real trouble seems to be when quiting out of PD, and then restarting it, there appears to be a "loss" of MIDI connectivity, as Logic does not "hear" PD. Once I reboot the system, everything will connect fine. It also appears to be intermittant, as it has not happened everytime, but often enough to make me wonder if others are getting this, too.
Whenever I quit Pd, I get a status message of "FWADisposeMIDIStream result =" something. Do you? What does your something say? Is it different when you File->Quit Pd from when you kill Pd less gracefully?
I've also head of bus errors occurring due to poorly written MIDI device drivers for MacOSX. Check on your interface's manufacturer...
Cheers, adam
Adam Lindsay wrote:
bbogart@ryerson.ca said this at Sun, 26 Jan 2003 12:37:20 -0500: Michael,
I second Ben's suggestion that at the least you should be using the File-
Quit menu, and not Wish's quit, if you are having troubles.
Ok, I get it now, there are two quit menus... I didn't get any weird errors with either one of them, I will have to just play with it...
Whenever I quit Pd, I get a status message of "FWADisposeMIDIStream result =" something. Do you? What does your something say? Is it different when you File->Quit Pd from when you kill Pd less gracefully?
Since I have tried the File->Quit, I get the same results on both (no crashes, yet though). I do also get the "FWAD..." message with a result of '1'.
I've also head of bus errors occurring due to poorly written MIDI device drivers for MacOSX. Check on your interface's manufacturer...
It is strange that in the past day or two, I have not been seeing many of these bus errors, maybe I have not been running as many apps at once. I will try to load it up, and see if there is a memory problem (which I don't think, because I don't have any other apps that crash, and 'pd' only crashes when it quits... [on the wrong menu item???])
Mike