clementine-player / Clementine

:tangerine: Clementine Music Player
https://www.clementine-player.org/
GNU General Public License v3.0
3.75k stars 676 forks source link

clementine-tagreader uses more memory till crash on Google Drive indexing #4782

Open elbrook33 opened 9 years ago

elbrook33 commented 9 years ago

Hi, I have about 15GB of music on Google Drive. When Clementine indexes it, two processes of clementine-tagreader keep using up more memory till all swap space is gone and the app crashes. It takes a while, but it consistently gets there. (As a side issue, the only way I've found to get Clementine indexing the same Google Drive again from where it left off is to delete the [Google Drive] config lines.) I'm on Ubuntu 15.04 on a MacBook. Thanks! Michael

Chocobozzz commented 9 years ago

Fixed this type of bug some times ago.

Did you try with the latest build ? http://builds.clementine-player.org/

elbrook33 commented 9 years ago

No, I haven't yet, sorry (1.2.3, but just the bundled one)...

I can't seem get the latest build to install just now - I'll try compiling from Git at some point and let you know. Thanks!

On 19/03/15 08:47, Bigard Florian wrote:

Fixed this type of bug some times ago.

Did you try with the latest build ? http://builds.clementine-player.org/

— Reply to this email directly or view it on GitHub https://github.com/clementine-player/Clementine/issues/4782#issuecomment-83196834.

rindeal commented 9 years ago

I've tried ClementineSetup-1.2.3-1174-g971df03.exe (built today) and it it now has a different behavior indeed, it sometimes ates all memory and crashes and sometimes just ates several GB and respawns. clementine-tagreader processes then continue in cycle of massive memory leaking and respawning until they stuck at 99% where they stay for the rest or the parent process' life. There this nice story ends.

JulianVolodia commented 5 years ago

Hello @elbrook33 and @rindeal nice to meet you.

@rindeal : Please tell me, did you really see this kind of 2 undeterministic bugs there? Could you tell more about specific data which clementine-tagreader is processing?

@elbrook33 and @rindeal please check against newest Clementine if you could. Try to find smallest crashing test case for us. If you could try a binary search: 1) divide collection into halfs, left and right 2) try on left half if not seeing bug - try with right; 3) then take crushing part and try to divide it like in (1)

(additional) If you could try to check for both, left and right and for both tagreader is crashing, please note what is sizes, what tags to they have, count of it.

If could provide small test case I will be more than glad. :-)

Best regards.