Another crash at another location, this time referencing vc_sm_cma_import_dmabuf. Uh oh:
Code:
[49754.247417] vc_sm_cma_vchi_rx_ack: received response 18330886, throw away...[49769.121928] vc_sm_cma_import_dmabuf: imported vc_sm_cma_get_buffer failed -512[49769.121965] bcm2835_mmal_vchiq: vchiq_mmal_submit_buffer: vc_sm_import_dmabuf_fd failed, ret -512[49769.121975] bcm2835-codec bcm2835-codec: device_run: Failed submitting ip buffer[49769.144620] ------------[ cut here ]------------[49769.144635] WARNING: CPU: 3 PID: 9152 at drivers/media/common/videobuf2/videobuf2-core.c:2215 __vb2_queue_cancel+0x238/0x2d8 [videobuf2_common][49769.144668] Modules linked in: bcm2835_codec(C) bcm2835_mmal_vchiq(C) vc_sm_cma(C) dwc2 edt_ft5x06 tc358762 drm_mipi_dbi simple_bridge panel_raspberrypi_touchscreen rpi_panel_attiny_regulator rpi_panel_v2_regulator panel_ilitek_ili9881c panel_simple nvmem_rmem drm_rp1_dsi drm_ttm_helper ttm snd_soc_hdmi_codec rpivid_hevc(C) pisp_be vc4 v4l2_mem2mem videobuf2_dma_contig videobuf2_v4l2 videobuf2_memops v3d drm_dma_helper videobuf2_common gpu_sched drm_shmem_helper drm_kms_helper drm_display_helper videodev drm backlight mc cec i2c_mux_pinctrl i2c_mux i2c_designware_platform i2c_designware_core i2c_brcmstb drm_panel_orientation_quirks raspberrypi_gpiomem uinput enc28j60 pwm_bcm2835 rpi_poe_power pwm_raspberrypi_poe gpio_fan simple_mfd_i2c raspberrypi_hwmon rtc_ds1307 rtc_pcf8523 i2c_bcm2708 i2c_dev regmap_i2c cdc_acm ftdi_sio pl2303 cp210x usbserial dm_crypt dm_mod hid_multitouch goodix_ts snd_soc_core snd_pcm_dmaengine snd_compress snd_bcm2835(C) snd_pcm snd_timer snd rt2800usb rt2800lib rt2x00usb rt2x00lib brcmfmac_wcc[49769.144844] brcmfmac brcmutil rtl8xxxu rtl8192cu rtl8192c_common rtl_usb rtlwifi xpad ff_memless tun i2c_bcm2835 overlay lib80211 mac80211 cfg80211 rfkill xt_owner xt_REDIRECT iptable_nat xt_MASQUERADE nf_nat xt_state nf_conntrack ipt_REJECT nf_reject_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 xt_tcpudp iptable_filter ip_tables x_tables crc_ccitt squashfs fuse libarc4 ctr ccm cryptd sha256_arm64 aes_arm64 aes_generic libaes[49769.144944] CPU: 3 UID: 0 PID: 9152 Comm: video decoder Tainted: G C 6.12.16-v8+ #1859[49769.144952] Tainted: [C]=CRAP[49769.144955] Hardware name: Raspberry Pi 4 Model B Rev 1.1 (DT)[49769.144959] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)[49769.144965] pc : __vb2_queue_cancel+0x238/0x2d8 [videobuf2_common][49769.144978] lr : __vb2_queue_cancel+0x34/0x2d8 [videobuf2_common][49769.144990] sp : ffffffc080fd3a60[49769.144993] x29: ffffffc080fd3a60 x28: ffffffb9c1342100 x27: 0000000000000000[49769.145004] x26: 0000000000000009 x25: 0000000000000001 x24: ffffffb9c1342700[49769.145014] x23: ffffffb9c0f8e920 x22: ffffffb9c84331a8 x21: ffffffb9c8446d48[49769.145024] x20: ffffffb9c8433250 x19: ffffffb9c84331a8 x18: ffffffffffffffff[49769.145033] x17: 00000001c8500000 x16: ffffffe3619581c8 x15: ffffffc080fd36a8[49769.145043] x14: 0000000000000006 x13: ffffffb9c8500028 x12: 0000000000000000[49769.145052] x11: ffffffb9c8368bc0 x10: ffffffb9c8368b68 x9 : ffffffe361957ef4[49769.145062] x8 : ffffffb9c8368b90 x7 : 0000000000000001 x6 : fffffffe003fff80[49769.145071] x5 : ffffffe32c28439c x4 : 0000000000150014 x3 : ffffffd69b64a000[49769.145081] x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000001[49769.145090] Call trace:[49769.145094] __vb2_queue_cancel+0x238/0x2d8 [videobuf2_common][49769.145106] vb2_core_queue_release+0x2c/0x88 [videobuf2_common][49769.145118] vb2_queue_release+0x18/0x30 [videobuf2_v4l2][49769.145131] v4l2_m2m_ctx_release+0x30/0x50 [v4l2_mem2mem][49769.145150] bcm2835_codec_release+0x64/0x110 [bcm2835_codec][49769.145161] v4l2_release+0xec/0x100 [videodev][49769.145222] __fput+0xd0/0x2e0[49769.145235] ____fput+0x1c/0x30[49769.145243] task_work_run+0x78/0xe0[49769.145249] do_exit+0x2e0/0x9b8[49769.145258] do_group_exit+0x3c/0xa0[49769.145264] get_signal+0x9e0/0x9e8[49769.145273] do_signal+0x94/0x10d0[49769.145279] do_notify_resume+0xd0/0x150[49769.145286] el0_svc_compat+0x6c/0x80[49769.145297] el0t_32_sync_handler+0x98/0x148[49769.145301] el0t_32_sync+0x194/0x198[49769.145307] ---[ end trace 0000000000000000 ]---[49769.145312] videobuf2_common: driver bug: stop_streaming operation is leaving buffer 1 in active stateStatistics: Posted by dividuum — Wed Mar 05, 2025 10:45 am