Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resulteert in segfault? #48

Closed
rien333 opened this issue Dec 20, 2021 · 2 comments
Closed

Resulteert in segfault? #48

rien333 opened this issue Dec 20, 2021 · 2 comments

Comments

@rien333
Copy link

rien333 commented Dec 20, 2021

Uitleg

Helaas crashed kodi elke keer als ik een NPO video probeer te laden via deze plugin. De video lijkt heel even te starten, maar dan loopt de UI vast, en na 1 of 2 minuten crashed de hele kodi binary. Zie ook de log hieronder.

Beschrijving

Als ik video (e.g. De Slimste mens) selecteer op mijn raspberry pi krijg ik altijd de volgende crash:

$ kodi --debug
   /usr/bin/kodi: line 186:  1957 Segmentation fault      (core dumped) ${KODI_BINARY} $SAVED_ARGS
Crash report available at /home/alarm/kodi_crashlog-20211220_215909.log

Hieronder een mogelijk relevant stukje vlak voordat de crash plaatstvind, alhoewel kodi rond de laatste regel al compleet vast loopt.

21:56:32.235 T:2060     INFO <general>: Python interpreter stopped
21:56:32.235 T:2060    DEBUG <general>: Thread LanguageInvoker 2115727504 terminating
21:56:32.419 T:1957    DEBUG <general>: easy_acquire - Created session to https://nl-ams-p26-am5.cdn.streamgate.nl
21:56:32.537 T:1957    DEBUG <general>: CCurlFile::GetMimeType - https://nl-ams-p26-am5.cdn.streamgate.nl/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2NDAxMjAxOTEsInVyaSI6Ilwvdm9kXC9ucG9cL3VzcFwvVEVTVFwvbnBvXC9kYXNoX2NlbmNcL0tOXzE3Mjc3NjRcL0tOXzE3Mjc3NjRfdjE2Mzk0MjgxNjguaXNtIiwiY2xpZW50X2lwIjoiMjEzLjEyNy40Mi4yNTAiLCJ2aWV3ZXIiOiJkYjIwNTUyMmJhOGJmZmVkN2EzZTRmZWY3NWEzZjQxMDA4NzAyZWY2IiwicmlkIjoiNTQ3MTYyYyJ9.Qpt7iJJDXxtuPKZ4F8hkAJITPI8TmE65STI2O2mvoos/vod/npo/usp/TEST/npo/dash_cenc/KN_1727764/KN_1727764_v1639428168.ism/stream.mpd -> application/dash+xml
21:56:32.537 T:2069    DEBUG <general>: Thread VideoPlayer start, auto delete: false
21:56:32.537 T:1957    DEBUG <general>: OnPlayBackStarted: CApplication::OnPlayBackStarted
21:56:32.539 T:2070    DEBUG <general>: Thread BackgroundLoader start, auto delete: false
21:56:32.539 T:2069     INFO <general>: Creating InputStream
21:56:32.539 T:2069    DEBUG <general>: ADDON: Dll Initializing - InputStream Adaptive
21:56:32.540 T:2069    DEBUG <general>: SECTION:LoadDLL(/usr/lib/kodi/addons/inputstream.adaptive/inputstream.adaptive.so.19.0.1)
21:56:32.540 T:2069    DEBUG <general>: Loading: /usr/lib/kodi/addons/inputstream.adaptive/inputstream.adaptive.so.19.0.1
21:56:32.561 T:1972    DEBUG <general>: Loading settings for plugin://plugin.video.uzg/?action=play&whatson_id=KN_1727764
21:56:32.569 T:2070    DEBUG <general>: Thread BackgroundLoader 1965572240 terminating
21:56:32.594 T:1957    DEBUG <general>: CVideoGUIInfo::InitCurrentItem(plugin://plugin.video.uzg/?action=play&whatson_id=KN_1727764)
21:56:32.594 T:1957    DEBUG <general>: CPlayerGUIInfo::InitCurrentItem(plugin://plugin.video.uzg/?action=play&whatson_id=KN_1727764)
21:56:32.695 T:1957    DEBUG <general>: ------ Window Init (DialogBusy.xml) ------
21:56:32.754 T:2069     INFO <general>: AddOnLog: inputstream.adaptive: SetVideoResolution (1920 x 1080)
21:56:32.754 T:2069    DEBUG <general>: AddOnLog: inputstream.adaptive: Open()
21:56:32.754 T:2069    DEBUG <general>: AddOnLog: inputstream.adaptive: found inputstream.adaptive.license_key: [not shown]
21:56:32.754 T:2069    DEBUG <general>: AddOnLog: inputstream.adaptive: found inputstream.adaptive.license_type: com.widevine.alpha
21:56:32.754 T:2069    DEBUG <general>: AddOnLog: inputstream.adaptive: found inputstream.adaptive.manifest_type: mpd
21:56:32.755 T:2069    DEBUG <general>: AddOnLog: inputstream.adaptive: Initial bandwidth: 4000000 
21:56:32.759 T:2069    DEBUG <general>: AddOnLog: inputstream.adaptive: MAXRESOLUTION selected: 0 
21:56:32.759 T:2069    DEBUG <general>: AddOnLog: inputstream.adaptive: MAXRESOLUTIONSECURE selected: 0 
21:56:32.759 T:2069    DEBUG <general>: AddOnLog: inputstream.adaptive: STREAMSELECTION selected: 0 
21:56:32.759 T:2069    DEBUG <general>: AddOnLog: inputstream.adaptive: FORCENONSECUREDECODER selected: 0 
21:56:32.759 T:2069    DEBUG <general>: AddOnLog: inputstream.adaptive: Searching for decrypters in: /usr/lib/kodi/addons/inputstream.adaptive/
21:56:32.905 T:2069    DEBUG <general>: AddOnLog: inputstream.adaptive: Found decrypter: /usr/lib/kodi/addons/inputstream.adaptive/libssd_wv.so
21:56:32.906 T:2069    DEBUG <general>: AddOnLog: inputstream.adaptive: Supported URN: urn:uuid:EDEF8BA9-79D6-4ACE-A3C8-27DCD51D21ED
21:56:32.906 T:2069    DEBUG <general>: CurlFile::Open(0x4c715e0) https://nl-ams-p26-am5.cdn.streamgate.nl/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2NDAxMjAxOTEsInVyaSI6Ilwvdm9kXC9ucG9cL3VzcFwvVEVTVFwvbnBvXC9kYXNoX2NlbmNcL0tOXzE3Mjc3NjRcL0tOXzE3Mjc3NjRfdjE2Mzk0MjgxNjguaXNtIiwiY2xpZW50X2lwIjoiMjEzLjEyNy40Mi4yNTAiLCJ2aWV3ZXIiOiJkYjIwNTUyMmJhOGJmZmVkN2EzZTRmZWY3NWEzZjQxMDA4NzAyZWY2IiwicmlkIjoiNTQ3MTYyYyJ9.Qpt7iJJDXxtuPKZ4F8hkAJITPI8TmE65STI2O2mvoos/vod/npo/usp/TEST/npo/dash_cenc/KN_1727764/KN_1727764_v1639428168.ism/stream.mpd
21:56:33.016 T:2069    DEBUG <general>: AddOnLog: inputstream.adaptive: Download finished: https://nl-ams-p26-am5.cdn.streamgate.nl/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2NDAxMjAxOTEsInVyaSI6Ilwvdm9kXC9ucG9cL3VzcFwvVEVTVFwvbnBvXC9kYXNoX2NlbmNcL0tOXzE3Mjc3NjRcL0tOXzE3Mjc3NjRfdjE2Mzk0MjgxNjguaXNtIiwiY2xpZW50X2lwIjoiMjEzLjEyNy40Mi4yNTAiLCJ2aWV3ZXIiOiJkYjIwNTUyMmJhOGJmZmVkN2EzZTRmZWY3NWEzZjQxMDA4NzAyZWY2IiwicmlkIjoiNTQ3MTYyYyJ9.Qpt7iJJDXxtuPKZ4F8hkAJITPI8TmE65STI2O2mvoos/vod/npo/usp/TEST/npo/dash_cenc/KN_1727764/KN_1727764_v1639428168.ism/stream.mpd
21:56:33.016 T:2069     INFO <general>: AddOnLog: inputstream.adaptive: Successfully parsed manifest file. #Periods: 1, #Streams in first period: 2, Type: VOD, Download speed: 0.0000 Bytes/s
21:56:33.016 T:2069    DEBUG <general>: AddOnLog: inputstream.adaptive: New period, dispose sample decrypter and reinitialize
21:56:33.016 T:2069    DEBUG <general>: AddOnLog: inputstream.adaptive: Entering encryption section


############### END LOG FILE ################

Hier de rest van de log:

kodi_crashlog-20211220_215909.log

Laat me weten of ik iets anders kan doen!

@rien333 rien333 changed the title widevine segfault? Resulteert in segfault? Dec 20, 2021
@rien333
Copy link
Author

rien333 commented Dec 20, 2021

Denk nu dat het misschien niet bepaald het probleem van dit project is, aangezien retrospect (https://github.com/retrospect-addon/plugin.video.retrospect/) ogenschijnlijk hetzelfde heeft.

Ook misschien nuttig om te vermelden dat mijn versie van widevine gewoon nieuw is (want versie installatie op arch linux), dus mijn probleem is niet per se #47 of retrospect-addon/plugin.video.retrospect#1547.

@rien333
Copy link
Author

rien333 commented Dec 22, 2021

Gevonden! Je hebt, op arch linux, blijkbaar een gepatchede versie van nota bene glibc nodig om widevine op ARMv7 te laten werken. Zie https://github.com/pejobo/glibc-widevine en het forum thread daarin gelinkt, en ook xbmc/inputstream.adaptive#678.

@rien333 rien333 closed this as completed Dec 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant