Just to check the basics? A simple gotcha I bumped into was lack of heap, which is a constant setting in symbian.
Have you upped the heap and stack size, something like: TARGET.EPOCHEAPSIZE = 10000 20000000 TARGET.EPOCSTACKSIZE = 0x14000 in the .pro file? On Friday, November 05, 2010 10:46:13 am Anders Kjærgaard Hansen wrote: > Followup. > > I have tried to mockup a small sample program that runs the troublesome > lines. > > It seems that the small sample app can run the code on the device, but the > "big" application fails. > > Debugging in Carbide gives me the following exception. > > Thread [Thread id: 1444] (Suspended: Signal 'Exception 0' received. > Description: A data abort exception has occurred..) 5 Unknown > (0x799AD028)() 0x799ad028 > 4 Unknown (0x79E6FC2A)() 0x79e6fc2a > 3 Unknown (0x79E73B96)() 0x79e73b96 > 2 Unknown (0x79E55718)() 0x79e55718 > 1 Unknown (0x79E56002)() 0x79e56002 > > In the big application, I make use of msgs lib to create email accounts > since QTM doesn’t support this. So in the program I have included files > like msvapi.h, mtclreg.h, cemailaccounts.h, and CommsDatTypesV1_1.h. > > Could the error be related to two different Messaging API's (QTM and > Symbian c++) being loaded in the same process? > > Best regards > /Anders > > -----Original Message----- > From: qt-mobility-feedback-boun...@trolltech.com > [mailto:qt-mobility-feedback-boun...@trolltech.com] On Behalf Of Anders > Kjærgaard Hansen Sent: 28. oktober 2010 20:19 > To: Don Sanders > Cc: qt-mobility-feedback@trolltech.com > Subject: Re: [Qt-mobility-feedback] Problems with QMessageManager in QTM > 1.1 Beta 2 > > Hi Sanders > > I will try to give as thorough description as possible. > > My current development environment is this: > Windows 7 Professional 32 bit > Nokia Qt SDK 1.0.0 (According to Add/Remove programs). I'm pretty sure > though, that I installed Nokia Qt Sdk from the 1.0.1 offline installer > (Nokia_Qt_SDK_Win_offline_v1_0_1_en.exe) Carbide 2.3.0 > > I started out with this, I have then subsequently copied the contents of > qt-mobility-symbian-opensource-1.1.0-beta-epoc32-3.2.zip from the QTM 1.1. > Beta2 to C:\nokiaQtSdk\Symbian\SDK\ to be able to get the QTM 1.1 Camera > API headers and stuff. > > It was first later that I have found out that some of QTM 1.1 actually > relies on Qt 4.7, at least the installer in the beta 2 does. > > The device I am testing on is a Nokia E52 with the newest firmware, which > is Symbian S60 3rd Edition FP2. > > I have a virtual image with a Windows 7 as well, with Qt 4.7 RC1 and the > QTM 1.1 Beta 2, and this seems to behave the same way. > > I have tried installing Panic Observer on the device, and it gives a > KERNEL-EXEC with reason 3 panic when it crashes. As far as I know this is > typical a null-pointer error. > > And to recap, it works on my device with Qt 4.6.3/QTM 1.0.2, but not with > Qt 4.7/QTM 1.1b2. > > Are there any more information that could be interesting to you? > > Best regards > /Anders > > -----Original Message----- > From: Don Sanders [mailto:don.sand...@nokia.com] > Sent: 28. oktober 2010 18:50 > To: Anders Kjærgaard Hansen > Cc: qt-mobility-feedback@trolltech.com > Subject: Re: [Qt-mobility-feedback] Problems with QMessageManager in QTM > 1.1 Beta 2 > > Hi, > > Which platfrom are you experiencing the crash on? Can you please provide > more information about the environment you are using? (The more the > better). > > Kind regards, > Don Sanders > > On 2010-10-28T22:17:22, ext Anders Kjærgaard Hansen wrote: > > Hi all > > > > Below is a code snippet, which is working in QT 4.6.3 with QTM 1.0.2. > > > > bool CreateAccount::DoesAccountExist(){ > > > > QMessageAccountFilter accFilter = > > QMessageAccountFilter::byName(accountName, > > QMessageDataComparator::Equal); QMessageManager* manager = new > > QMessageManager(0); > > if(manager->countAccounts(accFilter) > 0){ > > > > return true; > > > > }else{ > > > > return false; > > > > } > > > > } > > > > If I update QT to QT 4.7 and QTM to 1.1 Beta2 on my device, the code > > above fails/panics in the line where the MessageManager object is > > created. > > > > Are there any known bugs in the beta about this? > > > > The obvious would be that the QObject* = 0 given as input to the > > QMessageManager constructor causes this. But according to documentation > > default value is 0, so it should be possible to do. > > > > I need to start using QTM 1.1 Beta soon because the last part of my > > application I need to do is Camera functionality, using the Camera API > > in QTM. > > > > Best regards > > /Anders > > > > _______________________________________________ > > Qt-mobility-feedback mailing list > > Qt-mobility-feedback@trolltech.com > > http://lists.trolltech.com/mailman/listinfo/qt-mobility-feedback > > _______________________________________________ > Qt-mobility-feedback mailing list > Qt-mobility-feedback@trolltech.com > http://lists.trolltech.com/mailman/listinfo/qt-mobility-feedback > > _______________________________________________ > Qt-mobility-feedback mailing list > Qt-mobility-feedback@trolltech.com > http://lists.trolltech.com/mailman/listinfo/qt-mobility-feedback -- Grego http://mpaja.com/ _______________________________________________ Qt-mobility-feedback mailing list Qt-mobility-feedback@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-mobility-feedback