You Are Here:

Community: Developer Discussion Boards

#1 Old Initializing CSPyInterpreter from Server crashes - 2005-09-16, 17:13

Join Date: Aug 2004
Posts: 290
simo.salminen
Offline
Regular Contributor
The call to CSPyInterpreter::NewInterpreterL() crashes when it's called in client/server application inside the server code. The crashcode is Kern-Exec 3.

How to reproduce:
Modify the S60 SDK example clientserverasync, and in file server\src\timeserver.cpp, add a call to the NewInterpreter (I used CTimeServer::NewSessionL method to do that).

The code works fine in emulator. However, when it is run in terminal it crashes inside that method (tested with FP1 and FP2 phones and FP1 and FP2 SDK's).

Code works fine when it's called inside the client part of client/server application.
Reply With Quote

#2 Old Re: Initializing CSPyInterpreter from Server crashes - 2005-09-19, 10:18

Join Date: Sep 2003
Posts: 209
Location: Finland
otsov
Offline
Regular Contributor
Quote:
Originally Posted by simo.salminen
The call to CSPyInterpreter::NewInterpreterL() crashes when it's called in client/server application inside the server code. The crashcode is Kern-Exec 3.
Increasing the stack size in your ".mmp" file should solve the issue (the default stack size, 8KB, is too small), e.g.:

EPOCSTACKSIZE 65536
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Exceptions while loading application avinash_rs Mobile Java General 0 2003-06-09 11:53
Nokia Activ Server 2.1 - problems choumanb WAP Servers 0 2003-05-16 08:34
Test GPRS modem with Microsoft SQL Server 2000 chadahamat2704 Digital Rights Management & Content Downloading 0 2003-03-13 08:36
Problems with the built in server in wap toolkit 2.1 Nokia_Archived General Browsing 2 2002-05-15 22:54
Problem Starting the server Nokia_Archived WAP Servers 1 2002-05-14 19:03

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia