App crashing
-
I have developed Qt app, which uses C++ and Qt Mobility 1.1 for communication with server, and QML for UI presentation.
The app has been tested on 5 different platforms: Windows 7, Ubuntu 10.10, Nokia N900, Nokia N97, Nokia N8.
It runs well on all platforms except on N8 (and probably also on other Symbian 3 phones).All platforms have the same Qt version, Qt 4.7.1, Qt Mobility 1.1.
Any idea why the app would crash only on N8?
-
Symbian has a rather strict security system... so does your application have all required capabilities? Information on capabilities can be found at http://wiki.forum.nokia.com/index.php/Capabilities_(Symbian_Signed) .
-
2 Tobias, the link doesn't work, you missed the last character in url ')'
2 borut123, different platforms can behave differently on subtle bugs, so i suggest you look at the code first.
i might be wrong, but i think that you can do debug on the device with Nokia SDK, anyway try to get more information about the crash. -
The parser of this website does not allow for URLs ending in ')' :-(
http://wiki.forum.nokia.com/index.php/Capabilities_(Symbian_Signed) is the URL I wanted to give above.
Edit: Cool, just adding the URL not using the link button does make it work. I'll update my original post accordingly:-)
-
Hello,
Stupid question maybe, but did you upgrade qt on the N8.? The device is shipped with qt 4.6.
Tom
-
Yes, I have upgraded it with the latest Qt from QT SDK 1.1 TP.
I also know that there could be some differences between platforms, but I would not expect so frequent crashing of the application on N8, which works perfectly ok on N97.
My question was more like "does anybody else have the same experience with crashing of qt apps on Symbian 3".
If not, then there's obviously something wrong with my code. -
I have no problem with my N8, but the applications I have deployed so far are very simple.
It's probably best that you debug the application on the device.
Cheers
Tom -
[quote author="borut123" date="1295956253"]
Yes, I have upgraded it with the latest Qt from QT SDK 1.1 TP.I also know that there could be some differences between platforms, but I would not expect so frequent crashing of the application on N8, which works perfectly ok on N97.
[/quote]
What ever you do, do not hard reset your phone.
This will end up in trip to service point for flashing a new firmware.
For the moment you are stuck with the tech preview.
See http://discussion.forum.nokia.com/forum/showthread.php?217774-Revert-back-from-Qt-4.7.1-to-Qt-4.6.3 -
Hi
I've made a few changes in the code, also fixed some memory leaks, installed Qt 4.7.2 and Qt Mobility 1.1.0. Now the app is much more stable than before.
Could you explain a bit more about what you're trying to achieve and maybe send the code snippet
of the "critical part" of youre code. -
Qt Creator 2.2 has a plugin which uses Valgrind to detect memory leaks.
I think it works on linux and mac (I use it on Ubuntu).http://doc.trolltech.com/qtcreator-snapshot/creator-analyzer.html
-
I installed Valgrind, but i dont find it "Debug > Start Analyzer > Start." how did you do it? Thanks
[quote author="borut123" date="1305196666"]Qt Creator 2.2 has a plugin which uses Valgrind to detect memory leaks.
I think it works on linux and mac (I use it on Ubuntu).http://doc.trolltech.com/qtcreator-snapshot/creator-analyzer.html
[/quote]