Closed muesli4 closed 5 years ago
Please write a separate bug report for the segfault and include a backtrace.
Your command log doesn't show how the URI udisks://by-id-usb-SanDisk_Cruzer_Blade_4C530103120907102233-0:0-part1/library/folder/file.mp3
managed its way into your queue. It is an invalid song URI. It shows only how you mount the device, but never how you added the song.
I will try to split this into several issues and give you some detailed instruction logs and backtraces.
I compiled it from GitHub and some of the issues are gone. I can no longer reproduce the segfault. I opened 2 new issues:
https://github.com/MusicPlayerDaemon/MPD/issues/485 https://github.com/MusicPlayerDaemon/MPD/issues/486
Thanks. I have been debugging the plugin yesterday, and found various issues which will be fixed soon.
That's fantastic to hear and I appreciate any effort very much.
I initially had a look at this issue because it was very similar: https://github.com/MusicPlayerDaemon/MPD/issues/288
I noticed that the first issue I had was with PolicyKit, as I did not have the permission to mount. The error message was barely visible and only in the log file with the verbose option. (The issue is that it still lists the mount.)
My collection is in
udisks://by-id-usb-SanDisk_Cruzer_Blade_4C530103120907102233-0:0-part1/library/
. However, mounting just that will result in this error:I then tried mounting just
udisks://by-id-usb-SanDisk_Cruzer_Blade_4C530103120907102233-0:0-part1
. This seemed to work. However there are several issues:Some folders are missing all over the place(I fail to reproduce this with this version.)gmpc
. )gmpc
and playing some of the files directly without adding them to the playlist leads to a segfault inmpd
.