IP connectivity crash with error -9 both in code and Nokia application

Login to reply to this topic.
Thu, 2008-01-31 16:33
Joined: 2008-01-31
Forum posts: 2

Hi all,

When I try to create an IAP using my Nokia N80 settings application, it fails with error code -9.
When my S60 program calls CCommDatabase or apengine, it also panics with code -9.

The only way I found to recover from this is to reinstall my Nokia system (Symbian OS 9.2)!

I suspect some CommDB problem or limitation but I have seen nobody having the same trouble.
My program access CommDB using serveral S60 API like the ones provided by apselect.h and commdb.h.

That's really a tricky issue as I develop on several terminals, not only Nokia ones but Symbian powered, and I got this problem quite often (say 1 per week)

Is it a known issue??


Fri, 2008-02-08 08:08
Joined: 2006-05-22
Forum posts: 50
Hi slash33, It happens

Hi slash33,

It happens because of the duplicate entry of the same IAP id.
How r u creating the IAP?

If u are creating the IAP while first access of your app, then your creation IAP method will create a new entry in the IAP table each time.

We can create maximum 20 duplicate entries only, i think.So, once the device reaches the maximum entry then it wont allow u to create the entry with that name.
But , if u reboot ur device then OS cleans the entries in the CommDB.So now u can able to create it.

So, to resolve this, u need to delete the created entry while uninstalling the app or according to ur needs.

Cheers,
Karthikeyan.B

Wed, 2008-02-13 17:14
Joined: 2008-01-31
Forum posts: 2
Re: IP connectivity crash with error -9 both in code and Nokia a

That's right. There was a bug in the code creating unexpected IAP entries, even with the same name. But a reboot was not sufficient. I needed to reset the system.

After then, I have had another problem with commdb. This one concerns the ConnPrefTable and is probably a programming error but quite difficult to explore. Here is it: the code writes and removes records from the connection preference table using both the CCommDatabase and CCommsDbConnectionPrefTableView objects. Nothing wrong with this except that, after some time, the IAP preference table seems to be not available any more and any call to RConnection::Start(TCommDbConnPref) is rejected with status -3606. No idea what's that non standard status code. Also, the terminal does not display the IAP preference dialog any more! In place, it displays the "connecting" message ever and ever and...

May a lock on the connection preference table be the cause for this or no deletion of the CCommsDbConnectionPrefTableView object after its use (crash or uncaught leave)?

Just borying to have the terminal reset more again!

  • Login to reply to this topic.