Debugging PPPD Resource Leaks
mikes at poliac.com
Tue Oct 9 17:12:08 UTC 2001
I have fixed a few problems in my BSP and now I can run my ppp test
program up to about 100 times. Occassionally the program stops with
the following error "Still waiting for mbuf.". It looks like the
is getting stuck in the function m_mballoc. It is waiting for the variable
mmbfree to be set.
Has anyone dealt with this problem? Which task or driver should be setting
the mmbfree variable? Any thoughts or ideas would be greatly appreciated.
From: Mike Siers [mailto:mikes at poliac.com]
Sent: Monday, October 01, 2001 2:17 PM
To: rtems-users at oarcorp.com
Subject: Debugging PPPD Resource Leaks
I have a simple test program that should run forever but
it stops functioning correctly after about 20 iterations.
What is the best way to debug resource leaks? Do
the following gdb commands still work correctly to display
available Workspace and Heap memory?
print *(Heap_Block *)_Workspace_Area->first
The program is just trying to bring up and down a ppp link
over a direct serial cable. It works about 20 times and then
it can not successfully bring up the IP layer. What things can
I look at to help determine if the network stack has run out
I am using the current snapshot. Any debugging hints/tips
would be greatly appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the users