[Interest] free_contig_range warning on mediaplayer stops

nus1998 nus1998 at yeah.net
Wed Apr 15 11:47:16 CEST 2020


Hi All,


It's very likely as QTBUG-73084 that Kernel complains non-freed memory when video playback ends. however, on current yocto release, there is no gstimxcommon ( I guess the replacement is gstreamer-fsl ) so the patch doesn't work on current yocto release (imx-linux-zeus 5.4.3_2.0.0, qt 5.13.2 included).



the message is as below:
[ 9153.183561] ------------[ cut here ]------------
[ 9153.188495] WARNING: CPU: 0 PID: 1025 at mm/page_alloc.c:8517 free_contig_range+0x9c/0xa4
[ 9153.198119] 765 pages are still in use!
[ 9153.201971] Modules linked in: g_mass_storage imx_sdma mxc_v4l2_capture ipu_bg_overlay_sdc ipu_still v4l2_int_device ipu_prp_enc ipu_csi_enc ipu_fg_overlay_sdc imx_vdoa [last unloaded: g_mass_storage]
[ 9153.220415] CPU: 1 PID: 1025 Comm: QSGRenderThread Tainted: G        W         5.4.3+gfd263a3 #28
[ 9153.229298] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[ 9153.235856] [<8010fb90>] (unwind_backtrace) from [<8010b650>] (show_stack+0x10/0x14)
[ 9153.243634] [<8010b650>] (show_stack) from [<80ad27cc>] (dump_stack+0x90/0xa4)
[ 9153.250892] [<80ad27cc>] (dump_stack) from [<8012f5e0>] (__warn+0xbc/0xd8)
[ 9153.257791] [<8012f5e0>] (__warn) from [<8012f694>] (warn_slowpath_fmt+0x98/0xc4)
[ 9153.265307] [<8012f694>] (warn_slowpath_fmt) from [<80214808>] (free_contig_range+0x9c/0xa4)
[ 9153.273775] [<80214808>] (free_contig_range) from [<8022595c>] (cma_release+0x70/0x98)
[ 9153.281722] [<8022595c>] (cma_release) from [<801153b0>] (__arm_dma_free.constprop.0+0x12c/0x158)
[ 9153.290637] [<801153b0>] (__arm_dma_free.constprop.0) from [<80821da4>] (vpu_free_dma_buffer+0x44/0x4c)
[ 9153.300059] [<80821da4>] (vpu_free_dma_buffer) from [<808226c0>] (vpu_release+0x18c/0x324)
[ 9153.308354] [<808226c0>] (vpu_release) from [<8022c17c>] (__fput+0x88/0x218)
[ 9153.315441] [<8022c17c>] (__fput) from [<8014bd4c>] (task_work_run+0x90/0xac)
[ 9153.322609] [<8014bd4c>] (task_work_run) from [<8010b380>] (do_work_pending+0x584/0x590)
[ 9153.330723] [<8010b380>] (do_work_pending) from [<8010106c>] (slow_work_pending+0xc/0x20)
[ 9153.338913] Exception stack(0xc83c7fb0 to 0xc83c7ff8)
[ 9153.343984] 7fa0:                                     00000000 002fd000 535be000 e3c00000
[ 9153.352183] 7fc0: 69c14a1c 55e75d9c 002fd000 0000005b 01c5cde0 00000000 00000000 00000001
[ 9153.360376] 7fe0: 55e75f64 69c149fc 55e561bd 75e3a928 40070030 535be000
[ 9153.373503] ---[ end trace 5d1b5878ea066dec ]---


B.R.
Nus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20200415/d087a480/attachment.html>


More information about the Interest mailing list