Wind River Support Network

HomeDefectsLIN5-19711
Fixed

LIN5-19711 : Generate kmemleak on mv-armada-38x

Created: Nov 16, 2014    Updated: Dec 19, 2017
Resolved Date: Nov 16, 2014
Found In Version: 5.0.1
Fix Version: 5.0.1.22
Severity: Standard
Applicable for: Wind River Linux 5
Component/s: BSP - Async

Description

root@localhost:/opt/wr-test# cat /proc/version
Linux version 3.4.91-WR5.0.1.0_standard (xxxx@host) (gcc version 4.6.3 (Wind River Linux Sourcery CodeBench 4.6a-136) ) #1 SMP PREEMPT Mon Nov 10 20:03:09 CST 2014
root@localhost:/opt/wr-test# cat /proc/cmdline
console=ttyS0,115200 root=/dev/nfs rw nfsroot=128.224.162.230:/home/ovp/ihdw/TFTPNFS/rootfs38SDKTS ip=dhcp mv_net_config=4,(00:50:43:11:11:11,0:1:2:3),mtu=1500
root@localhost:/opt/wr-test# cat /sys/kernel/debug/kmemleak
unreferenced object 0x8f130000 (size 12288):
  comm "swapper/0", pid 1, jiffies 4294937373 (age 1435.370s)
  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  ................
  backtrace:
    [<8017c494>] create_object+0x11c/0x268
    [<80676740>] kmemleak_alloc+0x48/0x78
    [<808ef04c>] alloc_large_system_hash+0x1d0/0x25c
    [<809000a4>] udp_table_init+0x50/0x174
    [<809001ec>] udp_init+0x24/0x5c
    [<809005a4>] inet_init+0x1a8/0x2cc
    [<80008610>] do_one_initcall+0x44/0x184
    [<808dfa88>] kernel_init+0x18c/0x25c
    [<8000fb0c>] kernel_thread_exit+0x0/0x8
    [<ffffffff>] 0xffffffff
unreferenced object 0x8f134000 (size 12288):
  comm "swapper/0", pid 1, jiffies 4294937373 (age 1435.370s)
  hex dump (first 32 bytes):
    00 00 00 00 00 00 00 00 00 00 00 00 00 60 82 04  .............`..
    00 8c 88 00 00 00 00 00 05 00 00 00 00 00 00 00  ................
  backtrace:
    [<8017c494>] create_object+0x11c/0x268
    [<80676740>] kmemleak_alloc+0x48/0x78
    [<808ef04c>] alloc_large_system_hash+0x1d0/0x25c
    [<809000a4>] udp_table_init+0x50/0x174
    [<80900244>] udplite4_register+0x20/0xa4
    [<809005a8>] inet_init+0x1ac/0x2cc
    [<80008610>] do_one_initcall+0x44/0x184
    [<808dfa88>] kernel_init+0x18c/0x25c
    [<8000fb0c>] kernel_thread_exit+0x0/0x8
    [<ffffffff>] 0xffffffff
root@localhost:/opt/wr-test#
root@localhost:/opt/wr-test# 

Steps to Reproduce

1. Build
configure --enable-rootfs=glibc-std --enable-board=mv-armada-38x --enable-kernel=standard --enable-jobs=8 --enable-parallel-pkgbuilds=8 --enable-reconfig --with-layer=/lpg-build/cdc/bsp/wrlinux-501RCPLX/wr-testing/bts,/lpg-build/cdc/bsp/wrlinux-501RCPLX/wr-testing/kts && make fs

2. Boot the target
console=ttyS0,115200 root=/dev/nfs rw nfsroot=128.224.162.230:/home/ovp/ihdw/TFTPNFS/rootfs38SDKTS ip=dhcp mv_net_config=4,(00:50:43:11:11:11,0:1:2:3),mtu=1500

Other Downloads


Live chat
Online