Bug#929794: PlugIn: Portable Players - MTP: Bad collaboration of libmtp and gstreamer when syncing?

Michael Jarosch mitsch at riotmusic.de
Fri May 31 10:24:31 BST 2019


Package: rhythmbox-plugins
Version: 3.4.3-2
Severity: normal
Tags: upstream

Dear Maintainer,

I'm trying to sync parts of my audio collection via rhythmbox with my
android
phone. Although it's only a part, what I'm trying to sync is quite
large. We're
talking about 8 GB, or so…
I fire up rhythmbox, connect my phone, make sure that the phone does support
data transport via USB/MTP, click on the "Media Player" Device on the
left side
and wait several seconds. The list of songs appear. I already configured
"Properties" for what I am trying to sync, so I hit the "Sync" buttom. Wait
several seconds till the sync starts. Then, on the buttom line I can
watch the
sync moving forward pretty fast. I want to sync about 1200 songs, but
rhythmbox
always crashes when reaching about 500 songs.
Unfortunately, rhythmbox didn't sync ~500 songs, it's much less but at least
some songs find their way to the phone. Tried this procedure some time and
slowly I'm getting forward but as you can see this is no fun and it's
certainly
not the intended way to reach the goal. Beside this, my /tmp folder is
getting
spammed as gstreamer somehow is processing ~450 audio files in that very
folder
every time I'm trying to sync and noones cleaning it up when the crash
happens…

I recorded two logs: One is the output of rhythmbox itself starting from a
terminal and one is the output of "journalctl -f" as root. Starting with
rhythmbox:

###################################

someone at somemachine:~$ LANG=C
someone at somemachine:~$ rhythmbox
PTP_ERROR_IO: failed to open session, trying again after resetting USB
interface
LIBMTP libusb: Attempt to reset device
Android device detected, assigning default bug flags

(rhythmbox:32005): Rhythmbox-WARNING **: 09:33:46.640: libmtp error: PTP
Layer
error 2002: Error getting friendlyname.

(rhythmbox:32005): Rhythmbox-WARNING **: 09:33:46.641: libmtp error: Error
2002: PTP General Error

(rhythmbox:32005): Rhythmbox-WARNING **: 09:34:06.856: libmtp error: PTP
Layer
error 2002: get_string_from_object(): could not get object string.

(rhythmbox:32005): Rhythmbox-WARNING **: 09:34:06.856: libmtp error: Error
2002: PTP General Error

(rhythmbox:32005): Rhythmbox-WARNING **: 09:34:06.856: libmtp error: PTP
Layer
error 2002: get_string_from_object(): could not get object string.

(rhythmbox:32005): Rhythmbox-WARNING **: 09:34:06.856: libmtp error: Error
2002: PTP General Error

[…
~750 reapeats of the last 4 lines
…]

(rhythmbox:32005): GLib-GIO-CRITICAL **: 09:36:34.268:
g_task_return_boolean:
assertion 'task->result_set == FALSE' failed
sys:1: Warning: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Orphan folder with ID: 0x0001c00c name: "TIME'S UP" encountered.
Orphan folder with ID: 0x0001b9d6 name: "Analogue Bubblebath [EP]"
encountered.
Orphan folder with ID: 0x0001b9cc name: "Steal This Album!" encountered.
Orphan folder with ID: 0x0001b99e name: "I Feel Cream" encountered.
Orphan folder with ID: 0x0001b96c name: "System Of A Down" encountered.
Orphan folder with ID: 0x0001b921 name: "Toxicity" encountered.
Orphan folder with ID: 0x0001b8fe name: "Impeach My Bush" encountered.
Orphan folder with ID: 0x0001b7a5 name: "The Politics of Desire"
encountered.
Orphan folder with ID: 0x0001b7a4 name: "Let 1,000 Flowers Bloom"
encountered.
Orphan folder with ID: 0x0001b784 name: "60 Second Wipe Out" encountered.
[…
8 reapeats of the last 10 lines
This list does appear several times with different libmtp error messages
So, I'm leaving out the list and only show the libmtp messages
…]
Unsupported abstract list type: ba03

(rhythmbox:32005): Rhythmbox-WARNING **: 09:36:35.497: libmtp error: PTP
Layer
error 2009: LIBMTP_Delete_Object(): could not delete object.

(rhythmbox:32005): Rhythmbox-WARNING **: 09:36:35.498: libmtp error: Error
2009: PTP Invalid Object Handle

[…]

(rhythmbox:32005): Rhythmbox-WARNING **: 09:36:35.545: libmtp error:
LIBMTP_Send_Representative_Sample(): could not get object info.

[…]

(rhythmbox:32005): Rhythmbox-WARNING **: 09:36:42.022: libmtp error:
create_new_abstract_list(): player does not support this abstract type

[…]

(rhythmbox:32005): Rhythmbox-WARNING **: 09:37:13.489: libmtp error: PTP
Layer
error a80a: set_object_string(): could not set object string.

(rhythmbox:32005): Rhythmbox-WARNING **: 09:37:13.489: libmtp error: Error
a80a: (null)

(rhythmbox:32005): Rhythmbox-WARNING **: 09:37:13.489: libmtp error:
update_abstract_list(): could not set modification date.

(rhythmbox:32005): Rhythmbox-WARNING **: 09:37:13.489: libmtp error: PTP
Layer
error a80a: set_object_string(): could not set object string.

(rhythmbox:32005): Rhythmbox-WARNING **: 09:37:13.489: libmtp error: Error
a80a: (null)

(rhythmbox:32005): Rhythmbox-WARNING **: 09:37:13.489: libmtp error:
update_abstract_list(): could not set title.

(rhythmbox:32005): Rhythmbox-WARNING **: 09:37:13.489: libmtp error: PTP
Layer
error 2002: update_abstract_list(): could not add tracks as object
references.

(rhythmbox:32005): Rhythmbox-WARNING **: 09:37:13.489: libmtp error: Error
2002: PTP General Error

(rhythmbox:32005): Rhythmbox-WARNING **: 09:37:13.492: libmtp error:
LIBMTP_Send_Representative_Sample(): could not get object info.
[…]


(rhythmbox:32005): Rhythmbox-WARNING **: 09:37:35.004: libmtp error:
create_new_abstract_list(): player does not support this abstract type

(rhythmbox:32005): Rhythmbox-WARNING **: 09:37:35.008: libmtp error:
LIBMTP_Send_Representative_Sample(): could not get object info.

(rhythmbox:32005): Rhythmbox-WARNING **: 09:37:39.754: got encoding error
GStreamer error: state change failed and some element failed to post a
proper
error message with the reason for the failure., but already have one:
Could not
open resource for reading and writing.

(rhythmbox:32005): Rhythmbox-CRITICAL **: 09:37:39.754:
rb_encoder_gst_emit_completed: assertion
'encoder->priv->completion_emitted ==
FALSE' failed

(rhythmbox:32005): GStreamer-CRITICAL **: 09:37:39.755:
gst_poll_get_read_gpollfd: assertion 'set != NULL' failed

(rhythmbox:32005): GStreamer-CRITICAL **: 09:37:39.757:
gst_bus_create_watch:
assertion 'bus->priv->poll != NULL' failed

(rhythmbox:32005): GStreamer-CRITICAL **: 09:37:39.758: Creating bus watch
failed

(rhythmbox:32005): Gdk-CRITICAL **: 09:37:39.822:
../../../../../gdk/wayland/gdkdisplay-wayland.c:1299: creating shared memory
file (using memfd_create) failed: Too many open files
Segmentation fault

########################################

root at somemachine:~# journalctl -f

Mai 31 11:01:39 * kernel: rhythmbox[8302]: segfault at 0 ip
00007fdd08244274 sp
00007ffe165d2cc0 error 4 in libwayland-client.so.0.3.0[7fdd08243000+6000]
Mai 31 11:01:39 * kernel: Code: 29 ac 24 50 01 00 00 0f 29 b4 24 60 01
00 00 0f
29 bc 24 70 01 00 00 64 48 8b 04 25 28 00 00 00 48 89 84 24 c8 00 00 00
31 c0
<48> 8b 13 4c 8d 6c 24 20 48 8d 4c 24 08 48 8d 84 24 b0 01 00 00 c7

########################################



-- System Information:
Debian Release: 10.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8),
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages rhythmbox-plugins depends on:
ii gir1.2-glib-2.0 1.58.3-2
ii gir1.2-gstreamer-1.0 1.14.4-1
ii gir1.2-gtk-3.0 3.24.5-1
ii gir1.2-peas-1.0 1.22.0-4
ii gir1.2-rb-3.0 3.4.3-2
ii gir1.2-secret-1 0.18.7-1
ii gir1.2-webkit2-4.0 2.24.2-1
ii libc6 2.28-10
ii libdmapsharing-3.0-2 2.9.39-4
ii libgdk-pixbuf2.0-0 2.38.1+dfsg-1
ii libglib2.0-0 2.58.3-1
ii libgpod4 0.8.3-13
ii libgrilo-0.3-0 0.3.7-1
ii libgstreamer1.0-0 1.14.4-1
ii libgtk-3-0 3.24.5-1
ii libgudev-1.0-0 232-2
ii libjson-glib-1.0-0 1.4.4-2
ii liblirc-client0 0.10.1-5.2
ii libmtp9 1.1.16-2
ii libnotify4 0.7.7-4
ii libpango-1.0-0 1.42.4-6
ii libpeas-1.0-0 1.22.0-4
ii librhythmbox-core10 3.4.3-2
ii libsecret-1-0 0.18.7-1
ii libsoup2.4-1 2.64.2-2
ii libtotem-plparser18 3.26.2-1
ii python3 3.7.2-1
ii python3-gi 3.30.4-1
ii python3-mako 1.0.7+ds1-1
ii python3.7 3.7.3~rc1-1
ii rhythmbox 3.4.3-2

rhythmbox-plugins recommends no packages.

rhythmbox-plugins suggests no packages.

-- no debconf information



More information about the pkg-gnome-maintainers mailing list