mutex assert in dbus-connection.c line 1331

frederic heem frederic.heem at
Wed Sep 6 10:23:21 PDT 2006

A problem has been found with dbus-0.92 and dbus-lib-0.71. It only happens 
when used with valgrind, since it slows down the program, it exhibits some 
problems that are not found in normal use. Actually, it can also happen when 
Here the following assert:
assertion failed "!(connection)->have_connection_lock" 
file "dbus-connection.c" line 1331 function _dbus_connection_handle_watch
To get the assert, dbus has been configured with:
./configure --enable-verbose-mode --enable-asserts --enable-checks --prefix=/usr
I strongly recommend  anyone who develops a dbus app to configure dbus with 
the maximum number of sanity checks.
A bug report has been filled:


--- NOTICE ---

CONFIDENTIALITY - This  email  and  any  attachments  are confidential and are
intended  for  the  addressee  only.   If  you  have  received this message by
mistake,  please  contact us immediately and then delete the message from your
system.  You  must  not copy, distribute, disclose or act upon the contents of
this email. Thank you.

PERSONAL DATA PROTECTION  (Law  by  Decree  30. 06.2003 n. 196) - Personal and
corporate  data  submitted  will  be used in a correct, transparent and lawful
manner. The data collected will be processed in paper or computerized form for
the performance of contractual  and  lawful  obligations  as  well  as for the
effective management of business relationship. Data may be disclosed, in Italy
or abroad, for the purpose above mentioned to third  parties  which  cooperate
with Telsey, agents, banks, factoring companies,  credit recovering companies,
credit  insurance  companies,  professional  and  consultants,  and   shipping
companies. In relation to the same purposes, data  may  be  processed  by  the
following  classes  of  executors  or  processors:  management; administration
department; logistics  and  purchase  department; sales department; post sales
department quality department; R&D department; IT department; legal department.
The  data  processor  is  Telsey S.p.A.  The data subject may exercise all the
rights set forth in art. 7 of Law by Decree 30. 06.2003 n. 196 as reported  in
in the following link 


More information about the dbus mailing list