GNOME Bugzilla – Bug 733891
empathy and gnome contacts crash when bt phone available
Last modified: 2014-08-11 14:22:02 UTC
Running empathy and gnome-contacts from terminal I see the same error message: $ empathy ** bluez:ERROR:bluez-persona-store.c:2645:_folks_backends_blue_z_persona_store_perform_obex_transfer_co: code should not be reached It only happens if the computer can connect to my phone over bluetooth. Otherwise everything works perfectly. Using bluez 5.21 and folks 0.9.7.1. backtrace: gdb empathy GNU gdb (Gentoo 7.6.2 p1) 7.6.2 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". For bug reporting instructions, please see: <http://bugs.gentoo.org/>... Reading symbols from /usr/bin/empathy...Reading symbols from /usr/lib64/debug/usr/bin/empathy.debug...done. done. (gdb) run Starting program: /usr/bin/empathy warning: Could not load shared library symbols for linux-vdso.so.1. Do you need "set solib-search-path" or "set sysroot"? [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". [New Thread 0x7fffde554700 (LWP 14399)] [New Thread 0x7fffdd72f700 (LWP 14402)] [New Thread 0x7fffdcf2e700 (LWP 14403)] [New Thread 0x7fffcadad700 (LWP 14408)] [New Thread 0x7fffca5ac700 (LWP 14409)] [New Thread 0x7fffc9dab700 (LWP 14410)] [New Thread 0x7fffc95aa700 (LWP 14411)] [New Thread 0x7fffbb7c8700 (LWP 14425)] [New Thread 0x7fffbafc7700 (LWP 14426)] [Thread 0x7fffc95aa700 (LWP 14411) exited] [Thread 0x7fffcadad700 (LWP 14408) exited] [New Thread 0x7fffcadad700 (LWP 14460)] [New Thread 0x7fffc95aa700 (LWP 14461)] [New Thread 0x7fffba7c6700 (LWP 14463)] [New Thread 0x7fffb9fc5700 (LWP 14464)] [New Thread 0x7fffb97c4700 (LWP 14465)] [New Thread 0x7fffb8fc3700 (LWP 14466)] [New Thread 0x7fff9ffff700 (LWP 14467)] [New Thread 0x7fff9f7fe700 (LWP 14469)] ** bluez:ERROR:bluez-persona-store.c:2645:_folks_backends_blue_z_persona_store_perform_obex_transfer_co: code should not be reached Program received signal SIGABRT, Aborted. 0x00007ffff5012955 in raise () from /lib64/libc.so.6 (gdb) bt
+ Trace 233889
Created attachment 282921 [details] [review] bluez: Ensure to yield until OBEX transfers have completed It was possible for the code to not yield on an in-progress transfer if the transfer_status was initially non-null (e.g. ‘queued’). This change ensures that the transfer is yielded on if the status isn’t ‘complete’ or ‘error’. The yield callback is only invoked once the status has changed to ‘complete’ or ‘error’, so the code is now guaranteed to not hit the assert_not_reached() call.
Attachment 282921 [details] pushed as 5280f33 - bluez: Ensure to yield until OBEX transfers have completed
*** Bug 733875 has been marked as a duplicate of this bug. ***