The best way to avoid this is to omit the "-rt" flag (the watchdog is there to prevent an RT process from locking out everyone else if it goes in an infinite loop.) I'd like to know how to prevent its getting worried when tk goes away on legitimate business (like open panels) but don't know how to do it and still be sure it's impossible to crash the machine...
cheers Miller
On Mon, Sep 08, 2003 at 09:00:14AM -0700, ben@ekran.org wrote:
I just had an ugly crash of Gem in on OSX.
The real problem was that when trying to figure out what went wrong gdb was giving me lots of trouble. Rather I would have to keep pressing "c" to continue when the PD watchdog came up and stopped PD from running!
In my day to day PD on OSX experience I noticed that the watchdog comes up whenever tk is blocking gui execution (ie when its waiting for the results of a tk_getOpenFile command) the watchdog seems to come up everytime the tk_getOpenFile command is run. It keeps coming up for the duration of the openpanel being open.
This is what I get in GDB:
(gdb) run -rt -nomidi -nosound -lib ../../Gem/Gem -open /Volumes/Projects/People/Ben/patches/van/obj_model.pd Starting program: /Users/synthops/pd-0.36-0/bin/pd -rt -nomidi -nosound -lib ../../Gem/Gem -open /Volumes/Projects/People/Ben/patches/van/obj_model.pd [Switching to process 500 thread 0xb03] Reading symbols for shared libraries . done Reading symbols for shared libraries ....................................................... done Reading symbols for shared libraries . done Reading symbols for shared libraries . done Reading symbols for shared libraries . done Reading symbols for shared libraries . done Reading symbols for shared libraries . done Reading symbols for shared libraries . done Reading symbols for shared libraries . done Reading symbols for shared libraries . done watchdog: signaling pd...
Program received signal SIGHUP, Hangup. 0x8fe15f7c in __dyld_send_event () (gdb) c Continuing. Reading symbols for shared libraries . done Reading symbols for shared libraries . done watchdog: signaling pd...
Program received signal SIGHUP, Hangup. 0x8fe15f7c in __dyld_send_event () (gdb) c Continuing. Reading symbols for shared libraries . done watchdog: signaling pd...
Program received signal SIGHUP, Hangup. 0x8fe0e068 in __dyld_lookup_symbol_in_library_image () (gdb) c Continuing. GEM: Graphics Environment for Multimedia GEM: ver: 0.87+cvs GEM: compiled: Aug 6 2003 GEM: maintained by IOhannes m zmoelnig GEM: Authors : Mark Danks (original version on irix/windows) GEM: Chris Clepper (macOS-X) GEM: Daniel Heckenberg (windows) GEM: Guenter Geiger (linux) GEM: James Tittle (macOS-X) GEM: IOhannes m zmoelnig (linux/windows) etc..
this is what happens when just running PD, there is certainly something wrong with the watchdog thinking PD is dead on OSX, and sending the hangup at anoying times.
I hope this helps for 37!
PD-dev mailing list PD-dev@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-dev