Kodi Community Forum
v19 Kodi crashes on resume in VTM GO Addon - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Raspberry Pi (https://forum.kodi.tv/forumdisplay.php?fid=166)
+---- Thread: v19 Kodi crashes on resume in VTM GO Addon (/showthread.php?tid=363751)



Kodi crashes on resume in VTM GO Addon - henkv - 2021-07-29

Kodi crashes when I try to resume a video in the VTM GO addon.
The system runs Arch Linux Arm with Kodi 19.1-8 and kernel 5.10.50-2-ARCH. But I also tried LibreELEC 10 nightly and it has the same issue.

I only experience this in the VTM GO addon, other addons don't seem to have this issue. I found out that this happens since kodi-rpi-19.0-4 (released on May 10). It works fine on kodi-rpi-19.0-3 (released on May 9), so some change in 19.0-4 must cause the crash. Other platforms don't seem to have this issue. See: https://github.com/add-ons/plugin.video.vtm.go/issues/295


Kodi crashes on resume in VTM GO Addon - asavah - 2021-07-29

To receive meaningful assistance you will need to provide a full debug log.

The instructions are here... debug log (wiki)

If you are using the Basic Method, then ensure the following is applied...
1.Enable debugging in Settings>System Settings>Logging,
2.Restart Kodi
3.Replicate the problem.
4.Upload the log to Kodi Paste Site manually or use the Kodi Logfile Uploader. (wiki) With either method post the link to the log back here.

If you are using the Advanced Method ensure you have correctly created and applied the advancedsettings.xml file (wiki)

In both instances, you should see the word DEBUG throughout the log.

Note: Full logs only. No partial or redacted logs
Do NOT post your logs directly into the forum. Use the Kodi Paste Site. Post the link to your pasted log in the forum



RE: Kodi crashes on resume in VTM GO Addon - henkv - 2021-07-30

(2021-07-29, 21:25)asavah Wrote: To receive meaningful assistance you will need to provide a full debug log.

The instructions are here... debug log (wiki)

If you are using the Basic Method, then ensure the following is applied...
1.Enable debugging in Settings>System Settings>Logging,
2.Restart Kodi
3.Replicate the problem.
4.Upload the log to Kodi Paste Site manually or use the Kodi Logfile Uploader. (wiki) With either method post the link to the log back here.

If you are using the Advanced Method ensure you have correctly created and applied the advancedsettings.xml file (wiki)

In both instances, you should see the word DEBUG throughout the log.

Note: Full logs only. No partial or redacted logs
Do NOT post your logs directly into the forum. Use the Kodi Paste Site. Post the link to your pasted log in the forum
Thank you for your reply. I posted the Kodi log with debug information here: https://paste.kodi.tv/nuyuxupeyi.kodi


Kodi crashes on resume in VTM GO Addon - DarrenHill - 2021-07-30

The forum moderators have determined that banned addons (wiki) are present on your system. To receive assistance here, these banned items must be removed. If a clean log is not submitted within 3 days, then the relevant post(s) will be removed after this time.


RE: Kodi crashes on resume in VTM GO Addon - henkv - 2021-07-30

Uploaded a clean log: https://paste.kodi.tv/xovotawiwo.kodi


RE: Kodi crashes on resume in VTM GO Addon - popcornmix - 2021-07-31

Nothing too obvious in log.
Code:
############### STACK TRACE #################
gdb not installed, can't get stack trace.

If you install gdb, and allow the crash to occur again you may get more information on what was happening when the crash occurred.


RE: Kodi crashes on resume in VTM GO Addon - henkv - 2021-07-31

(2021-07-31, 12:51)popcornmix Wrote: Nothing too obvious in log.
 
Code:
############### STACK TRACE #################
gdb not installed, can't get stack trace.

If you install gdb, and allow the crash to occur again you may get more information on what was happening when the crash occurred.
Thank you. I installed gdb and enabled coredump.
The new Kodi log file with stack trace can be found here: https://paste.kodi.tv/giwujutete.kodi


RE: Kodi crashes on resume in VTM GO Addon - henkv - 2021-08-08

The crash is caused by this patch: 0001-rpi-Add-hevc-acceleration.patch
It is present in the popcornmix branch which is used by the Arch Linux Arm package: https://github.com/popcornmix/xbmc/blob/gbm/tools/depends/target/ffmpeg/0001-rpi-Add-hevc-acceleration.patch
And also in the LibreElec repository: https://github.com/LibreELEC/LibreELEC.tv/blob/master/packages/multimedia/ffmpeg/patches/rpi/ffmpeg-001-rpi.patch


RE: Kodi crashes on resume in VTM GO Addon - henkv - 2021-08-10

@popcornmix, Do you have any idea if there is anything specific in the patch mentioned above that could cause the crashes?


RE: Kodi crashes on resume in VTM GO Addon - popcornmix - 2021-08-10

The patch enables hardware acceleration. You'd have the same behaviour if you left the patch in and disabled hw acceleration in video settings.

Does the VTM GO addon work without an account and from the UK?


RE: Kodi crashes on resume in VTM GO Addon - henkv - 2021-08-10

You are right, the system does not crash when I let the patch in and disable hardware acceleration.
The VTM GO addon needs an account to work. It can be created on the website: https://vtm.be/vtmgo. It should work in the UK, but the site is in Dutch.


RE: Kodi crashes on resume in VTM GO Addon - popcornmix - 2021-08-13

That was painful to reproduce (creating an account with non-english site that doesn't render through google translate, addon gets 406 returned. Found bug report and had to update to github version, capture cookies from browser, insert into add-on settings). But I see the crash.

And good new it looks to be a simple fix (need to check a pointer for null). I've now been able to start/stop a video a dozen times without issue.
Fix should be appearing in the ffmpeg branch we are using imminently which should be picked up by LE (and others) in future builds.

EDIT: Fix is here