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.
Bug #1351286 reported by
Fred
This bug affects 89 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sane-backends (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Trusty |
Triaged
|
Low
|
Unassigned | ||
Xenial |
Won't Fix
|
Medium
|
Unassigned | ||
Yakkety |
Fix Committed
|
Medium
|
Unassigned | ||
Zesty |
Fix Released
|
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.
tags: | added: wily |
tags: | added: yakkety |
tags: | added: vivid |
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 |
tags: | added: verification-done-xenial |
tags: |
added: verification-needed-xenial removed: verification-done-xenial |
To post a comment you must log in.
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_