[Bug 1059286] Re: avahi-daemon takes 100% CPU right after boot and at every restart of CUPS

2013-12-26 Thread Bug Watch Updater
** Changed in: avahi (Debian) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1059286 Title: avahi-daemon takes 100% CPU right after boot and at every restart of C

[Bug 1059286] Re: avahi-daemon takes 100% CPU right after boot and at every restart of CUPS

2013-12-13 Thread Bug Watch Updater
** Changed in: avahi (Debian) Status: Unknown => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1059286 Title: avahi-daemon takes 100% CPU right after boot and at every restart of CUPS

[Bug 1059286] Re: avahi-daemon takes 100% CPU right after boot and at every restart of CUPS

2013-12-13 Thread Laurent Bigonville
** Bug watch added: Debian Bug tracker #693604 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=693604 ** Also affects: avahi (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=693604 Importance: Unknown Status: Unknown -- You received this bug notification because you

[Bug 1059286] Re: avahi-daemon takes 100% CPU right after boot and at every restart of CUPS

2012-10-08 Thread Launchpad Bug Tracker
This bug was fixed in the package avahi - 0.6.31-1ubuntu2 --- avahi (0.6.31-1ubuntu2) quantal-proposed; urgency=low * debian/patches/avahi-core-reserve-space-for-record-data-when-size-estimate.patch: avahi-core: reserve space for record data when size estimate. This prevent

[Bug 1059286] Re: avahi-daemon takes 100% CPU right after boot and at every restart of CUPS

2012-10-08 Thread Ubuntu Foundation's Bug Bot
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1059286 Title: avahi-daemon takes 100% CPU right after boot and at every restart of CUPS To manage notifications about this bug

[Bug 1059286] Re: avahi-daemon takes 100% CPU right after boot and at every restart of CUPS

2012-10-08 Thread Till Kamppeter
debdiff with the fix is attached. I have tested the fixed avahi-daemon by restarting CUPS several times and avahi-daemon does not spin up any more. Printer broadcasting still works correctly (checked with avahi-discover and "lpinfo -v" on remote machine). ** Patch added: "avahi_0.6.31-1ubuntu1_0.

[Bug 1059286] Re: avahi-daemon takes 100% CPU right after boot and at every restart of CUPS

2012-10-08 Thread Till Kamppeter
I have found a fix on the Avahi upstream mailing list: http://lists.freedesktop.org/archives/avahi/2012-September/002188.html I have rebuilt the package with this patch applied and the problem went away. Citing the posting: From: "Lee, Chun-Yi" When we tested put a lot of airprint service fil

[Bug 1059286] Re: avahi-daemon takes 100% CPU right after boot and at every restart of CUPS

2012-10-08 Thread Till Kamppeter
The only network traffic with avahi-daemon is the following: till@till:~$ sudo lsof -p 1024 -a -i lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/till/gvfs Output information may be incomplete. COMMANDPID USER FD TYPE DEVICE SIZE/OFF NODE NAME avahi-dae 1024 avahi

[Bug 1059286] Re: avahi-daemon takes 100% CPU right after boot and at every restart of CUPS

2012-10-08 Thread Till Kamppeter
Now I did a test of booting the SSD of my PC in my laptop (same software configuration but different hardware) and the same problem occurs, so the problem is not caused by any particular hardware. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed t

[Bug 1059286] Re: avahi-daemon takes 100% CPU right after boot and at every restart of CUPS

2012-10-08 Thread Till Kamppeter
For me it looks like that avahi-daemon falls into an infinite loop sending out certain messages repeatedly (there are several 100 messages per second announcing the available CUPS queues) and does not listen any more to requests (loop does not go through the code for listening). Therefore avahi-dis

[Bug 1059286] Re: avahi-daemon takes 100% CPU right after boot and at every restart of CUPS

2012-10-08 Thread Till Kamppeter
Tim, I have tried it twice, both times I seem to run into a bug of gdb: till@till:~$ sudo gdb avahi-daemon [sudo] password for till: GNU gdb (GDB) 7.5-ubuntu Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is fre

[Bug 1059286] Re: avahi-daemon takes 100% CPU right after boot and at every restart of CUPS

2012-10-08 Thread Tim Waugh
Till: try "finish" until it hangs. That will tell you how far down the stack the hang originates. Then you can step through it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1059286 Title: avahi-da

[Bug 1059286] Re: avahi-daemon takes 100% CPU right after boot and at every restart of CUPS

2012-10-08 Thread Till Kamppeter
Repeating the test from comment #10 I get always the same backtrace, only with different queue names. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1059286 Title: avahi-daemon takes 100% CPU right a

[Bug 1059286] Re: avahi-daemon takes 100% CPU right after boot and at every restart of CUPS

2012-10-08 Thread Tim Waugh
There were quite a few differences with the upstream approach. The upstream Avahi support looked more correct as the changes were going in, but I haven't tested it out. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.laun

[Bug 1059286] Re: avahi-daemon takes 100% CPU right after boot and at every restart of CUPS

2012-10-08 Thread Till Kamppeter
Ran avahi-daemon under gdb. After restarting cups and avahi-daemon spinning up I interrupted the running avahi-daemon with Ctrl+C and took a backtrace: (gdb) bt #0 0x77bd2fef in avahi_unescape_label ( name=name@entry=0x7fffe408, dest=dest@entry=0x7fffe410 "HP Photosmart

[Bug 1059286] Re: avahi-daemon takes 100% CPU right after boot and at every restart of CUPS

2012-10-08 Thread Till Kamppeter
avahi-damon also does not spin up when one starts cups and there are no local print queues. Probably the problem occurs only when there is a certain number of queues. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchp