Hi All,<br> Iam new to the mailing list.Iam observing the following assertion failure when i scan for bluetooth devices on a gingerbread based android. phone.<br>Assertion failure in pthread_equal (pmutex-&gt;holder, pthread_self ())&quot; file &quot;external/dbus/dbus/dbus-sysdeps-pthread.c&quot;<br>

<br>Stack Trace:<br>9-22 15:17:39.398 25310 25310 I DEBUG   :          #01  pc 0002ca5c  /system/lib/libdbus.so<br>
                                                                _dbus_abort<br>
                                                                /external/dbus/dbus/dbus-sysdeps.c:84

<p>                                                                0002ca3c &lt;_dbus_abort+0x14&gt;:<br>
                                                                /external/dbus/dbus/dbus-sysdeps.c:77<br>
                                                                   2ca3c:        7803              ldrb        r3, <a href="http://idart.mot.com/browse/IKSTABLE6-15714#0">r0, #0</a><br>
                                                                   2ca3e:        b163              cbz        r3, 2ca5a &lt;_dbus_abort+0x32&gt;<br>
                                                                /external/dbus/dbus/dbus-sysdeps.c:80<br>
                                                                   2ca40:        f000 fde4         bl        2d60c &lt;_dbus_getpid&gt;<br>
                                                                   2ca44:        4909              ldr        r1, <a href="http://idart.mot.com/browse/IKSTABLE6-15714#36">pc, #36</a>        (2ca6c &lt;_dbus_abort+0x44&gt;)<br>
                                                                   2ca46:        4602              mov        r2, r0<br>
                                                                   2ca48:        5860              ldr        r0, <span class="error">[r4, r1]</span><br>
                                                                   2ca4a:        4909              ldr        r1, <a href="http://idart.mot.com/browse/IKSTABLE6-15714#36">pc, #36</a>        (2ca70 &lt;_dbus_abort+0x48&gt;)<br>
                                                                   2ca4c:        30a8              adds        r0, #168<br>
                                                                   2ca4e:        4479              add        r1, pc<br>
                                                                   2ca50:        f7dd ef2a         blx        a8a8 &lt;__on_dlclose-0x480&gt;<br>
                                                                /external/dbus/dbus/dbus-sysdeps.c:81<br>
                                                                   2ca54:        4802              ldr        r0, <a href="http://idart.mot.com/browse/IKSTABLE6-15714#8">pc, #8</a>        (2ca60 &lt;_dbus_abort+0x38&gt;)<br>
                                                                   2ca56:        f000 fca5         bl        2d3a4 &lt;_dbus_sleep_milliseconds&gt;<br>
                                                                /external/dbus/dbus/dbus-sysdeps.c:84<br>
                                                                   2ca5a:        f7dd efe0         blx        aa1c &lt;__on_dlclose-0x30c&gt;<br>
                                                                   2ca5e:        bf00              nop</p>

<p>09-22 15:17:39.398 25310 25310 I DEBUG   :          #02  pc 00016362  /system/lib/libdbus.so<br>
                                                                _dbus_real_assert<br>
                                                                /external/dbus/dbus/dbus-internals.c:836</p>

<p>                                                                00016342 &lt;_dbus_real_assert+0x2&gt;:<br>
                                                                /external/dbus/dbus/dbus-internals.c:831<br>
                                                                   16342:        460d              mov        r5, r1<br>
                                                                   16344:        4614              mov        r4, r2<br>
                                                                   16346:        461e              mov        r6, r3<br>
                                                                /external/dbus/dbus/dbus-internals.c:832<br>
                                                                   
16348:        b968              cbnz        r0, 16366 &lt;_dbus_real_assert+0x26&gt;<br>
                                                                /external/dbus/dbus/dbus-internals.c:834<br>
                                                                   1634a:        f017 f95f         bl        2d60c &lt;_dbus_getpid&gt;<br>
                                                                   1634e:        9b06              ldr        r3, <a href="http://idart.mot.com/browse/IKSTABLE6-15714#24">sp, #24</a><br>
                                                                   16350:        462a              mov        r2, r5<br>
                                                                   16352:        9600              str        r6, <a href="http://idart.mot.com/browse/IKSTABLE6-15714#0">sp, #0</a><br>
                                                                   16354:        9301              str        r3, <a href="http://idart.mot.com/browse/IKSTABLE6-15714#4">sp, #4</a><br>
                                                                   16356:        4623              mov        r3, r4<br>
                                                                   16358:        4601              mov        r1, r0<br>
                                                                   1635a:        4803              ldr        r0, <a href="http://idart.mot.com/browse/IKSTABLE6-15714#12">pc, #12</a>        (16368 &lt;_dbus_real_assert+0x28&gt;)<br>
                                                                   1635c:        4478              add        r0, pc<br>
                                                                   1635e:        f7ff ffaf         bl        162c0 &lt;_dbus_warn&gt;<br>
                                                                /external/dbus/dbus/dbus-internals.c:836<br>
                                                                   16362:        f016 fb61         bl        2ca28 &lt;_dbus_abort&gt;</p>

<p>09-22 15:17:39.398 25310 25310 I DEBUG   :          #03  pc 0002cd66  /system/lib/libdbus.so<br>
                                                                _dbus_pthread_condvar_wait_timeout<br>
                                                                /external/dbus/dbus/dbus-sysdeps-pthread.c:246</p>

<p>                                                                0002cd46 &lt;_dbus_pthread_condvar_wait_timeout+0x2e&gt;:<br>
                                                                /external/dbus/dbus/dbus-sysdeps-pthread.c:246<br>
                                                                   2cd46:        f8d4 9008         ldr.w        r9, <a href="http://idart.mot.com/browse/IKSTABLE6-15714#8">r4, #8</a><br>
                                                                   2cd4a:        f7dd ee7a         blx        aa40 &lt;__on_dlclose-0x2e8&gt;<br>
                                                                   2cd4e:        4601              mov        r1, r0<br>
                                                                   2cd50:        4648              mov        r0, r9<br>
                                                                   2cd52:        f7dd ee82         blx        aa58 &lt;__on_dlclose-0x2d0&gt;<br>
                                                                   2cd56:        4935              ldr        r1, <a href="http://idart.mot.com/browse/IKSTABLE6-15714#212">pc, #212</a>        (2ce2c &lt;_dbus_pthread_condvar_wait_timeout+0x114&gt;)<br>

                                                                   2cd58:        462a              mov        r2, r5<br>
                                                                   2cd5a:        23f6              movs        r3, #246<br>
                                                                   2cd5c:        4479              add        r1, pc<br>
                                                                   2cd5e:        9700              str        r7, <a href="http://idart.mot.com/browse/IKSTABLE6-15714#0">sp, #0</a><br>
                                                                   2cd60:        3800              subs        r0, #0<br>
                                                                   2cd62:        bf18              it        ne<br>
                                                                   2cd64:        2001              movne        r0, #1<br>
                                                                   2cd66:        f7e9 faeb         bl        16340 &lt;_dbus_real_assert&gt;</p>

<p>09-22 15:17:39.398 25310 25310 I DEBUG   :          #04  pc 0002fc02  /system/lib/libdbus.so<br>
                                                                _dbus_condvar_wait_timeout<br>
                                                                /external/dbus/dbus/dbus-threads.c:274</p>

<p>                                                                0002fbe2 &lt;_dbus_condvar_wait+0x22&gt;:<br>
                                                                /external/dbus/dbus/dbus-threads.c:255<br>
                                                                   2fbe2:        0001              .short        0x0001<br>
                                                                0002fbe4 &lt;_dbus_condvar_wait_timeout&gt;:<br>
                                                                /external/dbus/dbus/dbus-threads.c:273<br>
                                                                   2fbe4:        1e03              subs        r3, r0, #0<br>
                                                                   2fbe6:        bf18              it        ne<br>
                                                                   2fbe8:        2301              movne        r3, #1<br>
                                                                   2fbea:        2900              cmp        r1, #0<br>
                                                                   2fbec:        bf0c              ite        eq<br>
                                                                   2fbee:        2300              moveq        r3, #0<br>
                                                                   2fbf0:        f003 0301         andne.w        r3, r3, #1         0x1<br>
                                                                /external/dbus/dbus/dbus-threads.c:272<br>
                                                                   2fbf4:        b510              push        {r4, lr}<br>
                                                                /external/dbus/dbus/dbus-threads.c:273<br>
                                                                   
2fbf6:        b133              cbz        r3, 2fc06 &lt;_dbus_condvar_wait_timeout+0x22&gt;<br>
                                                                   2fbf8:        4b04              ldr        r3, <a href="http://idart.mot.com/browse/IKSTABLE6-15714#16">pc, #16</a>        (2fc0c &lt;_dbus_condvar_wait_timeout+0x28&gt;)<br>
                                                                   2fbfa:        447b              add        r3, pc<br>
                                                                   2fbfc:        69dc              ldr        r4, <a href="http://idart.mot.com/browse/IKSTABLE6-15714#28">r3, #28</a><br>
                                                                   
2fbfe:        b114              cbz        r4, 2fc06 &lt;_dbus_condvar_wait_timeout+0x22&gt;<br>
                                                                /external/dbus/dbus/dbus-threads.c:274<br>
                                                                   2fc00:        6a1b              ldr        r3, <a href="http://idart.mot.com/browse/IKSTABLE6-15714#32">r3, #32</a><br>
                                                                   2fc02:        4798              blx        r3<br>
                                                                   
2fc04:        e000              b.n        2fc08 &lt;_dbus_condvar_wait_timeout+0x24&gt;</p>

<p>09-22 15:17:39.398 25310 25310 I DEBUG   :          #05  pc 000119a2  /system/lib/libdbus.so<br>
                                                                _dbus_connection_acquire_io_path<br>
                                                                /external/dbus/dbus/dbus-connection.c:1027</p>

<p>                                                                00011982 &lt;_dbus_connection_acquire_io_path+0x5a&gt;:<br>
                                                                /external/dbus/dbus/dbus-connection.c:1010<br>
                                                                   11982:        0084              lsls        r4, r0, #2<br>
                                                                   11984:        6860              ldr        r0, <a href="http://idart.mot.com/browse/IKSTABLE6-15714#4">r4, #4</a><br>
                                                                   11986:        f01e f8f7         bl        2fb78 &lt;_dbus_mutex_unlock&gt;<br>
                                                                /external/dbus/dbus/dbus-connection.c:1013<br>
                                                                   1198a:        6920              ldr        r0, <a href="http://idart.mot.com/browse/IKSTABLE6-15714#16">r4, #16</a><br>
                                                                   1198c:        f01e f8e6         bl        2fb5c &lt;_dbus_mutex_lock&gt;<br>
                                                                /external/dbus/dbus/dbus-connection.c:1020<br>
                                                                   11990:        f8d4 3080         ldr.w        r3, <a href="http://idart.mot.com/browse/IKSTABLE6-15714#128">r4, #128</a><br>
                                                                   
11994:        b183              cbz        r3, 119b8 
&lt;_dbus_connection_acquire_io_path+0x90&gt;<br>
                                                                /external/dbus/dbus/dbus-connection.c:1022<br>
                                                                   11996:        f1b8 3fff         cmp.w        r8, #4294967295         0xffffffff<br>
                                                                   
1199a:        d009              beq.n        119b0 
&lt;_dbus_connection_acquire_io_path+0x88&gt;<br>
                                                                /external/dbus/dbus/dbus-connection.c:1027<br>
                                                                   1199c:        6960              ldr        r0, <a href="http://idart.mot.com/browse/IKSTABLE6-15714#20">r4, #20</a><br>
                                                                   1199e:        4642              mov        r2, r8<br>
                                                                   119a0:        6921              ldr        r1, <a href="http://idart.mot.com/browse/IKSTABLE6-15714#16">r4, #16</a><br>
                                                                   119a2:        f01e f91f         bl        2fbe4 &lt;_dbus_condvar_wait_timeout&gt;</p>

<p>09-22 15:17:39.398 25310 25310 I DEBUG   :          #06  pc 00011ea2  /system/lib/libdbus.so<br>
                                                                _dbus_connection_do_iteration_unlocked<br>
                                                                /external/dbus/dbus/dbus-connection.c:1148</p>

<p>                                                                00011e82 &lt;_dbus_connection_do_iteration_unlocked+0x22&gt;:<br>
                                                                /external/dbus/dbus/dbus-connection.c:1143<br>
                                                                   11e82:        9300              str        r3, <a href="http://idart.mot.com/browse/IKSTABLE6-15714#0">sp, #0</a><br>
                                                                   11e84:        4479              add        r1, pc<br>
                                                                   11e86:        f240 4377         movw        r3, #1143         0x477<br>
                                                                   11e8a:        447a              add        r2, pc<br>
                                                                   11e8c:        f004 fa58         bl        16340 &lt;_dbus_real_assert&gt;<br>
                                                                /external/dbus/dbus/dbus-connection.c:1145<br>
                                                                   11e90:        6a63              ldr        r3, <a href="http://idart.mot.com/browse/IKSTABLE6-15714#36">r4, #36</a><br>
                                                                   
11e92:        b90b              cbnz        r3, 11e98 
&lt;_dbus_connection_do_iteration_unlocked+0x38&gt;<br>
                                                                /external/dbus/dbus/dbus-connection.c:1146<br>
                                                                   11e94:        f025 0501         bic.w        r5, r5, #1         0x1<br>
                                                                /external/dbus/dbus/dbus-connection.c:1149<br>
                                                                   11e98:        f015 0104         ands.w        r1, r5, #4         0x4<br>
                                                                /external/dbus/dbus/dbus-connection.c:1148<br>
                                                                   11e9c:        4620              mov        r0, r4<br>
                                                                   11e9e:        bf18              it        ne<br>
                                                                   11ea0:        4639              movne        r1, r7<br>
                                                                   
11ea2:        f7ff fd41         bl        11928 &lt;_dbus_connection_acquire_io_path&gt;</p>

<p>09-22 15:17:39.398 25310 25310 I DEBUG   :          #07  pc 000145dc  /system/lib/libdbus.so<br>
                                                                _dbus_connection_block_pending_call<br>
                                                                /external/dbus/dbus/dbus-connection.c:2390</p>

<p>                                                                000145bc &lt;_dbus_connection_block_pending_call+0x180&gt;:<br>
                                                                /external/dbus/dbus/dbus-connection.c:2375<br>
                                                                   145bc:        0007              lsls        r7, r0, #0<br>
                                                                   145be:        ea4f 70d0         mov.w        r0, r0, lsr #31<br>
                                                                   145c2:        f001 febd         bl        16340 &lt;_dbus_real_assert&gt;<br>
                                                                /external/dbus/dbus/dbus-connection.c:2377<br>
                                                                   145c6:        f1b9 0f02         cmp.w        r9, #2         0x2<br>
                                                                   
145ca:        d103              bne.n        145d4 
&lt;_dbus_connection_block_pending_call+0x198&gt;<br>
                                                                /external/dbus/dbus/dbus-connection.c:2385<br>
                                                                   145cc:        4638              mov        r0, r7<br>
                                                                   
145ce:        f7fc f959         bl        10884 &lt;_dbus_memory_pause_based_on_timeout&gt;<br>
                                                                   
145d2:        e7a0              b.n        14516 
&lt;_dbus_connection_block_pending_call+0xda&gt;<br>
                                                                /external/dbus/dbus/dbus-connection.c:2390<br>
                                                                   145d4:        4620              mov        r0, r4<br>
                                                                   145d6:        4629              mov        r1, r5<br>
                                                                   145d8:        2206              movs        r2, #6<br>
                                                                   145da:        463b              mov        r3, r7<br>
                                                                   
145dc:        f7fd fc40         bl        11e60 
&lt;_dbus_connection_do_iteration_unlocked&gt;</p>

<p>09-22 15:17:39.398 25310 25310 I DEBUG   :          #08  pc 000226f6  /system/lib/libdbus.so<br>
                                                                dbus_pending_call_block<br>
                                                                /external/dbus/dbus/dbus-pending-call.c:707</p>

<p>                                                                000226d6 &lt;dbus_pending_call_block+0x26&gt;:<br>
                                                                /external/dbus/dbus/dbus-pending-call.c:705<br>
                                                                   226d6:        f7f3 fe33         bl        16340 &lt;_dbus_real_assert&gt;<br>
                                                                   226da:        f1b8 0f00         cmp.w        r8, #0         0x0<br>
                                                                   
226de:        d109              bne.n        226f4 &lt;dbus_pending_call_block+0x44&gt;<br>
                                                                   226e0:        4b0b              ldr        r3, <a href="http://idart.mot.com/browse/IKSTABLE6-15714#44">pc, #44</a>        (22710 &lt;dbus_pending_call_block+0x60&gt;)<br>
                                                                   226e2:        4631              mov        r1, r6<br>
                                                                   226e4:        4a0b              ldr        r2, <a href="http://idart.mot.com/browse/IKSTABLE6-15714#44">pc, #44</a>        (22714 &lt;dbus_pending_call_block+0x64&gt;)<br>
                                                                   226e6:        9700              str        r7, <a href="http://idart.mot.com/browse/IKSTABLE6-15714#0">sp, #0</a><br>
                                                                   226e8:        58e8              ldr        r0, <span class="error">[r5, r3]</span><br>
                                                                   226ea:        447a              add        r2, pc<br>
                                                                   226ec:        4623              mov        r3, r4<br>
                                                                   226ee:        f7f3 fd6f         bl        161d0 &lt;_dbus_warn_check_failed&gt;<br>
                                                                   
226f2:        e002              b.n        226fa &lt;dbus_pending_call_block+0x4a&gt;<br>
                                                                /external/dbus/dbus/dbus-pending-call.c:707<br>
                                                                   226f4:        4640              mov        r0, r8<br>
                                                                   
226f6:        f7f1 fea1         bl        1443c &lt;_dbus_connection_block_pending_call&gt;</p>

<p>09-22 15:17:39.398 25310 25310 I DEBUG   :          #09  pc 00013b4c  /system/lib/libdbus.so<br>
                                                                dbus_connection_send_with_reply_and_block<br>
                                                                /external/dbus/dbus/dbus-connection.c:3243</p>

<p>                                                                
00013b2c &lt;dbus_connection_send_with_reply_and_block+0x100&gt;:<br>
                                                                /external/dbus/dbus/dbus-connection.c:3233<br>
                                                                   13b2c:        4479              add        r1, pc<br>
                                                                   13b2e:        f001 fa17         bl        14f60 &lt;dbus_set_error_const&gt;<br>
                                                                /external/dbus/dbus/dbus-connection.c:3234<br>
                                                                   
13b32:        e031              b.n        13b98 
&lt;dbus_connection_send_with_reply_and_block+0x16c&gt;<br>
                                                                /external/dbus/dbus/dbus-connection.c:3237<br>
                                                                   13b34:        9c05              ldr        r4, <a href="http://idart.mot.com/browse/IKSTABLE6-15714#20">sp, #20</a><br>
                                                                   
13b36:        b944              cbnz        r4, 13b4a 
&lt;dbus_connection_send_with_reply_and_block+0x11e&gt;<br>
                                                                /external/dbus/dbus/dbus-connection.c:3239<br>
                                                                   13b38:        4924              ldr        r1, <a href="http://idart.mot.com/browse/IKSTABLE6-15714#144">pc, #144</a>        (13bcc &lt;dbus_connection_send_with_reply_and_block+0x1a0&gt;)<br>

                                                                   13b3a:        4640              mov        r0, r8<br>
                                                                   13b3c:        4a24              ldr        r2, <a href="http://idart.mot.com/browse/IKSTABLE6-15714#144">pc, #144</a>        (13bd0 &lt;dbus_connection_send_with_reply_and_block+0x1a4&gt;)<br>

                                                                /external/dbus/dbus/dbus-connection.c:3240<br>
                                                                   13b3e:        46a1              mov        r9, r4<br>
                                                                /external/dbus/dbus/dbus-connection.c:3239<br>
                                                                   13b40:        4479              add        r1, pc<br>
                                                                   13b42:        447a              add        r2, pc<br>
                                                                   13b44:        f001 fa8c         bl        15060 &lt;dbus_set_error&gt;<br>
                                                                /external/dbus/dbus/dbus-connection.c:3240<br>
                                                                   
13b48:        e026              b.n        13b98 
&lt;dbus_connection_send_with_reply_and_block+0x16c&gt;<br>
                                                                /external/dbus/dbus/dbus-connection.c:3243<br>
                                                                   13b4a:        4620              mov        r0, r4<br>
                                                                   13b4c:        f00e fdb0         bl        226b0 &lt;dbus_pending_call_block&gt;</p><p></p><p>can someone help on this.<br></p><p>Regards,</p><p>Bhargavi<br></p><br><br>