Bug#272743: libgnomecups1.0-1: libgnomecups causing segfaults

Joop Stakenborg Joop Stakenborg <pa3aba@debian.org>, 272743@bugs.debian.org
Tue, 21 Sep 2004 20:39:17 +0200


Package: libgnomecups1.0-1
Version: 0.1.11-1
Severity: grave
Justification: renders package unusable

I have been bitten by a bug in the current debian version of
libgnomecups. Every time I want to print with my application, 
which is linked against libgnomecups, I get:

(xlog:8978): GLib-CRITICAL **: file gthreadpool.c: line 284
(g_thread_pool_new): assertion `g_thread_supported ()' failed

GLib-ERROR **: The thread system is not yet initialized.
aborting...

[segfault]

The problem seems to come from libgnomecups and is fixed in 0.1.12, from
the Changelog:

2004-08-24  Colin Walters  <walters@verbum.org>

        * libgnomecups/gnome-cups-request.c (_gnome_cups_request_init):
        Ensure thread system is initialized.

There is an easy test which you can do. tests/simple.c in the
libgnomeprint2.2 package causes exactly the same error with 0.1.11 but
works okay with 0.1.12. I think it is essential that the libgnomecups
debian package gets updated.


Regards,
Joop