Hi,

Do you have a minimal test case that I could attach to the bug report (ie a 
small complete application which reliably / semi-reliably crashes)?  A test 
case based on the previous code that crashed all the time would be even more 
useful - if calling stopUpdates() more than startUpdates() is causing crashes 
that's a very serious bug that we'd like to solve as soon as possible.

Both would be best, but I'd be grateful for whatever you can put together that 
doesn't take up too much of your time.

That would make both confirming and fixing the bug much easier.

Thanks,

Dave

From: ext Hannu Säles [mailto:[email protected]]
Sent: Wednesday, 1 September 2010 10:45 PM
To: Laing David (Nokia-MS/Brisbane); [email protected]; 
[email protected]
Subject: RE: [Qt-mobility-feedback] location and maemo

Hei

I call stopUpdates  and startUpdates just once now.
Program crashes after last return? and does not crash everytime.

I am using mobility 1.0.2

Hannu

At 01:49 1.9.2010, [email protected] wrote:

Hi,

>From a look over the Maemo 5 Location code there's a chance there's a bug if 
>you call stopUpdates more times than you call startUpdates.  If you're calling 
>stopUpdates without startUpdates or are calling stopUpdates more often than 
>startUpdates in general, please let me know - it'll help us focus our search 
>for the problem.  If that's the case and if changing the code to make 
>"balanced" calls to startUpdates and stopUpdates stops the crash then the bug 
>will be confirmed.

If that's not the case, which version of Qt Mobility is the program using?  If 
you're not using the Qt Mobility from the git repository could you try that ( 
http://qt.gitorious.org/qt-mobility/qt-mobility, master 
branch<http://qt.gitorious.org/qt-mobility/qt-mobility,%20master%20branch>).  
If it still crashes after that let me know.

I'll file a bug based on the information you provide and make sure we get 
someone working on it as quickly as we can.

Thanks,

Dave

From: [email protected] [ 
mailto:[email protected]] On Behalf Of ext Hannu Säles
Sent: Tuesday, 31 August 2010 7:28 PM
To: [email protected]
Subject: [Qt-mobility-feedback] location and maemo

Hei

In Maemo the location library crashes after shutting down:

0       ??        
c:/nokiaqtsdk/maemo/4.6.2/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/lib/libgobject-2.0.so.0
   0        0x412e3cb4
1       ??        
c:/nokiaqtsdk/maemo/4.6.2/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/lib/libQtLocation.so.1
    0        0x4001382c

As far as I understand, I have deleted and stopped all activity before deleting 
the object:





m_position_source->stopUpdates();


        delete

m_position_source;
 What else should I do?

Br

Hannu

Hannu Säles Oy
Ruomelantie 12 C, FI-02210 Espoo, Finland
http://www.hannusales.fi
<http://www.hannusales.fi/>tel: +358-400-725374

Hannu Säles Oy
Ruomelantie 12 C, FI-02210 Espoo, Finland
http://www.hannusales.fi
<http://www.hannusales.fi/>tel: +358-400-725374
_______________________________________________
Qt-mobility-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-mobility-feedback

Reply via email to