Linux Crashing on music library
#1
Recently Kodi started crashing whenever I update my music library. I haven't added/removed any songs in my library for a while so I don't know what's going on.

I first noticed it actually when playing certain songs would cause Kodi to crash (these songs definitely used to play fine). I figured that maybe the database was corrupt, so I reset the library and scanned it again, but then it crashed on the very first song. So I moved that one song out of the library and tried again and it crashed on the second song. I tried moving all of the songs out of the library and moving them in little by little and scanning but it still crashes on almost every single one. There are a handful of songs that it can successfully scan, but it's not clear why it fails on some and succeeds with others.

Since a huge portion of my library is apparently unscannable, just re-acquiring the failing songs is not a desirable solution. Also the files Kodi fails on work fine with mpd. It scan them into its library and play them without issue. So I really think this is a Kodi issue and not something I should fix with my music files.

Here's the crash log with debug output: https://gist.github.com/silverhammermba/...fe23a17c5f
Though the only interesting thing I can see there is what it was scanning when it crashed.

I'm running Kodi 15.2-1 on an up-to-date Arch Linux x86_64 system.
Reply
#2
please install gdb, so we get a stack trace in the crashlog.
Which taglib/libtag version do you use?
Reply
#3
I've added the stack trace to the gist: https://gist.github.com/silverhammermba/...ktrace-gdb

The taglib package I have installed is 1.10-1.

Edit: I added a better stack trace by recompiling with debug symbols. The weird thing is that the error is occurring on the line where the tag loader sets the recording time for the song... but as far as I can tell this particular file doesn't even have a recording time tag frame. So I don't get how it's even reaching that code.
Reply
#4
it seems to crash on /home/data/music/Ratatat/LP3/01 - Shiller.mp3

can you try downgrading taglib to see if this is a regression?
Reply
#5
Good call, it is a taglib regression. Coincidentally it was just reported upstream: https://github.com/taglib/taglib/issues/697
Reply

Logout Mark Read Team Forum Stats Members Help
Crashing on music library0