Bug#818694: cups: Assertion `*_head == _item` failed in avahi_entry_group_free
Package: cups
Version: 2.1.3-3
Severity: normal
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
cupsd crashed with the following message:
Mar 18 10:54:10 wintermute cupsd[20158]: cupsd: entrygroup.c:245: avahi_entry_group_free: Assertion `*_head == _item' failed.
Mar 18 10:54:10 wintermute systemd[1]: cups.service: Main process exited, code=killed, status=6/ABRT
Backtrace:
[New LWP 20198]
[New LWP 20158]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/sbin/cupsd -l'.
Program terminated with signal SIGABRT, Aborted.
#0 0x00007fdb15398478 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
55 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
[Current thread is 1 (Thread 0x7fdb1129d700 (LWP 20198))]
(gdb) bt full
#0 0x00007fdb15398478 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
resultvar = 0
pid = 20158
selftid = 20198
#1 0x00007fdb153998fa in __GI_abort () at abort.c:89
save_stage = 2
act = {__sigaction_handler = {sa_handler = 0x4, sa_sigaction = 0x4}, sa_mask = {__val = {0, 140578956318816, 140578862516624, 4170012000, 0, 0, 0, 21474836480, 140578931909807, 140578862516776, 140578862516576, 140578931923640, 140578931943888, 152,
140578956247040, 140578941568338}}, sa_flags = 245, sa_restorer = 0x7fdb15e007d0 <__PRETTY_FUNCTION__.5537>}
sigs = {__val = {32, 0 <repeats 15 times>}}
#2 0x00007fdb153913a7 in __assert_fail_base (fmt=<optimized out>, assertion=assertion@entry=0x7fdb15e00552 "*_head == _item", file=file@entry=0x7fdb15e00537 "entrygroup.c", line=line@entry=245,
function=function@entry=0x7fdb15e007d0 <__PRETTY_FUNCTION__.5537> "avahi_entry_group_free") at assert.c:92
str = 0x7fdb0c000920 ""
total = 4096
#3 0x00007fdb15391452 in __GI___assert_fail (assertion=assertion@entry=0x7fdb15e00552 "*_head == _item", file=file@entry=0x7fdb15e00537 "entrygroup.c", line=line@entry=245, function=function@entry=0x7fdb15e007d0 <__PRETTY_FUNCTION__.5537> "avahi_entry_group_free")
at assert.c:101
No locals.
#4 0x00007fdb15df9e47 in avahi_entry_group_free (group=0x55daf88c3f60) at entrygroup.c:245
_head = 0x55daf8853dc8
_item = 0x55daf88c3f60
client = 0x55daf8853d70
r = 0
__PRETTY_FUNCTION__ = "avahi_entry_group_free"
#5 0x000055daf6f10b52 in dnssdDeregisterInstance (srv=0x55daf87b8100, from_callback=<optimized out>) at dirsvc.c:684
No locals.
#6 0x000055daf6f10bd2 in dnssdDeregisterPrinter (p=0x55daf87b7960, clear_name=clear_name@entry=1, from_callback=from_callback@entry=1) at dirsvc.c:711
No locals.
#7 0x000055daf6f110e8 in dnssdDeregisterAllPrinters (from_callback=from_callback@entry=1) at dirsvc.c:659
p = <optimized out>
#8 0x000055daf6f1246d in dnssdClientCallback (c=0x55daf8853d70, state=<optimized out>, userdata=<optimized out>) at dirsvc.c:602
error = 21978
#9 0x00007fdb15df8b15 in filter_func (bus=0x4ebe, message=0x55daf88d5560, userdata=0x55daf8853d70) at client.c:300
error = {name = 0x0, message = 0x0, dummy1 = 1, dummy2 = 0, dummy3 = 0, dummy4 = 0, dummy5 = 0, padding1 = 0x7fdb16223bee <_dbus_connection_unlock+62>}
__PRETTY_FUNCTION__ = "filter_func"
#10 0x00007fdb16227795 in dbus_connection_dispatch () from /lib/x86_64-linux-gnu/libdbus-1.so.3
No symbol table info available.
#11 0x00007fdb15dffa96 in dispatch_timeout_callback (t=<optimized out>, userdata=0x55daf87b92b0) at ../avahi-common/dbus-watch-glue.c:105
d = 0x55daf87b92b0
#12 0x00007fdb1600cd68 in avahi_simple_poll_dispatch (s=0x55daf88fa880) at simple-watch.c:570
next_timeout = 0x55daf88c3ed0
w = <optimized out>
__PRETTY_FUNCTION__ = "avahi_simple_poll_dispatch"
#13 0x00007fdb1600d04d in avahi_simple_poll_loop (s=0x55daf88fa880) at simple-watch.c:646
r = <optimized out>
__PRETTY_FUNCTION__ = "avahi_simple_poll_loop"
#14 0x00007fdb1600d114 in thread (userdata=0x55daf88da580) at thread-watch.c:71
p = 0x55daf88da580
mask = {__val = {18446744067267100671, 18446744073709551615 <repeats 15 times>}}
#15 0x00007fdb15710454 in start_thread (arg=0x7fdb1129d700) at pthread_create.c:334
__res = <optimized out>
pd = 0x7fdb1129d700
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140578862520064, -1989706272977805269, 0, 140731603073775, 3, 94398960011632, 2005516890017538091, 2005524936427348011}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0,
canceltype = 0}}}
not_first_call = <optimized out>
pagesize_m1 = <optimized out>
sp = <optimized out>
freesize = <optimized out>
__PRETTY_FUNCTION__ = "start_thread"
#16 0x00007fdb1544dedd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
No locals.
- -- System Information:
Debian Release: 8.3
APT prefers stable-updates
APT policy: (550, 'stable-updates'), (550, 'stable'), (530, 'testing'), (520, 'unstable'), (510, 'experimental'), (500, 'unstable-debug'), (500, 'testing-updates')
Architecture: amd64 (x86_64)
Kernel: Linux 4.4.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages cups depends on:
ii cups-client 2.1.3-3
ii cups-common 2.1.3-3
ii cups-core-drivers 2.1.3-3
ii cups-daemon 2.1.3-3
ii cups-filters 1.8.2-3
ii cups-ppdc 2.1.3-3
ii cups-server-common 2.1.3-3
ii debconf [debconf-2.0] 1.5.59
ii ghostscript 9.06~dfsg-2+deb8u1
ii libavahi-client3 0.6.31-5
ii libavahi-common3 0.6.31-5
ii libc-bin 2.22-3
ii libc6 2.22-3
ii libcups2 2.1.3-3
ii libcupscgi1 2.1.3-3
ii libcupsimage2 2.1.3-3
ii libcupsmime1 2.1.3-3
ii libcupsppdc1 2.1.3-3
ii libgcc1 1:5.3.1-11
ii libstdc++6 5.3.1-11
ii libusb-1.0-0 2:1.0.19-1
ii lsb-base 4.1+Debian13+nmu1
ii poppler-utils 0.26.5-2
ii procps 2:3.3.9-9
Versions of packages cups recommends:
ii avahi-daemon 0.6.31-5
ii colord 1.2.1-1+b2
ii cups-filters [ghostscript-cups] 1.8.2-3
pn printer-driver-gutenprint <none>
Versions of packages cups suggests:
pn cups-bsd <none>
pn cups-pdf <none>
pn foomatic-db-compressed-ppds | foomatic-db <none>
pn hplip <none>
pn printer-driver-hpcups <none>
ii smbclient 2:4.1.17+dfsg-2+deb8u2
ii udev 229-2
- -- debconf information:
* cupsys/backend: lpd, socket, usb, snmp, dnssd
* cupsys/raw-print: false
-----BEGIN PGP SIGNATURE-----
iQIcBAEBCAAGBQJW7aquAAoJENILQgJc2ie5FtUQAKB9WizexZ7Zay9kimcv8+Kt
UZLeo+OsndBOl7jPb58rDljzwx1JXJoGeM84KvTLg3GY9WDBr2TbsnKbNgUsJHfn
t890+FVf5qTsDOmtJqa1u1VQdWencpIYHiDIHto3dNyAmuOGHpZoZYbsCsang/Ce
ZWkMR9e7OVJxlhhBIvCt6fbZSKEUdk/Z7DIcB6RaQDdf5jgz4Nw2o8JDcU3BhCot
YSslxxz8SBH7EWdcR7UkUiAAbeJXcCD29LCwVZYMp9PSN++R/LM0Ye8OnB+/ro92
Oz3aQDYUkiV2tvHMxQ2t4GnTSjE9O3oPr5wqaOztnR44gLeXL1rp1jpndsjW96yy
+6kByBzZSRT6FhCUbRjE/Q3E/3r5l38mkpDpLTsQWkujggXVHoK4zN3oMYYK5Hs1
RYNwmaRBYUE5OsFke2knIis9KPobiLW+sHYUc7bAiAC6apsATLWoz+FIbB1FX/yt
PIMwcmiTeEzN5W04890LTegJZaNbQCIsvVDKygjpDKDzlP4eU9TX72qFRP+FYadT
y25mnkesk3RY83OUALDsb3XUGHOVppQpLPvhGG0TzrAVMXuxzM7fosCMc0NLNA7i
w6tky6ygltuELdnRKb8r5z5pfbgPoAIlsNeTPkk8m7Acgjlfni77J+O+Gw1ot2Qz
RaonY297fMRU/MdZUSmL
=Y+Pp
-----END PGP SIGNATURE-----
Reply to: