colord-sane assert failure: colord-sane: simple-watch.c:454: avahi_simple_poll_prepare: Assertion `s->state == STATE_INIT || s->state == STATE_DISPATCHED || s->state == STATE_FAILURE' failed.
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | sane-backends (Ubuntu) |
Medium
|
Unassigned | ||
| | Trusty |
Low
|
Unassigned | ||
| | Xenial |
Medium
|
Unassigned | ||
| | Yakkety |
Medium
|
Unassigned | ||
| | Zesty |
Medium
|
Unassigned | ||
Bug Description
[Impact]
A bug in the SANE Kodak driver can cause a SANE device scan to crash the client that is using it (e.g. colord, simple-scan).
[Test Case]
1. Run a SANE client on a system that is failing Avahi scans (exact cause not determined).
Expected result:
Client works without crashing.
Observed result:
Client crashes.
[Regression Potential]
Code fix could cause a change in behaviour of successful Avahi scans for Kodak devices, though the fix matches the Avahi documentation for correct usage.
| Fred (eldmannen+launchpad) wrote : | #1 |
| Apport retracing service (apport) wrote : | #2 |
| Changed in colord (Ubuntu): | |
| importance: | Undecided → Medium |
| tags: | removed: need-amd64-retrace |
| Launchpad Janitor (janitor) wrote : | #6 |
Status changed to 'Confirmed' because the bug affects multiple users.
| Changed in colord (Ubuntu): | |
| status: | New → Confirmed |
| Timo Aaltonen (tjaalton) wrote : | #7 |
I got this after upgrade to vivid
| information type: | Private → Public |
| Singtoh (singtoh) wrote : | #8 |
Fresh install a couple of days ago. This error appeared after a "cold boot" after the machine was off and after updates were installed. Nothing more to add.
Singtoh
| Sebastien Bacher (seb128) wrote : | #9 |
seems an issue with libsane-
| affects: | colord (Ubuntu) → sane-backends (Ubuntu) |
| Lars Hallberg (lah) wrote : | #10 |
Got this in 15.04. Also at times get the avahi disabled .local warning if they may be related.
| sergeyfromminsk (shu-mail) wrote : | #11 |
15.04 confirm
| Paul (pinger) wrote : | #12 |
15.04 confirm, only after first boot.
| Jackson Doak (noskcaj) wrote : | #13 |
Does this affect anyone on 15.10?
| Terrem (terrem88) wrote : | #14 |
yes, it does.
| Adrian Guenter (adrianguenter) wrote : | #15 |
@lah Same here.
| pltxtra (pltxtra) wrote : | #16 |
Is this ever going to be fixed? I'm on 15.04. Annoying to see this every time I log in.
| Gumuiyul (gumuiyul) wrote : | #17 |
I have same proglem in Ubuntu Gnome 15.04.
| Ake Lerttriluck (akeonly) wrote : | #18 |
I'm having the same problem, I'd be more than happy to help but I don't know where to start if anyone could point me to the right direction that would be great.
Thanks
| Ville Ranki (ville-ranki) wrote : | #19 |
Any sane developers following this? It's very annoying to see the crash notification on every boot.
| PeterW (peter-waltman) wrote : | #20 |
Ditto on Ville Ranki's question. Not an Earth-shattering problem, but annoying nonetheless.
| tags: | added: wily |
| demicat (mark-demicat) wrote : | #21 |
After update today sep 27 2015 I start to have the same problem, I have this problem on 3 ubuntu version from 2011. May be somebody try to remove this useless program from default installation? please! please!, 4 years you cant fix it, may be simple remove it and stop this hard sex with colord sane ) Thx developers this program! may be this gays start to working on ms windows? - linux is not right OS for this gays )
| demicat (mark-demicat) wrote : | #22 |
15.04 steel active bug!
| CRAFT (craft37) wrote : | #23 |
15.10 latest daily.
still bores me every time computers starts, ouch!
pls fix it somehow, cause I can deal only with html
| chm0ntf (nickform) wrote : | #24 |
I've had this for what seems like ages now. The apport dialog has an "Ignore future problems of this type" which works but is apparently reset by system updates, which is pretty frequently. :-(
| Ilya Kharin (akscram) wrote : | #25 |
15.04 on every boot appears.
| Ari Torhamo (ari-torhamo) wrote : | #26 |
I have experienced this bug as long as I can remember, years anyway. My hardware has changed completely during that time, but the bug stays :-)
I haven't let send the automatic bug report often, because I have thought that sending too many of them annoys the developers. Would it be better to send them all, or perhaps one every week or couple so that the developers know that the bug still exists ?
I'm using 15.10 now, and currently the crash happens at every boot.
| Yuriy (priymayuriy) wrote : | #27 |
The same bug on Ubuntu 15.10
I send data about this bug
I think It could be because of the f.lux. It not works on Ubuntu 15.10 and i changed code to force it work
f.lux make screen not so bright
maybe it could help u guys
| Jos Flachs (jos-4) wrote : | #28 |
After upgrading to 15.10 I get this error every day when I start up.
I don't really use scanner, so I decided to simply remove buggy packages:
sudo apt-get remove sane-utils
sudo apt-get remove colord
| peterK (peter-kanderholm) wrote : | #30 |
Thank you Taras for the instructions! Finally got rid of this crash after 1 year.
In Ubutnu Software center I remove the installed "Simple Scan" application
then removed the packages
sudo apt-get remove sane-utils
sudo apt-get remove colord
sudo apt-get autoremove
Problem gone, finally no crashes any more!
| Anton Johansson (anton-johansson) wrote : | #31 |
Had the same problem, and decided to go with Taras suggestion. Works like a charm, no more crashes. Thanks!
| Jan D. (chakko007) wrote : | #33 |
Same issue here on Ubuntu 15.10 64-bit, and also the Avahi disabled .local warning mentioned in reply #10. Hope this gets resolved soon...
| postadelmaga (postadelmaga) wrote : | #34 |
As share above, on Ubuntu 15.10 I got the crash every day, that is very annoying
| SilSie (silsie) wrote : | #35 |
The bug is still present on 16.04 beta build 1.
| Gumuiyul (gumuiyul) wrote : | #36 |
Same bug on 16.04 daily build 20160406.
Log file attached in /var/crash/
| ssr (seremin) wrote : | #37 |
Got it on 16.04 LTS final release as well.
Followed earlier instructions to remove colord, so it is really does not bother me, but might spoil the impression of newcomers
| Sergey Ostapov (sergey-ostapov) wrote : | #38 |
I have this bug on final version 16.04 LTS (i386) after cold restart every time!
| Sarraceno (jfhtomas) wrote : | #39 |
I have a fresh install for Ubuntu 16.04, updated, and same issue.
After read the peterK (peter-kanderholm) post wrote on 2016-01-08, I couldn't accept it, I do use regular basis a scanner...
Then per the bug reported I did remember the "Color" and "Color Profile Viewer", entered there and almost immediately was recommended to install Gnome Color Manager, accepted.
Then twice reboot no bug, no more crashes.
I do remember this come after I did plug a second monitor to my laptop, could this be a coincidence?
Regards!
| Anton Eliasson (eliasson) wrote : | #40 |
I tried installing Gnome Color Manager as well, and while colord no longer seems to crash on every boot, it still sometimes crashes after waking from suspend on the same failed assertion.
| Maxwell Young (yangzmaxwell) wrote : | #41 |
I have this bug on final version 16.04 LTS (x64) after every starting !
It occured after upgrading to 16.04 from 15.10. Please give a solution ! Too annoy !!
Yep, installing gnome-color-manager helps. Thanks, Sarraceno!
| Sergey Saraev (sergey-saraev) wrote : | #43 |
I installed gnome-color-
| Bulat (venima) wrote : | #44 |
Ubuntu 16.04.1 LTS: colord-sane always crashes. Installed gnome-color-manager today. Let's see what happens next...
| Bulat (venima) wrote : | #45 |
Problem stays unsolved.
| Yan Filippovsky (vater) wrote : | #46 |
The problem has disappeared after I have plugged back my scanner (Mustek BearPaw 1200 TA)
| tags: | added: yakkety |
| tags: | added: vivid |
| Mike Krall (mkrall-wyo) wrote : | #47 |
End March install 16.04.2. First boot... not all boots... few reboots.
| Eldar Khayrullin (eldar) wrote : | #48 |
Ubuntu 16.10 has the same bug
| Changed in sane-backends (Ubuntu): | |
| status: | Confirmed → Triaged |
| Changed in sane-backends (Ubuntu Yakkety): | |
| status: | New → Triaged |
| Changed in sane-backends (Ubuntu Xenial): | |
| status: | New → Triaged |
| Changed in sane-backends (Ubuntu Trusty): | |
| status: | New → Triaged |
| importance: | Undecided → Low |
| Changed in sane-backends (Ubuntu Xenial): | |
| importance: | Undecided → Medium |
| Changed in sane-backends (Ubuntu Yakkety): | |
| importance: | Undecided → Medium |
| description: | updated |
| Changed in sane-backends (Ubuntu Xenial): | |
| status: | Triaged → Fix Committed |
| Changed in sane-backends (Ubuntu Yakkety): | |
| status: | Triaged → Fix Committed |
| Changed in sane-backends (Ubuntu Zesty): | |
| status: | Triaged → Fix Committed |
| Launchpad Janitor (janitor) wrote : | #49 |
This bug was fixed in the package sane-backends - 1.0.25+
---------------
sane-backends (1.0.25+
* debian/
- Fix crash when Avahi fails scanning for Kodak scanners (LP: #1351286)
-- Robert Ancell <email address hidden> Tue, 04 Apr 2017 11:56:59 +1200
| Changed in sane-backends (Ubuntu Zesty): | |
| status: | Fix Committed → Fix Released |
| Brian Murray (brian-murray) wrote : | #50 |
There's a whole bunch of these in the Error Tracker so that'll be a useful data point when verifying the fix. Although, you'd need to dig into the Dependencies to find the sane-backends version.
| tags: | added: verification-needed |
Hello Fred, or anyone else affected,
Accepted sane-backends into yakkety-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-
Further information regarding the verification process can be found at https:/
| Brian Murray (brian-murray) wrote : | #52 |
Hello Fred, or anyone else affected,
Accepted sane-backends into xenial-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-
Further information regarding the verification process can be found at https:/
| Robert Ancell (robert-ancell) wrote : | #53 |
Crash reports on errors.ubuntu.com:
https:/
I couldn't find any reports with crashes using the updated libsane, but this was just a random selection. I don't know of a method to get all these reports easily and check the libsane dependency?
The small number of 17.04 reports gives me hope this is really fixed...
As part of a recent change in the Stable Release Update verification policy we would like to inform that for a bug to be considered verified for a given release a verification-
Thank you!
| Amr Ibrahim (amribrahim1987) wrote : | #55 |
Please verify for Xenial.
| tags: | added: verification-done-xenial |
| Chanakan Mungtin (chanakan6771) wrote : | #56 |
I have this Problem on ubuntu 16.04 after i am update my ubuntu.
| Łukasz Zemczak (sil2100) wrote : | #57 |
I see someone marked this bug as verified but did not provide any testing summary. Remember that it is required to put at least an overview of what tests have been performed and on which package versions for the SRU team to consider a bug as verified.
Could you please provide the necessary information? We cannot release it otherwise. Thank you.
| tags: |
added: verification-needed-xenial removed: verification-done-xenial |
| Ubuntu Foundations Team Bug Bot (crichton) wrote : [sane-backends/xenial] verification still needed | #58 |
The fix for this bug has been awaiting testing feedback in the -proposed repository for xenial for more than 90 days. Please test this fix and update the bug appropriately with the results. In the event that the fix for this bug is still not verified 15 days from now, the package will be removed from the -proposed repository.
| tags: | added: removal-candidate |
| Ivan Frederiks (idfred) wrote : | #59 |
This bug seems to be fixed in Xenial proposed package. My system reported about saned crashes (caused by assertion failure described in this bug) on every boot. Then I installed updated package and I do not observe any sane related crashes anymore.


StacktraceTop: assertion@ entry=0x7fcd926 f9fb0 "s->state == STATE_INIT || s->state == STATE_DISPATCHED || s->state == STATE_FAILURE", file=file@ entry=0x7fcd926 f9ee8 "simple-watch.c", line=line@ entry=454, function= function@ entry=0x7fcd926 fa140 "avahi_ simple_ poll_prepare" ) at assert.c:92 0x7fcd926f9fb0 "s->state == STATE_INIT || s->state == STATE_DISPATCHED || s->state == STATE_FAILURE", file=0x7fcd926f9ee8 "simple-watch.c", line=454, function= 0x7fcd926fa140 "avahi_ simple_ poll_prepare" ) at assert.c:101 simple_ poll_prepare () from /tmp/apport_ sandbox_ 6pKceT/ usr/lib/ x86_64- linux-gnu/ libavahi- common. so.3 simple_ poll_iterate () from /tmp/apport_ sandbox_ 6pKceT/ usr/lib/ x86_64- linux-gnu/ libavahi- common. so.3 network_ discovery (host=0x0) at kodakaio.c:2339
__assert_fail_base (fmt=0x7fcda3d688b0 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=
__GI___assert_fail (assertion=
avahi_
avahi_
kodak_