Re: Proposal: Enable threads by default
- From: Colin Walters <walters verbum org>
- To: Alexander Larsson <alexl redhat com>
- Cc: "gtk-devel-list gnome org" <gtk-devel-list gnome org>
- Subject: Re: Proposal: Enable threads by default
- Date: Wed, 2 Dec 2009 18:01:14 +0000
On Wed, Dec 2, 2009 at 11:03 AM, Alexander Larsson <alexl redhat com> wrote:
>
> Running with this patch i ran into an issue while building gnome-shell:
>
> GEN Gdm-1.0.gir
>
> GThread-ERROR **: GThread system may only be initialized once.
> aborting...
> Command '['/gnome/src/gnome-shell/src/tmp-introspectpoWP_f/Gdm-1.0',
> '--introspect-dump=/gnome/src/gnome-shell/src/tmp-introspectpoWP_f/types.txt,/gnome/src/gnome-shell/src/tmp-introspectpoWP_f/dump.xml']' returned non-zero exit status -5
>
> Not sure exactly what crashed, but obviously something ran:
> g_type_init() and then g_thread_init(). Maybe we need to make this a
> non-fatal warning?
Nah, just a bug in the dumper. Fixed:
commit ffd9b39620c9665a8685363202b4f02fa895288c
Author: Colin Walters <walters verbum org>
Date: Wed Dec 2 12:56:52 2009 -0500
[dumper] Fix threads initialization
Correctly guard with g_thread_supported, call g_thread_init before
g_type_init.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]