Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 714300 Details for
Bug 924566
Banshee crash because of libdbus and gconf-sharp
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch for initializing dbus_glib in GConf and prevent it from crashing
04_initialize_dbus_glib_threading.patch (text/plain), 1.70 KB, created by
cs
on 2013-03-22 05:32:01 UTC
(
hide
)
Description:
Patch for initializing dbus_glib in GConf and prevent it from crashing
Filename:
MIME Type:
Creator:
cs
Created:
2013-03-22 05:32:01 UTC
Size:
1.70 KB
patch
obsolete
>From e9d06b56a54dcd399d1d3eaaf62bdacb7e07084d Mon Sep 17 00:00:00 2001 >From: Mirco Bauer <meebey@meebey.net> >Date: Sat, 2 Mar 2013 13:44:46 +0100 >Subject: [PATCH] Explicitly initialize D-Bus GLib threading > >When gconf was switched from orbit to dbus it was no longer thread-safe by >default. This behavior can only get back by explicitly initializing dbus-glib's >threads. This issue affects multi-threaded GConf# users like Banshee leading >them to SEGVs. > >For more details see: >https://bugzilla.gnome.org/show_bug.cgi?id=683830 >--- > gconf/GConf/Client.cs | 11 +++++++++++ > gconf/GConf/gconf-sharp.dll.config.in | 1 + > 2 files changed, 12 insertions(+) > >diff --git a/gconf/GConf/Client.cs b/gconf/GConf/Client.cs >index b8cc881..64efc9f 100644 >--- a/gconf/GConf/Client.cs >+++ b/gconf/GConf/Client.cs >@@ -31,6 +31,17 @@ namespace GConf > [DllImport("gconf-2")] > static extern IntPtr gconf_client_get_default (); > >+ [DllImport("dbus-glib-1")] >+ static extern void dbus_g_thread_init (); >+ >+ static Client () >+ { >+ // HACK: we have to initialize dbus' threading else GConf with its >+ // dbus backend will not be thread safe and SEGVs in our face, see: >+ // https://bugzilla.gnome.org/show_bug.cgi?id=683830 >+ dbus_g_thread_init(); >+ } >+ > public Client () > { > Initialize (); >diff --git a/gconf/GConf/gconf-sharp.dll.config.in b/gconf/GConf/gconf-sharp.dll.config.in >index 9fb7d15..f20ddae 100644 >--- a/gconf/GConf/gconf-sharp.dll.config.in >+++ b/gconf/GConf/gconf-sharp.dll.config.in >@@ -1,3 +1,4 @@ > <configuration> > <dllmap dll="gconf-2" target="libgconf-2@LIB_PREFIX@.4@LIB_SUFFIX@"/> >+ <dllmap dll="dbus-glib-1" target="libdbus-glib-1@LIB_PREFIX@.2@LIB_SUFFIX@"/> > </configuration> >-- >1.7.10.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 924566
:
714299
| 714300