ALLOC panic in SocketServer

Login to reply to this topic.
Mon, 2006-03-06 08:02
Joined: 2005-07-16
Forum posts: 127
Hi,

Problem: ALLOC panic in SocketServer
SDK version: 2.0

I use RConnection-initiated connection with RHTTPSession. Everything works fine in the device downloading data over WAP gateway. When I use emulator, it works fine as well. For the testing purpose, I ran my application and exit from it in debug mode. I kept the emulator running over some time and get SocketServer ALLOC error after 5 minutes. I close RHttpSession, RConnection, RSocketServ properly and it closes properly. I call Close() method of all these classes. I do not call any synchronous method like Stop() in RConnection.

I am just wondering whether any memory leaks remain in my application.

Couple of issues:
----------------

1) The way I got emulator to work with Ethernet plug-in is that I run the npacketadmin (Ethernet PacketService Control Panel), Start it with Filter set to NDIS_PACKET_TYPE_PROMISCUOUS mode.

2) My PC runs inside NAT. Ethernet NetWork configurator is configured as Network adapter in promiscuous mode, Obtain IP address automatically, Obtain DNS server address automatically.

3) If I use the same configuration in the PC which is connected to Internet directly, my application does not work, but Series60 services application works.

4) After using the Series60 services application for downloading network data, it always panics on exit.

In my overall observation, SocketServer does not release memory while running in emulator.

I really appreciate any comment regarding this.

Regards,
shagor
  • Login to reply to this topic.