[PD-dev] [ pure-data-Patches-3438752 ] "pd -rt" crashes if pd-watchdog cannot be found
SourceForge.net
noreply at sourceforge.net
Thu Oct 4 11:14:34 CEST 2012
Patches item #3438752, was opened at 2011-11-16 04:37
Message generated for change (Settings changed) made by zmoelnig
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3438752&group_id=55736
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: Closed
Resolution: Accepted
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 at ferrari:~/src/git/pure-data$ ls bin/pd-watchdog
ls: cannot access bin/pd-watchdog: No such file or directory
zmoelnig at 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 at ferrari:~/src/git/pure-data$ pdsend errorname: >>error writing "sock8": broken pipe<<
zmoelnig at ferrari:~/src/git/pure-data$
----------------------------------------------------------------------
Comment By: Miller Puckette (millerpuckette)
Date: 2012-06-30 14:17
Message:
There should be some way to get git to check for trailing whitespace which
I seem always
to get warned of when applying your patches...
----------------------------------------------------------------------
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&group_id=55736
More information about the Pd-dev
mailing list