SIGTRAP when sending signal on closing dbus connection
- From: Jean-Pierre Bogler continental-corporation com
- To: gnome-devel-list gnome org
- Subject: SIGTRAP when sending signal on closing dbus connection
- Date: Tue, 16 Jun 2015 12:14:48 +0200
Hi *,
in a multi threaded application we are receiving a
SIGTRAP, while using gdbus.
In short terms, the application is doing the following:
Thread 1: g_object_unref(connection);
Thread 2: g_dbus_connection_emit_signal(connection);
The SIGTRAP is raised when a "pthread_mutex_trylock"
fails, in the callstack of
"g_dbus_connection_emit_signal", because
the mutex already is invalid. I assumed
that gdbus is thread safe at this point. Is this assumption
wrong or is there really
a bug?
In case more details are requried, please let me know.
I can easily reproduce the
issue at my place and already implemented a small
test executable.
Best regards
Jean-Pierre
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]