[colord] colord Digest, Vol 14, Issue 2

Ann McCarthy almccart at lexmark.com
Wed Sep 12 15:39:53 PDT 2012


Please change my email address in this list
from: almccart at lexmark.com
to:  ann at realitygear.com

Thank you.

Best regards,
Ann L McCarthy
Imaging Systems Architect
Lexmark International, Inc.


On Wed, Sep 12, 2012 at 3:00 PM,  <colord-request at lists.freedesktop.org> wrote:
> Send colord mailing list submissions to
>         colord at lists.freedesktop.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.freedesktop.org/mailman/listinfo/colord
> or, via email, send a message with subject or body 'help' to
>         colord-request at lists.freedesktop.org
>
> You can reach the person managing the list at
>         colord-owner at lists.freedesktop.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of colord digest..."
>
>
> Today's Topics:
>
>    1. Removal of libsane support (Christopher James Halse Rogers)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 12 Sep 2012 15:32:00 +1000
> From: Christopher James Halse Rogers
>         <christopher.halse.rogers at canonical.com>
> To: colord at lists.freedesktop.org
> Subject: [colord] Removal of libsane support
> Message-ID: <1347427920.9933.15.camel at Crawfish>
> Content-Type: text/plain; charset="utf-8"
>
> While helping to track down why gconf-using applications keep crashing
> in libdbus I think I've run across a decent hypothesis for a large
> number of colord-sane (or old colord) crashes: thread-safety of libdbus.
>
> It goes something like this:
> *) libdbus is threadsafe iff dbus_threads_init_default() is called.
> *) GDBus is threadsafely implemented on top of libdbus, but does not
> require libdbus to be threadsafe, nor does it call
> dbus_threads_init_default()
> *) colord-sane uses GDBus, which is fine.
> *) colord-sane also uses libsane.
>  +) Which links to libavahi
>   -) Which uses libdbus directly, and spawns threads.
>
> Fixing this should be as simple as calling dbus_threads_init_default
> early in colord-sane's main(). Should be, because I can't reproduce
> these crashes myself, so I can't test. We see lots of colord 0.1.16
> crashes here in Ubuntu 12.04, though, and I'm going to upload a colord
> that calls dbus_threads_init_default() to precise-proposed? and see if
> these crashes go away.
>
> Since removing sane support drops support for non-directly-attached
> scanners (like my HP all-in-one), and I think this is the cause of the
> (at least the) top 15 colord crashes in 12.04 in the past year?, it
> might be worth seeing if this significantly improves colord-sane's crash
> rate, and then reinstate it.
>
> Of course, this relies on my guesswork being correct :)
>
> ?: https://errors.ubuntu.com/
> ?: https://bugs.launchpad.net/ubuntu/+source/colord/+bug/844286
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: signature.asc
> Type: application/pgp-signature
> Size: 836 bytes
> Desc: This is a digitally signed message part
> URL: <http://lists.freedesktop.org/archives/colord/attachments/20120912/f2d9bfb9/attachment-0001.pgp>
>
> ------------------------------
>
> _______________________________________________
> colord mailing list
> colord at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/colord
>
>
> End of colord Digest, Vol 14, Issue 2
> *************************************


More information about the colord mailing list