Kodi v18 chrashed/freezed after adding anything to video database

I have problem adding anything to the videodatabase on gentoo using kodi v18.

I using an arm system and on an other image running debian with compiled kodi v18 i had no problems.

Everytime i add something to the videodatabase and switch back to the mainview of the skin kodi is freezing and killed after some minutes by the system. After that im not able to restart kodi again (freezing while showing the bootsplash) until im removing /home/****/.kodi/userdata/Database/MyVideo***.db

This is my debugcrashlog while adding something: https://pastebin.com/Su2Uj5hq
This is my debugcrashlog restarting kodi with damaged db: https://pastebin.com/txD9xhUp