Hi,<div><br></div><div><font face="arial, helvetica, sans-serif">I am getting this assertion failure causing a crash on a android mobile phone using DBUS 1.4.0.</font></div><div><font face="arial, helvetica, sans-serif"><br>
</font></div><div><div><font face="arial, helvetica, sans-serif" color="#ff0000">W libdbus : 495: assertion failed "!(connection)->have_connection_lock" file "external/dbus/dbus/dbus-connection.c" line 369 function _dbus_connection_lock</font></div>
<div><font face="arial, helvetica, sans-serif" color="#ff0000">01-02 09:44:10.580 495 1620 F libc : Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1)</font></div></div><div><font face="arial, helvetica, sans-serif"><br></font></div>
<div><font face="arial, helvetica, sans-serif">I have picked up below few patches from the community which could have fixed this issue, but i am still seeing the issue.</font></div><div><font face="arial, helvetica, sans-serif"><br>
</font></div><div><div style><font face="arial, helvetica, sans-serif">1. <span style="white-space:nowrap">dbus_bus_register: don't unref the messages with the lock held</span> </font></div><div style><font face="arial, helvetica, sans-serif">2. <span style="white-space:nowrap">_dbus_connection_message_sent: rename to _unlocked</span> </font></div>
<div style><font face="arial, helvetica, sans-serif">3. <span style="white-space:nowrap">Add _dbus_counter_notify and call it after every adjustment</span> </font></div><div style><font face="arial, helvetica, sans-serif">4. <span style="white-space:nowrap">Comment some places where it's OK to unref a message despite holding locks</span> </font></div>
<div style><font face="arial, helvetica, sans-serif">5. <span style="white-space:nowrap">When attaching counters to messages, don't automatically notify callbacks</span> </font></div><div style><font face="arial, helvetica, sans-serif">6. <span style="white-space:nowrap">Don't inline the contents of _dbus_connection_unlock</span> </font></div>
<div style><font face="arial, helvetica, sans-serif">7. <span style="white-space:nowrap">Don't finalize sent or dispatched messages while under the connection lock</span> </font></div></div><div><br></div><div>Can anyone suggest if this issue is already fixed on latest dbus and point me to the patches which fixed it.</div>
<div><br></div><div>Thanks a lot,</div><div>Ankit</div>