Rhythmbox crash when accessing an android device with musics files stored
Submitted by marcosps
Link to original bug (#763353)
Description
When I try to access musics from my Android phone inside rhythmbox, it crashes, but when testing with my Android tablet, without any music, it don't crash and shows nothing (OK, it don't have musics).
here is a backtrace of the crash, I hope it help you to fix it:
Program received signal SIGSEGV, Segmentation fault.
0x00007fffb9904d4b in update_free_space_next (source=0x5555569c83b0 [RBAndroidSource]) at rb-android-source.c:143
143 file = G_FILE (priv->query_storage->data);
Missing separate debuginfos, use: dnf debuginfo-install bzip2-libs-1.0.6-19.fc23.x86_64 dconf-0.24.0-2.fc23.x86_64 GConf2-3.2.6-15.fc23.x86_64 glib-networking-2.46.1-1.fc23.x86_64 gvfs-client-1.26.3-1.fc23.x86_64 libcroco-0.6.8-7.fc23.x86_64 libgcc-5.3.1-2.fc23.x86_64 librsvg2-2.40.13-1.fc23.x86_64 libstdc++-5.3.1-2.fc23.x86_64 PackageKit-gtk3-module-1.0.11-1.fc23.x86_64 python3-gobject-base-3.18.2-1.fc23.x86_64 python3-libs-3.4.3-5.fc23.x86_64
(gdb) bt
#0 0x00007fffb9904d4b in update_free_space_next (source=0x5555569c83b0 [RBAndroidSource]) at rb-android-source.c:143
#1 0x00007fffb9905e26 in enum_files_cb (obj=0x555556b45ae0 [GDaemonFileEnumerator], result=<optimized out>, data=0x5555569c83b0) at rb-android-source.c:196
#2 0x00007ffff0f1ba57 in next_async_callback_wrapper (source_object=0x555556b45ae0 [GDaemonFileEnumerator], res=<optimized out>, user_data=<optimized out>)
at gfileenumerator.c:305
#3 0x00007ffff0f409b7 in g_simple_async_result_complete (simple=0x5555568668e0 [GSimpleAsyncResult]) at gsimpleasyncresult.c:801
#4 0x00007ffff0f40a19 in complete_in_idle_cb (data=<optimized out>) at gsimpleasyncresult.c:813
#5 0x00007fffefd55e3a in g_main_context_dispatch (context=0x555555777140) at gmain.c:3154
#6 0x00007fffefd55e3a in g_main_context_dispatch (context=context@entry=0x555555777140) at gmain.c:3769
#7 0x00007fffefd561d0 in g_main_context_iterate (context=context@entry=0x555555777140, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
at gmain.c:3840
#8 0x00007fffefd5627c in g_main_context_iteration (context=0x555555777140, context@entry=0x0, may_block=may_block@entry=1) at gmain.c:3901
#9 0x00007ffff0f75a0c in g_application_run (application=0x55555577f180 [RBApplication], argc=argc@entry=1, argv=argv@entry=0x7fffffffe018) at gapplication.c:2311
#10 0x00007ffff7acfb45 in rb_application_run (app=0x55555577f180 [RBApplication], argc=1, argv=<optimized out>) at rb-application.c:646
#11 0x0000555555555088 in main (argc=1, argv=0x7fffffffe018) at main.c:89
I'm using Rhythmbox from Fedora 23. Please, let me know if you need any info.
Rhythmbox is awesome, thanks for your work guys!
Version: 3.3