[#5419] netaudio failed to run due to un-replaced fork() in mpd
Submitted By: Barry Song
Medium High Assignee:
Open Fixed In Release:
Found In Release:
uClinux-dist applications Board:
BF537 Silicon Revision:
Is this bug repeatable?:
Uboot version or rev.:
Toolchain version or rev.:
App binary format:
Summary: netaudio failed to run due to un-replaced fork() in mpd
After fix bug [#5395], netaudio goes further. But when press \"start netaudio\", mpd will fail.
Check the codes, there are some forks in the codes, then I simply replaced all fork by vfork, mpd seemed to enter a lock-up after that.
Parent process need to wait the exit of child process if we use vfork, it blocks the parent process to continue while we really want the two to run at the same time. So for this kind of cases, it seems we can\'t use vfork to replace fork.
Let me check whether pthread or something else can help for this case.
--- Barry Song 2009-08-11 06:04:32
Upgraded mpd doesn't support uclinux at all, so revert to old version.
And upgraded mpc is not compatible with netaudio scripts, so revert mpc too.
File Name File Type File Size Posted By
No Files Were Found