Skip to content

kernel oops in v4l - playing video in kodi twitch add-on #4831

@greatquux

Description

@greatquux

Describe the bug

While playing video in the Twitch add-in, if the add-in needs to play an ad mid-stream, it has been reliably crashing and causing a kernel Oops. This is the latest kodi from raspbian bullseye archives, and regular 32-bit armhf raspbian bullseye, on pi 400.

Steps to reproduce the behaviour

install kodi and twitch add-in, use hardware acceleration (which works great for all other videos and the youtube add-in, and certainly doesn't cause kernel crashes!); play any channel you are not subscribed to which should eventually cause ads, I got the crash documented in the logs while viewing the mst3k channel https://www.twitch.tv/mst3k

Device (s)

Raspberry Pi 400

System

pi@raspberrypi ~> cat /etc/rpi-issue
Raspberry Pi reference 2020-08-20
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 9a3a10bf1019ebb2d59053564dc6b90068bad27d, stage5

pi@raspberrypi ~> vcgencmd version
Nov 18 2021 16:16:49
Copyright (c) 2012 Broadcom
version d9b293558b4cef6aabedcc53c178e7604de90788 (clean) (release) (start)

pi@raspberrypi ~> uname -a
Linux raspberrypi 5.10.63-v7l+ #1488 SMP Thu Nov 18 16:15:28 GMT 2021 armv7l GNU/Linux

Logs

crash logs were retrieved with command
journalctl -o short-precise -k -b -2
dmesg_logs_twitch_crash.log

the Oops info was displayed on an SSH section I had connected at time of crash:

pi@raspberrypi ~> 

Message from syslogd@raspberrypi at Jan 13 21:06:04 ...
 kernel:[82830.822613] Internal error: Oops: 207 [#1] SMP ARM

Message from syslogd@raspberrypi at Jan 13 21:06:04 ...
 kernel:[82830.881009] Process kworker/3:2 (pid: 6879, stack limit = 0xb4db5dde)

Message from syslogd@raspberrypi at Jan 13 21:06:04 ...
 kernel:[82830.883769] Stack: (0xc641bef8 to 0xc641c000)

Message from syslogd@raspberrypi at Jan 13 21:06:04 ...
 kernel:[82830.886455] bee0:                                                       c032f30c c020cb1c

Message from syslogd@raspberrypi at Jan 13 21:06:04 ...
 kernel:[82830.889198] bf00: efecd6c0 efecd6c0 efecd6c0 c6764380 c6764394 efecd6c0 00000008 efecd6d8

Message from syslogd@raspberrypi at Jan 13 21:06:04 ...
 kernel:[82830.891940] bf20: c1203d00 efecd6c0 c641bf74 c641bf38 c023df18 c023d924 c0b93864 c0e221a0

Message from syslogd@raspberrypi at Jan 13 21:06:04 ...
 kernel:[82830.894770] bf40: c133d1de ffffe000 c641bf74 c665a280 c5084400 00000000 c641a000 c023deb8

Message from syslogd@raspberrypi at Jan 13 21:06:04 ...
 kernel:[82830.897470] bf60: c6764380 c5137e74 c641bfac c641bf78 c02459f8 c023dec4 c665a2a4 c665a2a4

Message from syslogd@raspberrypi at Jan 13 21:06:04 ...
 kernel:[82830.900288] bf80: ffffe000 c5084400 c0245888 00000000 00000000 00000000 00000000 00000000

Message from syslogd@raspberrypi at Jan 13 21:06:04 ...
 kernel:[82830.903020] bfa0: 00000000 c641bfb0 c02000ec c0245894 00000000 00000000 00000000 00000000

Message from syslogd@raspberrypi at Jan 13 21:06:04 ...
 kernel:[82830.905723] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

Message from syslogd@raspberrypi at Jan 13 21:06:04 ...
 kernel:[82830.908433] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000

Message from syslogd@raspberrypi at Jan 13 21:06:04 ...
 kernel:[82830.911183] Backtrace: 

Message from syslogd@raspberrypi at Jan 13 21:06:04 ...
 kernel:[82830.913868] [<c023d918>] (process_one_work) from [<c023df18>] (worker_thread+0x60/0x5c4)

Message from syslogd@raspberrypi at Jan 13 21:06:04 ...
 kernel:[82830.916562]  r10:efecd6c0 r9:c1203d00 r8:efecd6d8 r7:00000008 r6:efecd6c0 r5:c6764394

Message from syslogd@raspberrypi at Jan 13 21:06:04 ...
 kernel:[82830.919456]  r4:c6764380

Message from syslogd@raspberrypi at Jan 13 21:06:04 ...
 kernel:[82830.922178] [<c023deb8>] (worker_thread) from [<c02459f8>] (kthread+0x170/0x174)

Message from syslogd@raspberrypi at Jan 13 21:06:04 ...
 kernel:[82830.924972]  r10:c5137e74 r9:c6764380 r8:c023deb8 r7:c641a000 r6:00000000 r5:c5084400

Message from syslogd@raspberrypi at Jan 13 21:06:04 ...
 kernel:[82830.927702]  r4:c665a280

Message from syslogd@raspberrypi at Jan 13 21:06:04 ...
 kernel:[82830.930399] [<c0245888>] (kthread) from [<c02000ec>] (ret_from_fork+0x14/0x28)

Message from syslogd@raspberrypi at Jan 13 21:06:04 ...
 kernel:[82830.933193] Exception stack(0xc641bfb0 to 0xc641bff8)

Message from syslogd@raspberrypi at Jan 13 21:06:04 ...
 kernel:[82830.935979] bfa0:                                     00000000 00000000 00000000 00000000

Message from syslogd@raspberrypi at Jan 13 21:06:04 ...
 kernel:[82830.938741] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

Message from syslogd@raspberrypi at Jan 13 21:06:04 ...
 kernel:[82830.941508] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000

Message from syslogd@raspberrypi at Jan 13 21:06:04 ...
 kernel:[82830.944312]  r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c0245888

Message from syslogd@raspberrypi at Jan 13 21:06:04 ...
 kernel:[82830.946986]  r4:c5084400

Message from syslogd@raspberrypi at Jan 13 21:06:04 ...
 kernel:[82830.949601] Code: e1a05000 e2137004 13c370ff e5963010 (e5972004) 
Timeout, server raspberrypi.local not responding.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions