Closed mnd999 closed 6 years ago
not really useful, are you using the right repo? this is the right one: https://phabricator.kde.org/source/babe/ to use it you need to remove the db file collection.db located in ~/.local/share/babe/
let me know if you try it.
I'm using: origin git://anongit.kde.org/babe
I built and ran for the first time this morning, there is no legacy collection.db.
Anything I can do to make it more useful?
Ran it again, with a new collection.db, I got;
writting to db: "Sliced Tomatoes" "Just Brothers" TagLib: MP4: Invalid atom size TagLib: FileRef::tag() - Called without a valid file. Segmentation fault (core dumped)
Different trace this time
error: Babe DWARF DW_TAG_array_type DIE at 0x0179feb4 has a class/union/struct element type DIE 0x0179fec0 that is a forward declaration, not a complete definition.
Try compiling the source file with -fno-limit-debug-info or disable -gmodule
* thread #1, name = 'Babe', stop reason = signal SIGSEGV
* frame #0: Babe`TagInfo::getAlbum(this=0x00007fffde9f27a8) at taginfo.cpp:32
frame #1: Babe`FileLoader::getTracks(this=0x0000000815c25cf8, path=<unavailable>) at fileloader.h:68
frame #2: Babe`FileLoader::qt_static_metacall(_o=0x0000000815c25cf8, _c=<unavailable>, _id=<unavailable>, _a=<unavailable>) at moc_fileloader.cpp:91
frame #3: 0x000000080908a481 libQt5Core.so.5`QObject::event(QEvent*) + 657
frame #4: 0x000000080176ff60 libQt5Widgets.so.5`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 272
Could you try with an isolated folder containing a few known files. In order to check if maybe the problem is the files format.
I tried with a smaller subset, which appeared to work in that I was able to play songs. On attempting to quit it said it was still importing though. At this point it had allocated 52Gb of RAM, and for some reason seems to have downloaded the text of a novel.
Log attached. babe.log
What do you mean by 52Gb of ram? The text from the novel is because it failed to find the right music lyrics. In the background Babe is fetching g information about the music collection making use of multiple APIS. That's the warning you saw when tying to quit.
Apologies, I should have been clearer. The box I develop on has 64gb of ram. At the point I killed it (having tried to exit normally) the babe process had allocated 52Gb of that. I think perhaps a memory leak.
I will try to catch that memory leak. Thank you. If you have any idea where it might be, please let me know.
Memory usage seems better now. Can import those three albums with sensible memory usage. Attempting all my music now and seems stable.
Hope this is useful.