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

Till Kamppeter 1059286 at bugs.launchpad.net
Mon Oct 8 10:35:33 UTC 2012


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  0x00007ffff7bd2fef in avahi_unescape_label (
    name=name at entry=0x7fffffffe408, 
    dest=dest at entry=0x7fffffffe410 "HP Photosmart C5200 series @ till", 
    size=size at entry=64) at domain.c:100
#1  0x00007ffff7bd3674 in avahi_domain_equal (
    a=0x6757a0 "\\032C5200\\032series\\032\\064\\032till._printer._tcp.local", 
    b=0x64d9c0 "Hewlett-Packard\\032HP\\032Color\\032LaserJet\\032CM3530\\032MFP\\032\\064\\032till._ipp._tcp.local") at domain.c:239
#2  0x00007ffff79b1bdf in packet_add_probe_query (s=s at entry=0x62b190, 
    p=p at entry=0x674be0, pj=0x66e880, pj at entry=0x673380) at probe-sched.c:201
#3  0x00007ffff79b1ece in elapse_callback (e=<optimized out>, 
    data=<optimized out>) at probe-sched.c:281
#4  0x00007ffff79a2093 in expiration_event (timeout=<optimized out>, 
    userdata=0x623ad0) at timeeventq.c:94
#5  0x00007ffff7bd56c8 in avahi_simple_poll_dispatch (s=0x6229c0)
    at simple-watch.c:570
#6  0x00007ffff7bd5785 in avahi_simple_poll_iterate (s=<optimized out>, 
    timeout=timeout at entry=-1) at simple-watch.c:605
#7  0x000000000040676c in run_server (c=<optimized out>) at main.c:1217
#8  main (argc=<optimized out>, argv=<optimized out>) at main.c:1635
(gdb)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to avahi in Ubuntu.
https://bugs.launchpad.net/bugs/1059286

Title:
  avahi-daemon takes 100% CPU right after boot and at every restart of
  CUPS

Status in “avahi” package in Ubuntu:
  New

Bug description:
  When I boot the system and log in avahi-daemon takes 100% CPU and
  Avahi/mDNS/Bonjour does not work at all, avahi-discover does not get
  access to anything and does not open its window, until it reaches a
  timeout and shows an error dialog.

  When I restart avahi-daemon with

  sudo restart avahi-daemon

  avahi-daemon usually gets back to normal not taking significant CPU
  percentage and answering to avahi-discover correctly. If it takes 100%
  CPU again I simply do another restart to get it to normal.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: avahi-daemon 0.6.31-1ubuntu1
  ProcVersionSignature: Ubuntu 3.5.0-16.25-generic 3.5.4
  Uname: Linux 3.5.0-16-generic x86_64
  ApportVersion: 2.5.3-0ubuntu1
  Architecture: amd64
  Date: Mon Oct  1 00:05:30 2012
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120724.2)
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: avahi
  UpgradeStatus: No upgrade log present (probably fresh install)
  mtime.conffile..etc.avahi.avahi.daemon.conf: 2012-09-18T17:25:04.112674

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/avahi/+bug/1059286/+subscriptions




More information about the foundations-bugs mailing list