artemanufrij / playmymusic

An elementary OS app
http://anufrij.org/melody
95 stars 26 forks source link

My library crashes Melody on library sync #139

Open inputsh opened 5 years ago

inputsh commented 5 years ago

gdb output returns nothing useful:

Thread 1 "com.github.arte" received signal SIGSEGV, Segmentation fault.
0x00007ffff540ce1a in ?? () from /usr/lib/x86_64-linux-gnu/libgstpbutils-1.0.so.0

Running Melody through the terminal returns this:

[...]
** (com.github.artemanufrij.playmymusic:5210): WARNING **: 12:14:03.485: LocalFilesManager.vala:86: Operation not supported
file:///mnt/6035A0D9742B28F7/Music/Albums/KAYTRANADA - 99.9% (2016) [FLAC]
[...]

** (com.github.artemanufrij.playmymusic:5210): WARNING **: 12:14:03.520: TagManager.vala:65: DISCOVER ERROR: '5' Could not open resource for reading. GST_DISCOVERER_ERROR
(file:///mnt/6035A0D9742B28F7/Music/Albums/Porter%20Robinson%20-%20Spitfire%20(2011)/09. Porter Robinson - 100% In The Bitch (Downlink Remix).mp3)

** (com.github.artemanufrij.playmymusic:5210): WARNING **: 12:14:03.521: TagManager.vala:65: DISCOVER ERROR: '5' Could not open resource for reading. GST_DISCOVERER_ERROR
(file:///mnt/6035A0D9742B28F7/Music/Albums/Porter%20Robinson%20-%20Spitfire%20(2011)/03. Porter Robinson - 100% In The Bitch (Original Mix).mp3)

** (com.github.artemanufrij.playmymusic:5210): WARNING **: 12:14:03.529: TagManager.vala:65: DISCOVER ERROR: '4' Could not determine type of stream. GST_DISCOVERER_ERROR
(file:///mnt/6035A0D9742B28F7/Music/Albums/Major%20Lazer%20-%20Free%20The%20Universe%20(2013)%20%5BFLAC%5D/02 Major Lazer - Jet Blue Jet.flac)

** (com.github.artemanufrij.playmymusic:5210): WARNING **: 12:14:03.534: TagManager.vala:65: DISCOVER ERROR: '4' Could not determine type of stream. GST_DISCOVERER_ERROR
(file:///mnt/6035A0D9742B28F7/Music/Albums/Major%20Lazer%20-%20Free%20The%20Universe%20(2013)%20%5BFLAC%5D/10 Major Lazer - Sweat.flac)
[1]    5210 segmentation fault  com.github.artemanufrij.playmymusic
artemanufrij commented 5 years ago

Hm... the warnings are't the rease. Is it a NFS or CIFS mount? Or is it just a removable device?

inputsh commented 5 years ago

It's an NTFS partition, auto-mounted. /etc/fstab line:

/dev/disk/by-uuid/6035A0D9742B28F7 /mnt/6035A0D9742B28F7 auto nosuid,nodev,nofail,x-gvfs-show 0 0

If it means anything, I added the library (~100 albums) just fine. It loaded all the songs. I've noticed some errors in the id3 tags in a certain album, noticed Melody can't edit tags of individual songs, edited them using Picard, and tried "Resync library" to make new changes appear.

Melody crashes every time I click on "Resync library" after that.

nathaneltitane commented 5 years ago

I can vouch for this issue as well, elementary OS Juno - mounted a removable storage, ext4, containing my library, it crashes after a few dozen loads...

artemanufrij commented 5 years ago

@aleksandar-todorovic @nathaneltitane could you test this branch please? https://github.com/artemanufrij/playmymusic/tree/sleep-on-async-scan

artemanufrij commented 5 years ago

158

nathaneltitane commented 5 years ago

@artemanufrij is the flatpack on that page buit from the sleep-on-async branch? - if not, could you provide a quick way to test without compiling?

robvdl commented 5 years ago

It seems to crash when changing sources, Samba shares are involved so that could be it. One thing that is really annoying is the first time you start this application it instantly starts scanning without asking a media library location first (just quoting what my dad was saying as he is a bit of a music player critic/fan). It seems that if it can't find a folder "Music" in the home folder, it just starts scanning the entire home folder which is pretty bad.

On my dads machine this was the wrong folder to begin with, so I changed the source and it often crashes when you do. Also I do not see a way to clear the library when changing sources and it can't handle large libraries very well either. The album art is too spread out, his comments were and isn't configurable "this application is made for libraries with upto a hundred albums at most" and just can't handle large libraries he was saying. He's a fan of the old Winamp 5 and uses album tiles, but he hasn't found an application on Linux yet that has been able to meet what Winamp did which is a bit unfortunate, considering how old Winamp is now. I've even considered making my own application if I wasn't so busy with other development tasks.

I'm not trying to be negative, but he's been looking for years now for a good music player on Linux and often talks to me about it. Unfortunately he asked to go back to Clementine, for some reason he's the least frustrated with that player. But the other thing he complains about is that music players turn Internet features on by default, which he all has to turn off as he doesn't like that.