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

System freeze with "Unable to handle kernel NULL pointer dereference at virtual address 0000000000000008" #6426

Open
qrp73 opened this issue Oct 18, 2024 · 0 comments

Comments

@qrp73
Copy link

qrp73 commented Oct 18, 2024

Describe the bug

Yesterday, I encountered this issue. It happens in display blank mode when Firefox was playing music on YouTube in a minimized state. At some point, the sound just stopped, and the system froze, becoming unresponsive to the mouse and keyboard. There was an error in the log: "Unable to handle kernel NULL pointer dereference at virtual address 0000000000000008".

Steps to reproduce the behaviour

It randomly happened, so I don't have reliable way to reproduce it.

Device (s)

Raspberry Pi 4 Mod. B

System

$ uname -a && cat /etc/rpi-issue && vcgencmd version
Linux raspi 6.6.51+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.51-1+rpt3 (2024-10-08) aarch64 GNU/Linux
Raspberry Pi reference 2023-09-22
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 40f37458ae7cadea1aec913ae10b5e7008ebce0a, stage4
Aug 30 2024 19:17:39 
Copyright (c) 2012 Broadcom
version 2808975b80149bbfe86844655fe45c7de66fc078 (clean) (release) (start)

Logs

Oct 17 20:29:57 raspi rtkit-daemon[1044]: Supervising 8 threads of 5 processes of 1 users.
Oct 17 20:30:28 raspi kernel: ------------[ cut here ]------------
Oct 17 20:30:28 raspi kernel: WARNING: CPU: 1 PID: 47854 at drivers/media/common/videobuf2/videobuf2-core.c:2024 __vb2_queue_cancel+0x220/0x2a0 [videobuf2_common]
Oct 17 20:30:28 raspi kernel: Modules linked in: tun snd_seq_dummy snd_hrtimer snd_seq lz4 lz4_compress zram zsmalloc brcmfmac_wcc brcmfmac brcmutil cfg80211 bcm2835_codec(C) bcm2835_isp(C) bcm2835_v4l2(C) rpivid_hevc(C) bcm2835_mmal_vchiq(C) v4l2_mem2mem videobuf2_vmalloc binfmt_misc videobuf2_dma_contig videobuf2_memops snd_usb_audio videobuf2_v4l2 videodev rfkill snd_hwdep raspberrypi_hwmon snd_usbmidi_lib snd_rawmidi videobuf2_common joydev raspberrypi_gpiomem vc_sm_cma(C) snd_seq_device snd_bcm2835(C) mc sg nvmem_rmem uio_pdrv_genirq uio i2c_dev fuse dm_mod ip_tables x_tables ipv6 vc4 snd_soc_hdmi_codec drm_display_helper cec drm_dma_helper drm_kms_helper v3d snd_soc_core gpu_sched snd_compress drm_shmem_helper snd_pcm_dmaengine snd_pcm drm drm_panel_orientation_quirks snd_timer i2c_brcmstb snd backlight
Oct 17 20:30:28 raspi kernel: CPU: 1 PID: 47854 Comm: ThreadPoolSingl Tainted: G        WC         6.6.51+rpt-rpi-v8 #1  Debian 1:6.6.51-1+rpt3
Oct 17 20:30:28 raspi kernel: Hardware name: Raspberry Pi 4 Model B Rev 1.5 (DT)
Oct 17 20:30:28 raspi kernel: pstate: 80000005 (Nzcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
Oct 17 20:30:28 raspi kernel: pc : __vb2_queue_cancel+0x220/0x2a0 [videobuf2_common]
Oct 17 20:30:28 raspi kernel: lr : __vb2_queue_cancel+0x38/0x2a0 [videobuf2_common]
Oct 17 20:30:28 raspi kernel: sp : ffffffc082f0bb00
Oct 17 20:30:28 raspi kernel: x29: ffffffc082f0bb00 x28: ffffffdc41aa8d38 x27: ffffffdc419eb0d0
Oct 17 20:30:28 raspi kernel: x26: 0000000000000000 x25: ffffff8041a7a530 x24: ffffff8007cb8600
Oct 17 20:30:28 raspi kernel: x23: 0000000000000000 x22: ffffff8053445028 x21: ffffff8053445028
Oct 17 20:30:28 raspi kernel: x20: 0000000000000009 x19: ffffff8053445028 x18: 0000000000000003
Oct 17 20:30:28 raspi kernel: x17: 0000000100000000 x16: ffffffdc59504440 x15: ffffffc082f0b650
Oct 17 20:30:28 raspi kernel: x14: 0000000000000004 x13: ffffff8041b00028 x12: 0000000000000000
Oct 17 20:30:28 raspi kernel: x11: ffffff80e99c5758 x10: ffffff80e99c56d0 x9 : ffffffdc41a9eae4
Oct 17 20:30:28 raspi kernel: x8 : ffffff80e99c56f8 x7 : 0000000000000000 x6 : 0000000000000228
Oct 17 20:30:28 raspi kernel: x5 : ffffff8041a7a81c x4 : 0000000000000000 x3 : 0000000000000000
Oct 17 20:30:28 raspi kernel: x2 : ffffff807301bd80 x1 : 0000000000000000 x0 : 0000000000000005
Oct 17 20:30:28 raspi kernel: Call trace:
Oct 17 20:30:28 raspi kernel:  __vb2_queue_cancel+0x220/0x2a0 [videobuf2_common]
Oct 17 20:30:28 raspi kernel:  vb2_core_streamoff+0x2c/0xd0 [videobuf2_common]
Oct 17 20:30:28 raspi kernel:  vb2_streamoff+0x20/0x78 [videobuf2_v4l2]
Oct 17 20:30:28 raspi kernel:  v4l2_m2m_streamoff+0x80/0x160 [v4l2_mem2mem]
Oct 17 20:30:28 raspi kernel:  v4l2_m2m_ioctl_streamoff+0x20/0x38 [v4l2_mem2mem]
Oct 17 20:30:28 raspi kernel:  v4l_streamoff+0x2c/0x40 [videodev]
Oct 17 20:30:28 raspi kernel:  __video_do_ioctl+0x170/0x3e0 [videodev]
Oct 17 20:30:28 raspi kernel:  video_usercopy+0x208/0x770 [videodev]
Oct 17 20:30:28 raspi kernel:  video_ioctl2+0x20/0x40 [videodev]
Oct 17 20:30:28 raspi kernel:  v4l2_ioctl+0x48/0x70 [videodev]
Oct 17 20:30:28 raspi kernel:  __arm64_sys_ioctl+0xb4/0x100
Oct 17 20:30:28 raspi kernel:  invoke_syscall+0x50/0x128
Oct 17 20:30:28 raspi kernel:  el0_svc_common.constprop.0+0x48/0xf0
Oct 17 20:30:28 raspi kernel:  do_el0_svc+0x24/0x38
Oct 17 20:30:28 raspi kernel:  el0_svc+0x40/0xe8
Oct 17 20:30:28 raspi kernel:  el0t_64_sync_handler+0x100/0x130
Oct 17 20:30:28 raspi kernel:  el0t_64_sync+0x190/0x198
Oct 17 20:30:28 raspi kernel: ---[ end trace 0000000000000000 ]---
Oct 17 20:30:28 raspi kernel: videobuf2_common: driver bug: stop_streaming operation is leaving buf 00000000bb832638 in active state
Oct 17 20:30:28 raspi kernel: videobuf2_common: driver bug: stop_streaming operation is leaving buf 0000000028c544a7 in active state
Oct 17 20:30:28 raspi kernel: videobuf2_common: driver bug: stop_streaming operation is leaving buf 00000000dc2a33b0 in active state
Oct 17 20:30:28 raspi kernel: videobuf2_common: driver bug: stop_streaming operation is leaving buf 0000000006450b6f in active state
Oct 17 20:30:28 raspi kernel: videobuf2_common: driver bug: stop_streaming operation is leaving buf 00000000ee9a55c1 in active state
Oct 17 20:30:28 raspi kernel: ------------[ cut here ]------------
Oct 17 20:30:28 raspi kernel: WARNING: CPU: 1 PID: 58726 at drivers/media/common/videobuf2/videobuf2-core.c:1049 vb2_buffer_done+0x27c/0x2a0 [videobuf2_common]
Oct 17 20:30:28 raspi kernel: Modules linked in: tun snd_seq_dummy snd_hrtimer snd_seq lz4 lz4_compress zram zsmalloc brcmfmac_wcc brcmfmac brcmutil cfg80211 bcm2835_codec(C) bcm2835_isp(C) bcm2835_v4l2(C) rpivid_hevc(C) bcm2835_mmal_vchiq(C) v4l2_mem2mem videobuf2_vmalloc binfmt_misc videobuf2_dma_contig videobuf2_memops snd_usb_audio videobuf2_v4l2 videodev rfkill snd_hwdep raspberrypi_hwmon snd_usbmidi_lib snd_rawmidi videobuf2_common joydev raspberrypi_gpiomem vc_sm_cma(C) snd_seq_device snd_bcm2835(C) mc sg nvmem_rmem uio_pdrv_genirq uio i2c_dev fuse dm_mod ip_tables x_tables ipv6 vc4 snd_soc_hdmi_codec drm_display_helper cec drm_dma_helper drm_kms_helper v3d snd_soc_core gpu_sched snd_compress drm_shmem_helper snd_pcm_dmaengine snd_pcm drm drm_panel_orientation_quirks snd_timer i2c_brcmstb snd backlight
Oct 17 20:30:28 raspi kernel: CPU: 1 PID: 58726 Comm: kworker/1:0 Tainted: G        WC         6.6.51+rpt-rpi-v8 #1  Debian 1:6.6.51-1+rpt3
Oct 17 20:30:28 raspi kernel: Hardware name: Raspberry Pi 4 Model B Rev 1.5 (DT)
Oct 17 20:30:28 raspi kernel: Workqueue: events buffer_work_cb [bcm2835_mmal_vchiq]
Oct 17 20:30:28 raspi kernel: pstate: 80000005 (Nzcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
Oct 17 20:30:28 raspi kernel: pc : vb2_buffer_done+0x27c/0x2a0 [videobuf2_common]
Oct 17 20:30:28 raspi kernel: lr : op_buffer_cb+0x1c8/0x708 [bcm2835_codec]
Oct 17 20:30:28 raspi kernel: sp : ffffffc082823cf0
Oct 17 20:30:28 raspi kernel: x29: ffffffc082823cf0 x28: 0000000000000000 x27: 0000000000000000
Oct 17 20:30:28 raspi kernel: x26: 0000000000000000 x25: ffffff800351bf40 x24: ffffff80bfab8000
Oct 17 20:30:28 raspi kernel: x23: ffffffdc41a97780 x22: ffffff8053445028 x21: 0000000000000000
Oct 17 20:30:28 raspi kernel: x20: ffffff8041b00550 x19: ffffff80d0584800 x18: 0000000000000000
Oct 17 20:30:28 raspi kernel: x17: 0000000000000000 x16: ffffffdc59292548 x15: 0000000000000000
Oct 17 20:30:28 raspi kernel: x14: 001a137add4d501c x13: ffffffdc5954cbb0 x12: 00000000d2a81d91
Oct 17 20:30:28 raspi kernel: x11: 0000000000000254 x10: 0000000000001a40 x9 : ffffffdc41ab8f70
Oct 17 20:30:28 raspi kernel: x8 : ffffff80d0629aa0 x7 : ffffff800351bf80 x6 : 0000000000000020
Oct 17 20:30:28 raspi kernel: x5 : 0000000000000001 x4 : 0000000000640000 x3 : 00000000000493e0
Oct 17 20:30:28 raspi kernel: x2 : 0000000000000004 x1 : 0000000000000005 x0 : 0000000000000000
Oct 17 20:30:28 raspi kernel: Call trace:
Oct 17 20:30:28 raspi kernel:  vb2_buffer_done+0x27c/0x2a0 [videobuf2_common]
Oct 17 20:30:28 raspi kernel:  op_buffer_cb+0x1c8/0x708 [bcm2835_codec]
Oct 17 20:30:28 raspi kernel:  buffer_work_cb+0x78/0xf0 [bcm2835_mmal_vchiq]
Oct 17 20:30:28 raspi kernel:  process_one_work+0x148/0x3b8
Oct 17 20:30:28 raspi kernel:  worker_thread+0x32c/0x450
Oct 17 20:30:28 raspi kernel:  kthread+0x11c/0x128
Oct 17 20:30:28 raspi kernel:  ret_from_fork+0x10/0x20
Oct 17 20:30:28 raspi kernel: ---[ end trace 0000000000000000 ]---
Oct 17 20:30:28 raspi kernel: Unable to handle kernel NULL pointer dereference at virtual address 0000000000000008
Oct 17 20:30:28 raspi kernel: Mem abort info:
Oct 17 20:30:28 raspi kernel:   ESR = 0x0000000096000005
Oct 17 20:30:28 raspi kernel:   EC = 0x25: DABT (current EL), IL = 32 bits
Oct 17 20:30:28 raspi kernel:   SET = 0, FnV = 0
Oct 17 20:30:28 raspi kernel:   EA = 0, S1PTW = 0
Oct 17 20:30:28 raspi kernel:   FSC = 0x05: level 1 translation fault
Oct 17 20:30:28 raspi kernel: Data abort info:
Oct 17 20:30:28 raspi kernel:   ISV = 0, ISS = 0x00000005, ISS2 = 0x00000000
Oct 17 20:30:28 raspi kernel:   CM = 0, WnR = 0, TnD = 0, TagAccess = 0
Oct 17 20:30:28 raspi kernel:   GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0

Additional context

I'm not sure for 100% but it looks like also there was running chromium at the time when it happens.

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