App not staring (UIQ3 emulator)

Login to reply to this topic.
Thu, 2006-12-07 00:49
Joined: 2003-08-29
Forum posts: 5
Hello,

I've ported an app from UIQ 2.1 to 3.0 and it doesnt start on the emulator. Dont have the device yet, hence trying to get it running on the emulator first. I referred to almost all posts on various forums regarding app startup issues.

I have a Series60 v3 version of the app running both on emulator and device, so I'm familiar with most of platsec capabilities, registration files etc.. that were introduced in Symbian v9.

- App icon is getting displayed in the list of apps, but nothing happens when clicked on it. I don't even get a message saying "Application couldn't be started". Tried debugging in carbide and as expected the app doesnt even get to E32Main.
- Once in a while, I get FSCLIENT 24 panic, so looks like one of TParsePtr calls is unable to do parsing. Is this something to do with app file name, registration file name etc.. Huh??

I know I don't have much info to give, but was just wondering what are the possible causes that could prevent an app from not starting. In the mmp file, I have used
EPOCHEAPSIZE 1 1000000000
EPOCSTACKSIZE 0x8000

although EPOCSTACKSIZE has no effect for emulator builds. Tried changing Max Heap size to all possible values, but all in vein.

- I use "UserEnvironment" and "SwEvent" capabilities.
- I also have a library linked during build time and it uses the same capabilities as the main app. Just to be safe, I also tried removing the library and all calls related to it from the app, rebuilt the app and tried starting it, but it doesn't as the result is same.

Any pointers ??

thanks.

kishorer


Thu, 2006-12-07 08:41
Joined: 2006-04-23
Forum posts: 45
Re: App not staring (UIQ3 emulator)
Hi, i have faced this kind of problem in Symbian 9.1 Series 60.
try my solution, it might work.
When trying an application on the emulator use development uid for exe. If you use the uid given by symbian on the emulator the application would not start on the emulator ,but will work on the device.
Try using this range for the exe it may work 0xe
Also check the uid you have specified as in Symbian 9.1 it is changed.they have introduced UID1,2,3.
Check all of that...
Its a problem mostly with the uid








Thu, 2006-12-07 23:32
Joined: 2003-08-29
Forum posts: 5
Re: App not staring (UIQ3 emulator)
Its not starting irrespective of what UID I use.  Still trying to find out the problem.  Thanks anyway.   Also I think for emulator any UID range can be used, it should not be a problem.  You could try for example to change the UID of an example app in UIQ3 to the one in protected range (0x200.. to 0x2ff...) and it will work fine.

On the other hand, for target builds, only protected UIDs should be used if signing with a dev cert and for symbian signing as well.  Unprotected range can still be used if self-signing.


kishorer

Fri, 2006-12-08 07:14
Joined: 2006-04-23
Forum posts: 45
Re: App not staring (UIQ3 emulator)
Hi,
I guess you didnt get what i am saying. Even i used uid from the 0x2 range and tried starting the application in the emulator. It didnt start.(got an error Application killed).
I used the uid from range 0xE for the exe and it started on the emulator.
Use 0x2 when you install it on the device coz you need to get it signed also(Symbian Signed).
This is my experience in Series 60 3rd Edition.(Symbian 9.1)

See if it enters the document file or constructl of appui file.
also try disabling platform security on your emulator and see if the application starts.
May be you have not specified any capability in the mmp file
Sat, 2007-01-06 00:17
Joined: 2003-08-29
Forum posts: 5
Re: App not staring (UIQ3 emulator)
I've got the device (P990) and app is starting fine over there.  On emulator the app doesnt start and I get the panic (FSCLIENT PANIC 24). According to the SDK:

""This panic is raised by the TParsePtr constructor that takes a reference to a filename, when the name cannot be parsed"".


Btw, you can use the UID (provided by Symbian, in 0x2xxxx range) on the emulator and it will work fine in both Series60 v3 and UIQ v3.0 environments.  Thats why I mentioned earlier that 
"You could try for example to change the UID of an example app in UIQ3 to the one in protected range (0x200.. to 0x2ff...) and rebuild it, and it will work fine".  I've already tried this many times and it works. Not sure why you couldn't get your app work on emulator (with UID 0x2xx range), the problem could be elsewhere.

I anyway tried using both the 0xa and 0xe UID range and the app still doesnt start in emulator, so there is something else I need to look at.


kishorer

Thu, 2007-01-11 09:02
Joined: 2006-09-19
Forum posts: 30
Re: App not staring (UIQ3 emulator)
hi  I am also facing problem to run Hello example(UIQ 3) code,

I am trying to run Hello Example code in Metroworks CodeWarrier for emulator , but after pressing Project->make, I am getting tere errors.

tool exit status == 1

cannot find -lsupc++

tool exit status == 1

The system cannot find the file specified.



Error: E1001: Could not open file : C:\Symbian\UIQ3SDK\EPOC32\BUILD\HELLO\HELLO\HELLO\GCCE\HELLO_Data\GCCE_UDEB\HELLO.exe.

tool exit status == 1

cannot find -lsupc++

tool exit status == 1

The system cannot find the file specified.



Error: E1001: Could not open file : C:\Symbian\UIQ3SDK\EPOC32\BUILD\HELLO\HELLO\HELLO\GCCE\HELLO_Data\GCCE_UREL\HELLO.exe.

So please help me, what should I do, to run this code properly and can see the result in Emulator. 
Wed, 2007-01-17 18:19
Joined: 2003-08-29
Forum posts: 5
Re: App not staring (UIQ3 emulator)
Error: E1001: Could not open file : C:\Symbian\UIQ3SDK\EPOC32\BUILD\HELLO\HELLO\HELLO\GCCE\HELLO_Data\GCCE_UDEB\HELLO.exe.

==> It clearly says that the application does not exist, which means the build was not successful.

cannot find -lsupc++
==> Looks like something to do with GCC.  not sure though. Have you installed GCC compiler?   Did you try building from command line?


kishorer

  • Login to reply to this topic.