[Bug 469342] New: avahi-daemon eats all CPU-time, caused by libdaemon0
https://bugzilla.novell.com/show_bug.cgi?id=469342
Summary: avahi-daemon eats all CPU-time, caused by libdaemon0
Classification: openSUSE
Product: openSUSE 11.1
Version: Final
Platform: Other
OS/Version: Other
Status: NEW
Severity: Critical
Priority: P5 - None
Component: Basesystem
AssignedTo: seife@novell.com
ReportedBy: sbrabec@novell.com
QAContact: qa@suse.de
CC: bnc-team-gnome@forge.provo.novell.com
Found By: ---
From: Stefan
The except-list in daemon_close_all(int except_fd,...) is ignored, and the program could be aborted. I have attached a demo xxx.c for reproducing this behaviour. Compile it with
cc -g xxx.c -o xxx -ldaemon
and see with
strace -f ./xxx
what happens: all fd are closed, and the child aborts.
My error, I forgot the -1 at the end of except_fd list, then the program does not abort, but the fds are closed. Best regards stefan -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=469342
User sbrabec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=469342#c1
--- Comment #1 from Stanislav Brabec
https://bugzilla.novell.com/show_bug.cgi?id=469342
User sbrabec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=469342#c2
--- Comment #2 from Stanislav Brabec
https://bugzilla.novell.com/show_bug.cgi?id=469342
User vuntz@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=469342#c3
Vincent Untz
https://bugzilla.novell.com/show_bug.cgi?id=469342
User seife@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=469342#c5
Stefan Seyfried
https://bugzilla.novell.com/show_bug.cgi?id=469342
User seife@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=469342#c6
Stefan Seyfried
participants (1)
-
bugzilla_noreply@novell.com