Patches item #3438752, was opened at 2011-11-16 04:37 Message generated for change (Comment added) made by zmoelnig You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3438752...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update.
Category: puredata
Group: None Status: Open Resolution: None Priority: 7 Private: No Submitted By: IOhannes m zmölnig (zmoelnig) Assigned to: Miller Puckette (millerpuckette) Summary: "pd -rt" crashes if pd-watchdog cannot be found
Initial Comment: i'm using Pd-0.43 (today's git) on linux (debian wheezy/sid which comes with gcc-4.6.1)
if i start Pd in "realtime" mode (which is the default on linux) and it cannot find the "pd-watchdog" binary, Pd quits.
i stumbled upon this bug, since i had no link from Pd/src/ to Pd/bin/, and started Pd from it's source directory. while i agree that my setup was somewhat broken as the pd-watchdog should have been in place, i strongly believe that Pd must not crash in these circumstances. it probably should drop realtime execution if it cannot find pd-watchdog, rather than crash.
zmoelnig@ferrari:~/src/git/pure-data$ ls bin/pd-watchdog ls: cannot access bin/pd-watchdog: No such file or directory zmoelnig@ferrari:~/src/git/pure-data$ ./src/pd priority 6 scheduling enabled. priority 8 scheduling enabled. sh: ./bin/pd-watchdog: No such file or directory pd: watchdog process died zmoelnig@ferrari:~/src/git/pure-data$ pdsend errorname: >>error writing "sock8": broken pipe<<
zmoelnig@ferrari:~/src/git/pure-data$
----------------------------------------------------------------------
Comment By: IOhannes m zmölnig (zmoelnig)
Date: 2012-03-07 05:11
Message: i attached a small patch, that checks whether Pd can find a file named "pd-watchdog", and if not, disabled real-time mode.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3438752...