Wind River Support Network

HomeDefectsLIN1021-594
Fixed

LIN1021-594 : kmemleak new suspected memory leaks xilinx-zynq

Created: Jun 11, 2021    Updated: Aug 23, 2021
Resolved Date: Jul 26, 2021
Found In Version: 10.21.20.2
Fix Version: 10.21.20.3
Severity: Standard
Applicable for: Wind River Linux LTS 21
Component/s: BSP

Description

root@xilinx-zynq:/opt/wr-test# cat /sys/kernel/debug/kmemleak 
 unreferenced object 0x830c2f00 (size 64):
 comm "swapper/0", pid 0, jiffies 4294937296 (age 2116.450s)
 hex dump (first 32 bytes):
 73 6c 63 72 40 66 38 30 30 30 30 30 30 00 35 4b slcr@f8000000.5K
 0b bc d2 17 db c9 95 f2 c1 4b 85 69 27 07 07 62 .........K.i'..b
 backtrace:
 [<fba1206d>] kvasprintf+0x58/0xc8
 [<07769d1d>] kasprintf+0x28/0x58
 [<10115975>] of_syscon_register+0x140/0x29c
 [<e0156885>] device_node_get_regmap+0x58/0x88
 [<b25e91ca>] syscon_regmap_lookup_by_compatible+0x2c/0x40
 [<64dc6235>] zynq_early_slcr_init+0x6c/0x110
 [<581916ad>] zynq_irq_init+0x14/0x1c
 [<295fd4ea>] init_IRQ+0x6c/0x7c
 [<c3d2b8c7>] start_kernel+0x32c/0x5bc
 [<00000000>] 0x0
 unreferenced object 0x8ed63540 (size 184):
 comm "tipcTC", pid 4232, jiffies 34929 (age 1468.470s)
 hex dump (first 32 bytes):
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................

Steps to Reproduce

/lpg-build/cdc/fast_prod/WRLINUX_MASTER_WR/MASTER_WR_GIT/wrlinux-10/setup.sh --machines=xilinx-zynq --templates feature/linux-yocto-dev feature/toolchain-next feature/userspace-next feature/docker --distro wrlinux --accept-eula=yes --dl-layers

bitbake-layers add-layer /lpg-build/cdc/WASSP_LINUX_MASTER_WR/testcases/wrlinux/wr-testing/kts-dev && echo require templates/feature/wr-kts/template.conf >> conf/local.conf

bitbake wrlinux-image-std

Testing images and .config were located at  http://128.224.153.156/buildarea1/SharedImage/LINCD_NEXT/Kernel/xilinx-zynq_standard_glibc-std/20210607_140331/
Live chat
Online