We are developping an application that uses the function “RAW Data Packet”
to talk with Net.
Basically, the application is a bridge between 2 network interfaces and send
all the IP packet (0x0800) from one to the other . With an exception for the
packets with mac-destination to the QNX machine itself, in this case the
packets are released to the QNX tcp/ip stack.
So the application is placed between :
These programs are started in that order.
The application and Net communicate thanks to shared code and shared data
(qnx_segment_arm). Therefor the application registers to the Net manager
We are now facing some issues and we would be pleased with any feedback you
The behaviour of the application is quite chaotic, sometimes, it runs for
weeks, sometimes for days but it has a constant : it always crashes. The
crash is always the same :
- QNX frozen, hard reboot needed
- nothing in our log files
We deeply believe that QNX freezes in the network related area.
For informations, here below are some strange behaviours observed :
- compiling and linking the all application without “-g” make the Net
manager to stop with SIGSEV
- sometimes the network stops working for a while, and can be restarted
when launching a simple ping
- inet services (like telnet) needs sometimes 45 secondes to give the
prompt back. After that, everything goes well.
Any remarks, request for info, suggestions would really be more than
thanks in advance.