Closed AndreyPavlenko closed 9 years ago
I know this kind of argumentation ;-)
It doesnt look like a xvdr issue but it would help to know where it exactly segfaults (source code in GetByChannelID). Maybe you are able to rebuild kodi with debug information.
Regards Alex
I just checked with the current git HEAD of kodi. Works fine for me.
I'll try to rebuild with debug, but I think it crashes on this line:
CSingleLock lock(m_critSection);
I've two very similar installations - one installation works fine, but another one crashes every time on startup when Kodi starts loading channels. The only difference between these two installations - VDR is installed on the second one (that one which crashes). The first one is a remote client that connects to the backend (installed on the second one) over network and it works fine. I assume there is a concurrency issue and it's not reproducible on the first installation due to network latency. I'll try to install vdr locally on this system.
I've found the root cause. Here is it: sqlite3 ~/.kodi/userdata/Database/TV26.db 'delete from channels; delete from channelgroups'
This line is from my startup script - it clears the PVR data base. After clearing up these two tables Kodi crashes on startup.
I've resolved this issue with clearing up one more table - map_channelgroups_channels (seems this table has been introduced recently):
sqlite3 ~/.kodi/userdata/Database/TV26.db 'delete from channels; delete from channelgroups; delete from map_channelgroups_channels'
Glad to see that it's not xvdr's fault (and also that you found it) :-)
Hi Alexander,
I think this issue is not on the XVDR side, however, could you please look at this - http://trac.kodi.tv/ticket/15556 ?