Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - io-pkt leak data section - ppc8260 ethernet driver: Page 1 of 34 (34 Items)
   
io-pkt leak data section - ppc8260 ethernet driver  
Hello,

we do see on our system that io-pkt while running shows in different scenarios a memory leak. The memory in the data 
section grows until the system has no resources (RAM) left and crashes!

----------------------------------------------------------------------------------
QNX Version used:  
------------------------------------
QNX6.5 SP2 - PPC Platform

NIC Driver uses:
------------------------------------
from BSP 8260 pq2fads (QNX      PQ2FADS BSP V1.0.2 (File revision: 1.43))

Start sequence of drivers (extract from a start up script):
------------------------------------
mount -T io-pkt -o channel=1,mac=$MAC1 devn-ppc8260-nxa.so
mount -T io-pkt -o channel=2,mac=$MAC2 devn-ppc8260-nxa.so
mount -T io-pkt -o channel=3,mac=$MAC3 devn-ppc8260-nxa.so

netmanager -r all -f $NETCONFIG

mount -T io-pkt -o bind=ip0,resolve=dns,resolve=autoresolve /usr/lib/lsm-qnet.so
----------------------------------------------------------------------------------

Other embedded sysetm are also connected on the network. If we now perform ls /net/$NODENAME the new node do appear.

By simple performing the "df -h" we can reproduce the leak.
The issue is, that our application does not execute this command - but we can see that ~4.5 hours the data section 
(pidin -mem) of io-pkt do increase by 4kBytes.

Any help is welcome, also if more information is needed - please let me know

Kind Regards
Thomas L.








Attachment: Text pidin_mem_log.txt 1.04 MB