Re: [SailfishDevel] Segmentation fault: No such file or directory.

2014-02-04 Thread Aaron McCarthy
Hi,

On Tue, 4 Feb 2014 19:51:21 Sylvain B. wrote:
> Just to let you know that the segfault related to the Map QGeoTileCache
> while destroying the Map is no longer occurring in 1.0.3.8. I don't know
> what has changed but that's cool :). Is the bug opened to qt-project.org
> still relevant or was it only occurring in Sailfish?

It is most likely still relevant. I haven't yet had the opportunity to 
investigate what the root cause was. It is possible that it is now less likely 
to be triggered with 1.0.3.8, but I expect the issue to still be present.

Cheers,

-- 
Aaron McCarthy
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Segmentation fault: No such file or directory.

2014-02-04 Thread Sylvain B .



Hello!
Just to let you know that the segfault related to the Map QGeoTileCache while 
destroying the Map is no longer occurring in 1.0.3.8.
I don't know what has changed but that's cool :). Is the bug opened to 
qt-project.org still relevant or was it only occurring in Sailfish?

The other segfault (due to images in sections headers of a ListView) is still 
occurring so I've removed the images for now.

Thank you!!

From: sth...@hotmail.com
To: devel@lists.sailfishos.org
Date: Tue, 28 Jan 2014 13:04:23 +
Subject: Re: [SailfishDevel] Segmentation fault: No such file or directory.





> From: aaron.mccar...@jolla.com
> To: devel@lists.sailfishos.org
> Date: Tue, 28 Jan 2014 11:19:12 +1000
> Subject: Re: [SailfishDevel] Segmentation fault: No such file or directory.
> 
> Hi,
> 
> I replied to a duplicate email off list.
> 

Yes sorry my bad, I originally replied only to you by mistake and then 
forwarded my answer to the mailing list.Thanks for all the clarifications, I am 
copying your original email on the list in case other people want to follow the 
issue.
> From: aaron.mccar...@jolla.com> To: sth...@hotmail.com
> Subject: Re: [SailfishDevel] Segmentation fault: No such file or directory.
> Date: Tue, 28 Jan 2014 10:57:07 +1000
> 
> On Fri, 24 Jan 2014 10:36:23 you wrote:
> > I did more tests today in the subway with a limited connectivity and it was
> > actually hard to reproduce (1 out of 15-20 attempts), so as the stacktrace
> > suggest, it has something to do with the caching operation.Now that I have
> > a better 3G connectivity, I can reproduce it more often but not as often
> > than yesterday in Wifi. It never occurs at the first attempt, I'd say I
> > have to try between 2 and 10 times, it depends, while in Wifi it was almost
> > always crashing at the first attempt. When not panning the Map, it occurs
> > less frequently, but I am not sure how frequently. I will make more tests
> > this WE. But If I simply push/pop/push/pop/... the Map without panning it,
> > it never crashes.
> 
> Ok, thank you for this information.
> 
> > While we're talking about Maps, I have some questions:You
> > have entered this bug in your tracking system because I am using the Nokia
> > plugin?
> 
> No it is a general issue which would affect all plugins that use the tile 
> cache implementation provided by Qt Location. In fact I should have filed it 
> upstream in the Qt bug tracker. I have done so now, see 
> https://bugreports.qt-project.org/browse/QTBUG-36486
> 
> > Or do you work on the general Map API?
> 
> I work mostly in positioning (GPS etc), location (including Maps application) 
> and connectivity, including the Qt libraries.
> 
> >The underlying question are: where to report Map bugs?
> 
> It varies. General questions go to devel@lists.sailfishos.org. Bug reports 
> for 
> Jolla go either to devel@lists.sailfishos.org or together.jolla.com, I 
> monitor 
> both places. If you are sure it is a bug that affects upstream Qt, then you 
> can file bug reports at bugreports.qt-project.org.
> 
> > And why the only available docs are on developer.ubuntu.com?
> 
> Because Qt Location has not been officially released yet. You will find 
> documentation for Qt Positioning at http://qt-project.org/doc with the reset 
> of the Qt 5.2 documentation. Once Qt Location is official released its 
> documentation will appear there as well.
> 
> Neither Qt Positioning nor Qt Location is an officially supported API for 
> SailfishOS yet. Qt Positioning will be once SailfishOS is updated to Qt 5.2. 
> Qt Location once it is released upstream. This is why neither of these APIs 
> are documented with the rest of the SailfishOS documentation in the SDK.
> 
> Cheers,
> 
> -- 
> Aaron McCarthy  

___
SailfishOS.org Devel mailing list
  ___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Segmentation fault: No such file or directory.

2014-01-28 Thread Sylvain B .

> From: aaron.mccar...@jolla.com
> To: devel@lists.sailfishos.org
> Date: Tue, 28 Jan 2014 11:19:12 +1000
> Subject: Re: [SailfishDevel] Segmentation fault: No such file or directory.
> 
> Hi,
> 
> I replied to a duplicate email off list.
> 

Yes sorry my bad, I originally replied only to you by mistake and then 
forwarded my answer to the mailing list.Thanks for all the clarifications, I am 
copying your original email on the list in case other people want to follow the 
issue.
> From: aaron.mccar...@jolla.com> To: sth...@hotmail.com
> Subject: Re: [SailfishDevel] Segmentation fault: No such file or directory.
> Date: Tue, 28 Jan 2014 10:57:07 +1000
> 
> On Fri, 24 Jan 2014 10:36:23 you wrote:
> > I did more tests today in the subway with a limited connectivity and it was
> > actually hard to reproduce (1 out of 15-20 attempts), so as the stacktrace
> > suggest, it has something to do with the caching operation.Now that I have
> > a better 3G connectivity, I can reproduce it more often but not as often
> > than yesterday in Wifi. It never occurs at the first attempt, I'd say I
> > have to try between 2 and 10 times, it depends, while in Wifi it was almost
> > always crashing at the first attempt. When not panning the Map, it occurs
> > less frequently, but I am not sure how frequently. I will make more tests
> > this WE. But If I simply push/pop/push/pop/... the Map without panning it,
> > it never crashes.
> 
> Ok, thank you for this information.
> 
> > While we're talking about Maps, I have some questions:You
> > have entered this bug in your tracking system because I am using the Nokia
> > plugin?
> 
> No it is a general issue which would affect all plugins that use the tile 
> cache implementation provided by Qt Location. In fact I should have filed it 
> upstream in the Qt bug tracker. I have done so now, see 
> https://bugreports.qt-project.org/browse/QTBUG-36486
> 
> > Or do you work on the general Map API?
> 
> I work mostly in positioning (GPS etc), location (including Maps application) 
> and connectivity, including the Qt libraries.
> 
> >The underlying question are: where to report Map bugs?
> 
> It varies. General questions go to devel@lists.sailfishos.org. Bug reports 
> for 
> Jolla go either to devel@lists.sailfishos.org or together.jolla.com, I 
> monitor 
> both places. If you are sure it is a bug that affects upstream Qt, then you 
> can file bug reports at bugreports.qt-project.org.
> 
> > And why the only available docs are on developer.ubuntu.com?
> 
> Because Qt Location has not been officially released yet. You will find 
> documentation for Qt Positioning at http://qt-project.org/doc with the reset 
> of the Qt 5.2 documentation. Once Qt Location is official released its 
> documentation will appear there as well.
> 
> Neither Qt Positioning nor Qt Location is an officially supported API for 
> SailfishOS yet. Qt Positioning will be once SailfishOS is updated to Qt 5.2. 
> Qt Location once it is released upstream. This is why neither of these APIs 
> are documented with the rest of the SailfishOS documentation in the SDK.
> 
> Cheers,
> 
> -- 
> Aaron McCarthy  ___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Segmentation fault: No such file or directory.

2014-01-27 Thread Aaron McCarthy
Hi,

I replied to a duplicate email off list.

On Fri, 24 Jan 2014 12:22:25 Sylvain B. wrote:
> I did more tests today in the subway with a limited connectivity and it was
> actually hard to reproduce (1 out of 15-20 attempts), so as the stacktrace
> suggest, it has something to do with the caching operation.Now that I have
> a better 3G connectivity, I can reproduce it more often but not as often
> than yesterday in Wifi. It never occurs at the first attempt, I'd say I
> have to try between 2 and 10 times, it depends, while in Wifi it was almost
> always crashing at the first attempt. When not panning the Map, it occurs
> less frequently, but I am not sure how frequently. I will make more tests
> this WE. But If I simply push/pop/push/pop/... the Map without panning it,
> it never crashes.

Thanks for the information.

> And why the only available docs are on developer.ubuntu.com?

Qt Positioning and Qt Location are not currently supported APIs in SailfishOS. 
Once they are their documentation will be available with the rest of the 
SailfishOS developer documentation.

Qt Positioning documentation is available as part of the Qt 5.2 docs at qt-
project.org/doc. Qt Location has not been officially released yet. Once it is 
it will be documented there as well.

Cheers,

-- 
Aaron McCarthy
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Segmentation fault: No such file or directory.

2014-01-24 Thread Sylvain B .
Thank you Aaron,
I did more tests today in the subway with a limited connectivity and it was 
actually hard to reproduce (1 out of 15-20 attempts), so as the stacktrace 
suggest, it has something to do with the caching operation.Now that I have a 
better 3G connectivity, I can reproduce it more often but not as often than 
yesterday in Wifi. It never occurs at the first attempt, I'd say I have to try 
between 2 and 10 times, it depends, while in Wifi it was almost always crashing 
at the first attempt.
When not panning the Map, it occurs less frequently, but I am not sure how 
frequently. I will make more tests this WE. But If I simply 
push/pop/push/pop/... the Map without panning it, it never crashes.
While we're talking about Maps, I have some questions:You have entered this bug 
in your tracking system because I am using the Nokia plugin? Or do you work on 
the general Map API? The underlying question are: where to report Map bugs? And 
why the only available docs are on developer.ubuntu.com?
Regards,Sylvain.

> From: aaron.mccar...@jolla.com
> To: devel@lists.sailfishos.org
> Date: Fri, 24 Jan 2014 11:21:02 +1000
> Subject: Re: [SailfishDevel] Segmentation fault: No such file or directory.
> 
> Hi,
> 
> On Thu, 23 Jan 2014 21:17:41 Sylvain B. wrote:
> > I am facing some segfaults so I've decided to install GDB and the debug
> > packages of some Qt5 libs on my phone (Hope that won't cause issues with
> > future Sailfish updates?). But this does not help me, since they apparently
> > aren't coming from my code.
> > 
> > For the first, I have a back button on a Map. If I start a flick and I press
> > the back button while the Map is still flicking, it crashes. But it also
> > crashes sometimes when the flick has finished so I can't simply test that
> > flick is finished before doing the pagestack.pop():
> > 
> > Program received signal SIGSEGV, Segmentation fault.
> > QString::lastIndexOf (this=0x4, ch=..., from=-1, cs=Qt::CaseSensitive) at
> > tools/qstring.cpp:2727 2727tools/qstring.cpp: No such file or
> > directory.
> > (gdb) backtrace
> > #0  QString::lastIndexOf (this=0x4, ch=..., from=-1, cs=Qt::CaseSensitive)
> > at tools/qstring.cpp:2727 #1  0x40089bf0 in QGeoTileCache::~QGeoTileCache
> > (this=0x400a750c, __in_chrg=) at maps/qgeotilecache.cpp:202
> > #2  0x4008a06c in QGeoTileCache::~QGeoTileCache (this=0x2ad71fd0,
> > __in_chrg=) at maps/qgeotilecache.cpp:208 #3  0x4007ad98 in
> > QGeoTiledMappingManagerEnginePrivate::~QGeoTiledMappingManagerEnginePrivate
> > (this=0x2a2b6b10, __in_chrg=) at
> > maps/qgeotiledmappingmanagerengine.cpp:328
> > #4  0x4007aefc in
> > QGeoTiledMappingManagerEngine::~QGeoTiledMappingManagerEngine
> > (this=0x2a4d5a68, __in_chrg=) at
> > maps/qgeotiledmappingmanagerengine.cpp:68 #5  0x47ca43b0 in
> > QGeoTiledMappingManagerEngineNokia::~QGeoTiledMappingManagerEngineNokia
> > (this=0x2a4d5a68, __in_chrg=) at
> > qgeotiledmappingmanagerengine_nokia.cpp:139
> > #6  0x47ca43fc in
> > QGeoTiledMappingManagerEngineNokia::~QGeoTiledMappingManagerEngineNokia
> > (this=0x2a4d5a68, __in_chrg=) at
> > qgeotiledmappingmanagerengine_nokia.cpp:139
> > #7  0x4007a210 in ~QGeoMappingManagerPrivate (this=0x2a84d6c0,
> > __in_chrg=) at maps/qgeomappingmanager.cpp:190
> > #8  QGeoMappingManager::~QGeoMappingManager (this=0x2a51a010,
> > __in_chrg=) at maps/qgeomappingmanager.cpp:96 #9  0x4007a244
> > in QGeoMappingManager::~QGeoMappingManager (this=0x2a51a010,
> > __in_chrg=) at maps/qgeomappingmanager.cpp:97
> 
> Thank you for reporting this. I have created a bug for it in our bug tracking 
> system. Does the crash happen every time when popping the pagestack while the 
> Map is still panning? How frequently does it happen when not panning the Map?
> 
> Cheers,
> 
> -- 
> Aaron McCarthy
> ___
> SailfishOS.org Devel mailing list
  ___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Segmentation fault: No such file or directory.

2014-01-23 Thread Aaron McCarthy
Hi,

On Thu, 23 Jan 2014 21:17:41 Sylvain B. wrote:
> I am facing some segfaults so I've decided to install GDB and the debug
> packages of some Qt5 libs on my phone (Hope that won't cause issues with
> future Sailfish updates?). But this does not help me, since they apparently
> aren't coming from my code.
> 
> For the first, I have a back button on a Map. If I start a flick and I press
> the back button while the Map is still flicking, it crashes. But it also
> crashes sometimes when the flick has finished so I can't simply test that
> flick is finished before doing the pagestack.pop():
> 
> Program received signal SIGSEGV, Segmentation fault.
> QString::lastIndexOf (this=0x4, ch=..., from=-1, cs=Qt::CaseSensitive) at
> tools/qstring.cpp:2727 2727tools/qstring.cpp: No such file or
> directory.
> (gdb) backtrace
> #0  QString::lastIndexOf (this=0x4, ch=..., from=-1, cs=Qt::CaseSensitive)
> at tools/qstring.cpp:2727 #1  0x40089bf0 in QGeoTileCache::~QGeoTileCache
> (this=0x400a750c, __in_chrg=) at maps/qgeotilecache.cpp:202
> #2  0x4008a06c in QGeoTileCache::~QGeoTileCache (this=0x2ad71fd0,
> __in_chrg=) at maps/qgeotilecache.cpp:208 #3  0x4007ad98 in
> QGeoTiledMappingManagerEnginePrivate::~QGeoTiledMappingManagerEnginePrivate
> (this=0x2a2b6b10, __in_chrg=) at
> maps/qgeotiledmappingmanagerengine.cpp:328
> #4  0x4007aefc in
> QGeoTiledMappingManagerEngine::~QGeoTiledMappingManagerEngine
> (this=0x2a4d5a68, __in_chrg=) at
> maps/qgeotiledmappingmanagerengine.cpp:68 #5  0x47ca43b0 in
> QGeoTiledMappingManagerEngineNokia::~QGeoTiledMappingManagerEngineNokia
> (this=0x2a4d5a68, __in_chrg=) at
> qgeotiledmappingmanagerengine_nokia.cpp:139
> #6  0x47ca43fc in
> QGeoTiledMappingManagerEngineNokia::~QGeoTiledMappingManagerEngineNokia
> (this=0x2a4d5a68, __in_chrg=) at
> qgeotiledmappingmanagerengine_nokia.cpp:139
> #7  0x4007a210 in ~QGeoMappingManagerPrivate (this=0x2a84d6c0,
> __in_chrg=) at maps/qgeomappingmanager.cpp:190
> #8  QGeoMappingManager::~QGeoMappingManager (this=0x2a51a010,
> __in_chrg=) at maps/qgeomappingmanager.cpp:96 #9  0x4007a244
> in QGeoMappingManager::~QGeoMappingManager (this=0x2a51a010,
> __in_chrg=) at maps/qgeomappingmanager.cpp:97

Thank you for reporting this. I have created a bug for it in our bug tracking 
system. Does the crash happen every time when popping the pagestack while the 
Map is still panning? How frequently does it happen when not panning the Map?

Cheers,

-- 
Aaron McCarthy
___
SailfishOS.org Devel mailing list


[SailfishDevel] Segmentation fault: No such file or directory.

2014-01-23 Thread Sylvain B .
Hello,

I am facing some segfaults so I've decided to install GDB and the debug 
packages of some Qt5 libs on my phone (Hope that won't cause issues with future 
Sailfish updates?).
But this does not help me, since they apparently aren't coming from my code.

For the first, I have a back button on a Map. If I start a flick and I press 
the back button while the Map is still flicking, it crashes. But it also 
crashes sometimes when the flick has finished so I can't simply test that flick 
is finished before doing the pagestack.pop():

Program received signal SIGSEGV, Segmentation fault.
QString::lastIndexOf (this=0x4, ch=..., from=-1, cs=Qt::CaseSensitive) at 
tools/qstring.cpp:2727
2727tools/qstring.cpp: No such file or directory.
(gdb) backtrace
#0  QString::lastIndexOf (this=0x4, ch=..., from=-1, cs=Qt::CaseSensitive) at 
tools/qstring.cpp:2727
#1  0x40089bf0 in QGeoTileCache::~QGeoTileCache (this=0x400a750c, 
__in_chrg=) at maps/qgeotilecache.cpp:202
#2  0x4008a06c in QGeoTileCache::~QGeoTileCache (this=0x2ad71fd0, 
__in_chrg=) at maps/qgeotilecache.cpp:208
#3  0x4007ad98 in 
QGeoTiledMappingManagerEnginePrivate::~QGeoTiledMappingManagerEnginePrivate 
(this=0x2a2b6b10, __in_chrg=)
at maps/qgeotiledmappingmanagerengine.cpp:328
#4  0x4007aefc in QGeoTiledMappingManagerEngine::~QGeoTiledMappingManagerEngine 
(this=0x2a4d5a68, __in_chrg=) at 
maps/qgeotiledmappingmanagerengine.cpp:68
#5  0x47ca43b0 in 
QGeoTiledMappingManagerEngineNokia::~QGeoTiledMappingManagerEngineNokia 
(this=0x2a4d5a68, __in_chrg=)
at qgeotiledmappingmanagerengine_nokia.cpp:139
#6  0x47ca43fc in 
QGeoTiledMappingManagerEngineNokia::~QGeoTiledMappingManagerEngineNokia 
(this=0x2a4d5a68, __in_chrg=)
at qgeotiledmappingmanagerengine_nokia.cpp:139
#7  0x4007a210 in ~QGeoMappingManagerPrivate (this=0x2a84d6c0, 
__in_chrg=) at maps/qgeomappingmanager.cpp:190
#8  QGeoMappingManager::~QGeoMappingManager (this=0x2a51a010, 
__in_chrg=) at maps/qgeomappingmanager.cpp:96
#9  0x4007a244 in QGeoMappingManager::~QGeoMappingManager (this=0x2a51a010, 
__in_chrg=) at maps/qgeomappingmanager.cpp:97


For the second, I have a SilicaListView with images in the sections. If I click 
on an Item and come back quickly on this page, once in a while I get:

Program received signal SIGSEGV, Segmentation fault.
QQuickWindowPrivate::polishItems (this=0x2a0352c0) at items/qquickwindow.cpp:258
258 items/qquickwindow.cpp: No such file or directory.
(gdb) backtrace
#0  QQuickWindowPrivate::polishItems (this=0x2a0352c0) at 
items/qquickwindow.cpp:258
#1  0x4019856c in polishAndSync (this=0x2a032f50) at 
scenegraph/qsgthreadedrenderloop.cpp:1002
#2  QSGThreadedRenderLoop::polishAndSync (this=0x2a032f50) at 
scenegraph/qsgthreadedrenderloop.cpp:978
#3  0x40199038 in QSGThreadedRenderLoop::event (this=, 
e=) at scenegraph/qsgthreadedrenderloop.cpp:1070
#4  0x40b71f8c in QCoreApplicationPrivate::notify_helper (this=0x2a016d88, 
receiver=0x2a032f50, event=0xbefff544) at kernel/qcoreapplication.cpp:992
#5  0x40b71fe4 in QCoreApplication::notify (this=, 
receiver=, event=) at 
kernel/qcoreapplication.cpp:937
#6  0x40b71c78 in QCoreApplication::notifyInternal (this=0x2a015af8, 
receiver=, event=0xbefff544) at kernel/qcoreapplication.cpp:875
#7  0x40bbc520 in sendEvent (event=0xbefff53c, receiver=) at 
../../src/corelib/kernel/qcoreapplication.h:232


Thank you for any advice you can give me. (I can provide the complete backtrace)

-- 
Sylvain.
  ___
SailfishOS.org Devel mailing list