Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - io-net crash for "flood ping": (4 Items)
   
io-net crash for "flood ping"  
Hi,

I am working on WLAN driver with io-net framework. When i perform "flood ping" ( i mean ping -f ), io-net  runs for 2 
hours and then crshes saying :

Process 6 (io-net) terminated SIGSEGV code=1 fltno=11 ip=010e1290(npm-tcpip-v4.so @ in_pcbformat+0x1d24) mapaddr=
0001f290. ref=00000018
I think the io-net is not able to process the packets which are recieved at faster rate.
But normal ping works fine. 
What could be the problem? Is it theproblem in my driver or in io-net? 



Thanks & Regards
-------------------------------------------------------
 
Arun L Hegde
Global Edge Software Limited
Malleswaram
Bangalore-560 003, India
Ph:9886232054
arun.hegde@globaledgesoft.com
www.globaledgesoft.com

RE: io-net crash for "flood ping"  
I doubt very much that this is a problem with io-net. Most probably it is a
problem with your driver. Io-net loads the driver as a dll, so if the driver
crashes, so does io-net and the stack. Check to see that you have no memory
leaks and that you are not running out of memory.


-----Original Message-----
From: Arun Hegde [mailto:arun.hegde@globaledgesoft.com] 
Sent: Thursday, April 03, 2008 11:13 PM
To: drivers-networking
Subject: io-net crash for "flood ping"

Hi,

I am working on WLAN driver with io-net framework. When i perform "flood
ping" ( i mean ping -f ), io-net  runs for 2 hours and then crshes saying :

Process 6 (io-net) terminated SIGSEGV code=1 fltno=11
ip=010e1290(npm-tcpip-v4.so @ in_pcbformat+0x1d24) mapaddr=0001f290.
ref=00000018
I think the io-net is not able to process the packets which are recieved at
faster rate.
But normal ping works fine. 
What could be the problem? Is it theproblem in my driver or in io-net? 



Thanks & Regards
-------------------------------------------------------
 
Arun L Hegde
Global Edge Software Limited
Malleswaram
Bangalore-560 003, India
Ph:9886232054
arun.hegde@globaledgesoft.com
www.globaledgesoft.com



_______________________________________________
Networking Drivers
http://community.qnx.com/sf/go/post6452
RE: io-net crash for "flood ping"  
> I doubt very much that this is a problem with io-net. 
> Most probably it is a problem with your driver. Io-net 
> loads the driver as a dll, so if the driver crashes, so 
> does io-net and the stack

Yup.  How I diagnose this sort of thing is
as follows:

1) do a "make clean" of your driver and
re-compile it with "-g -O0".  That's dash
g, dash oh zero.

2) make sure dumper is running

3) after the crash, cp /sbin/io-net and
/var/dumps/io-net.core to your driver
make directory

4) run "gdb ./io-net ./io-net.core" which
should load your driver dll and display
the stack of function calls (complete
with line numbers) when you type "bt".

If the line of code is say accessing
a pointer p, you type "print p" or
perhaps "print *p" to figure out why
you went boom.

Hope this helps,

--
aboyd
Re: RE: io-net crash for "flood ping"  
Hi all,
Thanks for the help. The problem was in my driver. I got it working

Thanks and regards
Arun Hegde