This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] AM62A7-Q1:Wave5:使用 gstreamer v4l2h265enc 的程序关闭时的内核 oops

Guru**** 2573695 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1574196/am62a7-q1-wave5-kernel-oops-when-program-using-gstreamer-v4l2h265enc-is-shut-down

器件型号:AM62A7-Q1


工具/软件:

您好、

我们看到了使用 v4l2h265enc 元素关闭 gstreamer C 应用时的以下 oops:

[   33.894948] Internal error: synchronous external abort: 0000000096000010 1 PREEMPT SMP
[   33.903190] Modules linked in: inv_icm42600_spi inv_icm42600 inv_sensors_timestamp rpmsg_ctrl rpmsg_char cdns_csi2rx kfifo_buf tpm_ti
s_spi tpm_tis_core panel_semtech_gs2962 snd_soc_simple_card snd_soc_simple_card_utils crct10dif_ce snd_soc_ics43432 e5010_jpeg_enc v4l2_
jpeg k3_j72xx_bandgap rtc_ti_k3 rti_wdt ti_k3_r5_remoteproc tidss wave5 ti_k3_dsp_remoteproc j721e_csi2rx drm_dma_helper videobuf2_dma_c
ontig drm_kms_helper v4l2_mem2mem videobuf2_memops videobuf2_v4l2 drm mcrc64 sa2ul videobuf2_common cdns_dphy_rx drm_panel_orientation_q
uirks backlight snd_soc_davinci_mcasp snd_soc_ti_udma ar0823 snd_soc_ti_edma snd_soc_ti_sdma v4l2_fwnode v4l2_async tps65219_pwrbutton v
ideodev at24 mc spi_omap2_mcspi ina238 pwm_tiehrpwm cfg80211 rfkill fuse ipv6
[   33.969954] CPU: 2 PID: 221 Comm: vpu_irq_thread Not tainted 6.6.58-gcfcc8922-01656-ga3c69943b67e #1
[   33.979120] Hardware name: Benchmark Electronics 4K Camera Proto A (DT)
[   33.985750] pstate: 80000005 (Nzcv daif PAN -UAO -TCO -DIT -SSBS BTYPE=-)
[   33.992745] pc : wave5_vdi_read_register+0x8/0x20 [wave5]
[   33.998342] lr : wave5_vpu_irq_work_fn+0x20/0x4c [wave5]
[   34.003818] sp : ffff80008215be00
[   34.007149] x29: ffff80008215be00 x28: 0000000000000000 x27: 0000000000000000
[   34.014355] x26: 0000000000000000 x25: ffff0000049f0000 x24: ffff000006061388
[   34.021557] x23: 0000000000000001 x22: ffff000006061384 x21: ffff000006061380
[   34.028755] x20: ffff0000049f0000 x19: ffff000000694c80 x18: ffffffffffffffff
[   34.035955] x17: 703d4d4554535953 x16: 0000000000000020 x15: 00005a17ce6a97a4
[   34.043154] x14: 0000000000000000 x13: 0000000000000104 x12: 0000000000000002
[   34.050349] x11: 0000000000000000 x10: 00000000000009a0 x9 : ffff80008215bd40
[   34.057544] x8 : ffff0000049f0a00 x7 : ffff00007fc58280 x6 : 0000000000000000
[   34.064741] x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000001
[   34.071935] x2 : ffff000006061388 x1 : 0000000000000044 x0 : ffff800082140044
[   34.079133] Call trace:
[   34.081597]  wave5_vdi_read_register+0x8/0x20 [wave5]
[   34.086822]  kthread_worker_fn+0xc4/0x17c

我现在无法重现它,我不知道它发生的频率,只是希望它知道。

此致、

Bas Vermeulen

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Bas:

    我知道您无法重现问题、GStreamer 应用程序有什么作用?  另外、您是否在 11.1 SDK 软件上看到了这一点? 我看到内核版本为 6.6。 我们目前正在使用 Linux 内核 6.12 和最新的 SDK。

    是否有迁移到最新 SDK 的计划?

    此致、

    Suren

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    有迁移计划、但不确定何时可以管理。

    基本上发生的情况是,启动我的应用程序的服务被停止;这将一个 SIGTERM 发送到应用程序,我的应用程序拦截,然后调用 g_main_loop_exit ();之后,我停止管道上的 gst_element_set_state ( NULL )。

    我认为这可能会中断对 wave5 编码器的请求、从而导致此崩溃。

    我只是有人看到这个,只是想确保它是在某个人的雷达上。