LanguageInvoker segfault
#1
Dear Forum,

I am currently on these versions :
Ubuntu 21.04
Kernel 5.11.0-22-generic
Kodi 20.0-ALPHA1 (19.90.101) Git:20210709-cad98e3da3

My kodi or ubuntu has started crashing, i am not sure what has caused this, i did have some unsupported plugins installed, which i have now tried to remove.

But its still crashing, and it does not matter if i go back to kodi 19.1 or try the latest nigthly version.

I get this in /var/log/syslog :

Jul 10 12:30:15 mediapc kernel: [  177.645872] LanguageInvoker[3718]: segfault at 0 ip 00007fae4053df45 sp 00007fadf17f81e8 error 4 in libc-2.33.so[7fae403e4000+16b000]
Jul 10 12:30:15 mediapc kernel: [  177.645883] Code: 00 00 0f 1f 00 31 c0 c5 f8 77 c3 66 2e 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 89 f9 48 89 fa c5 f9 ef c0 83 e1 3f 83 f9 20 77 2b <c5> fd 74 0f c5 fd d7 c1 85 c0 0f 85 eb 00 00 00 48 83 c7 20 83 e1
Jul 10 12:32:24 mediapc systemd[1]: Starting Download data for packages that failed at package install time...
Jul 10 12:32:24 mediapc systemd[1]: update-notifier-download.service: Succeeded.
Jul 10 12:32:24 mediapc systemd[1]: Finished Download data for packages that failed at package install time.

And i get these crashlogs in my home directory :

https://pastebin.com/jesuTAS8

Here is my logile :

https://pastebin.com/Nv6sev1n

Any help is very appriciated

Edit, forgot to mention, that i searched for this segfault error, and found suggestions that it could be the gpu drivers, so i have also enable this repo, and installed the intel drivers, but its still crashing :
https://launchpad.net/~oibaf/+archive/ub...cs-drivers

Best Regards
Patric
Reply
#2
Hi,

Or should i be reporting this here ? 

https://github.com/xbmc/xbmc/issues

Br
Patric
Reply
#3
Id say its more likely better to post here.

As lrusak said in his comment, the stacktrace doesnt have any information. Will need debug symbols and gdb to get a full stacktrace with info.

With that said, if its caused by python, a common issue linux distros have seen is the python numpy module being loaded, and then causing crashes. There are forum threads and github issues around this. Try remove numpy possibly (sledge hammer approach) or find the addon that is actually causing the crash (remove all, add individually until the crash comes back).

Before id go that route though, get the stacktrace, as the above is all just a blind guess, one which a stack trace will confirm one way or another.
Reply
#4
(2021-07-11, 03:35)Fuzzard Wrote: Id say its more likely better to post here.

As lrusak said in his comment, the stacktrace doesnt have any information. Will need debug symbols and gdb to get a full stacktrace with info.

With that said, if its caused by python, a common issue linux distros have seen is the python numpy module being loaded, and then causing crashes. There are forum threads and github issues around this. Try remove numpy possibly (sledge hammer approach) or find the addon that is actually causing the crash (remove all, add individually until the crash comes back).

Before id go that route though, get the stacktrace, as the above is all just a blind guess, one which a stack trace will confirm one way or another.
Sorry for slow response, been away for work, and luckily could boot mediapc up in windows for the wife Smile

Could somebody please help with some instruction on how i install these debug symbols?, i followed this article i found ; https://www.hiroom2.com/2019/05/22/ubunt...dbgsym-en/
, but the stack trace is still empty in the crashlogs.

So i have  most likely not done everything thats needed.
Best Regards
Patric
Reply
#5
Tested this in case it would help : 

mrpg@mediapc:~$ pip uninstall numpy
WARNING: Skipping numpy as it is not installed.
Reply
#6
Anyone? Please I need help

Br
Patric
Reply
#7
I am screwed? Only way forward is to wipe the os?
Reply
#8
So far you are the only person that reported this issue.
This may indicate that this is a problem with your setup, it could be either os or hardware or something else.
Just for the sake of trying something - try moving your kodi folder away and start afresh, this way we would know for certain that its not something in your kodi data dir.
mv ~/.kodi ~/.kodi-old , start Kodi, see if it crashes.

If it still segfaults with a fresh datadir you may want to install gdb to get somewhat useful backtrace.
If it does not - start restoring your setup by installing everything you had before (skins, addons, etc) one by one and check.
This way you would determine what is causing your issue.
Reply
#9
Thank you asavah!

I moved my .kodi folder like you suggested, and it stopped crashing!

Now currently setting it up again, hopefully i will find out what caused this.

Br
Patric
Reply
#10
Hi,

so after moving my .kod dir, i did the following :


1 installed aeon nox silvo, and customized the skin and kodi settings
2 installed youtube,svtplay,retrospect,formula1,DR TV,iplayer www
3 the only two plugins i installed that were not available in the default kodi repo were Netflix & Discovery Plus
4 installed pvr simple client and added my channels

the system was not crashing after all of the above, we watched a movie, and after this went onto youtube to search for some videos, and now it started crashing again.

I now get a stacktrace in the crashlog.

can you please have a look at this :  https://paste.ubuntu.com/p/Rn628JZnSP/

​​​​​​​Best Regards
Patric
Reply
#11
Still desperately need help!
Br
Patric
Reply
#12
I have this same problem. Debian Sid on amd64, Kodi 19.1-dmo3 from deb-multimedia repository. It has gotten so bad that Kodi is now borderline unusable because it will crash every 20-30 minutes.

Nothing numpy related has ever been installed on the system.

kodi_crashlog contains nothing relevant to the crash.

Syslog reports that LanguageInvoker has segfaulted
Oct  2 20:04:06 eglobal kernel: [ 9977.284678] LanguageInvoker[45925]: segfault at 0 ip 00007f1b1beb1231 sp 00007f1ab27fa758 error 4 in libc-2.32.so[7f1b1bd78000+149000]

Backtrace in https://paste.kodi.tv/ojevobijuw

Any suggestions on how to further debug the problem?
Reply
#13
This is driving me insane.

I wiped my mediapc yesterday, installed ubuntu 21.04 from scratch, installed kodi 19 , installed the following plugins :
DR TV
SVT Play
Retrospect
BBC Iplayer
IPTV Simple
Formula 1
Mame Launcher
Aeon Nox Skin
Artwork Dump
Netflix
Gizmeto Weather

Its still crashing with : 

Oct 11 11:52:49 mediapc kernel: [   23.617652] LanguageInvoker[1575]: segfault at 0 ip 00007f5c33572f45 sp 00007f5bb6ffb778 error 4 in libc-2.33.so[7f5c33419000+16b000]
Oct 11 11:52:49 mediapc kernel: [   23.617660] Code: 00 00 0f 1f 00 31 c0 c5 f8 77 c3 66 2e 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 89 f9 48 89 fa c5 f9 ef c0 83 e1 3f 83 f9 20 77 2b <c5> fd 74 0f c5 fd d7 c1 85 c0 0f 85 eb 00 00 00 48 83 c7 20 83 e1

I have no idea how to fix this, reinstall of the enrire OS does not even help.

Br
Patric
Reply
#14
Can one somehow disable this languageinvoker thing?
Reply
#15
LanguageInvoker is what does all the python work. You wouldn't have the ability to do anything with the add-on system.
Reply

Logout Mark Read Team Forum Stats Members Help
LanguageInvoker segfault0