<div dir="ltr">Dirk,<div><br></div><div>Startup problem is resolved on Android 6.0.1 but now I have a crash on exit</div><div><br></div><div><div>04-14 07:37:49.541  8944  8989 W Subsurface: (null):0 ((null)): QFont::setPointSizeF: Point size <= 0 (-1.000000), must be greater than 0</div><div>04-14 07:37:50.888  8944  8989 D Subsurface: (null):0 ((null)): Starting "Subsurface-mobile:1.2.1(4.6.3.231):Android 6.0.1:arm:en-US"</div><div>04-14 07:37:50.888  8944  8989 D Subsurface: (null):0 ((null)): "build with Qt Version 5.8.0, runtime from Qt Version 5.8.0"</div><div>04-14 07:37:50.895  8944  8989 D Subsurface: (null):0 ((null)): "Created position source android"</div><div>04-14 07:37:50.895  8944  8989 D Subsurface: (null):0 ((null)): location service is available</div><div>04-14 07:37:52.539  8944  8989 W Subsurface: (null):0 ((null)): Both point size and pixel size set. Using pixel size.</div><div>04-14 07:37:52.665  8944  8989 W Subsurface: qrc:/Icon.qml:35 ((null)): qrc:/Icon.qml:35:5: QML Image: Cannot open: qrc:/icons/go-up.svg</div><div>04-14 07:37:52.753  8944  8989 D Subsurface: (null):0 ((null)): "0.0 / 0.000 : git -3 (start git interaction)"</div><div>04-14 07:37:52.783  8944  8989 D Subsurface: (null):0 ((null)): "0.1 / 0.064 : git -4 (do_git_load, find the commit)"</div><div>04-14 07:37:52.790  8944  8989 D Subsurface: (null):0 ((null)): "0.1 / 0.005 : git -5 (git commit tree)"</div><div>04-14 07:37:52.797  8944  8989 D Subsurface: (null):0 ((null)): "0.1 / 0.007 : git -6 (load dives from tree)"</div><div>04-14 07:37:52.968  8944  8989 D Subsurface: (null):0 ((null)): "0.2 / 0.171 : git -7 (done do_git_load)"</div><div>04-14 07:37:55.351  8944  8989 D Subsurface: (null):0 ((null)): Completed connection with cloud storage backend, response "[OK]"</div><div>04-14 07:37:56.554  8944  8989 W Subsurface: :-1 ((null)): <Unknown File>: QML QQuickLayoutAttached: Binding loop detected for property "rightMargin"</div><div>04-14 07:37:56.557  8944  8989 W Subsurface: (null):0 ((null)): Both point size and pixel size set. Using pixel size.</div><div>04-14 07:37:56.712  8944  8989 D Subsurface: qrc:///qml/main.qml:48 (onCompleted): qml: Reduce font size for narrow screens: 10.666666666666666</div><div>04-14 07:37:56.712  8944  8989 W Subsurface: qrc:/templates/ApplicationHeader.qml:123 ((null)): qrc:/templates/ApplicationHeader.qml:123: TypeError: Cannot read property of null</div><div>04-14 07:37:57.409  8944  8989 D Subsurface: (null):0 ((null)): qqwindow devicePixelRatio 2 2</div><div>04-14 07:37:57.409  8944  8989 D Subsurface: (null):0 ((null)): qqwindow screen has ldpi/pdpi 72 147.452</div><div>04-14 07:37:57.629  8944  8989 D Subsurface: (null):0 ((null)): "0.0 / 0.000 : git 1 (load dives with valid credentials)"</div><div>04-14 07:37:57.642  8944  8989 D Subsurface: (null):0 ((null)): "0.0 / 0.011 : git 2 (start git interaction)"</div><div>04-14 07:37:57.651  8944  8989 D Subsurface: (null):0 ((null)): "0.0 / 0.013 : git 3 (sync with remote)"</div><div>04-14 07:37:58.709  8944  8989 D Subsurface: (null):0 ((null)): "1.1 / 1.059 : git 4 (waited 1 sec for cloud connetion)"</div><div>04-14 07:37:59.068  8944  8989 D Subsurface: (null):0 ((null)): "1.4 / 0.359 : git 5 (successfully checked cloud connection)"</div><div>04-14 07:37:59.076  8944  8989 D Subsurface: (null):0 ((null)): "1.4 / 0.008 : git 6 (git fetch remote)"</div><div>04-14 07:38:00.812  8944  8989 D Subsurface: (null):0 ((null)): "3.2 / 1.733 : git 7 (git check remote status)"</div><div>04-14 07:38:00.835  8944  8989 D Subsurface: (null):0 ((null)): "3.2 / 0.015 : git 8 (try to update)"</div><div>04-14 07:38:00.848  8944  8989 D Subsurface: (null):0 ((null)): "3.2 / 0.019 : git 9 (done with sync with remote)"</div><div>04-14 07:38:00.849  8944  8989 D Subsurface: (null):0 ((null)): local cache was current, no need to modify dive list</div><div>04-14 07:38:04.065  8944  8989 F libc    : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x34 in tid 8989 (QtThread)</div><div>04-14 07:38:04.171  4715  4715 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***</div><div>04-14 07:38:04.171  4715  4715 F DEBUG   : Build fingerprint: 'motorola/harpia/harpia:6.0.1/MPIS24.241-15.3-16/17:user/release-keys'</div><div>04-14 07:38:04.171  4715  4715 F DEBUG   : Revision: 'p1b0'</div><div>04-14 07:38:04.171  4715  4715 F DEBUG   : ABI: 'arm'</div><div>04-14 07:38:04.171  4715  4715 F DEBUG   : pid: 8944, tid: 8989, name: QtThread  >>> org.subsurfacedivelog.mobile <<<</div><div>04-14 07:38:04.172  4715  4715 F DEBUG   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x34</div><div>04-14 07:38:04.203  4715  4715 F DEBUG   :     r0 b973f1c0  r1 0000000c  r2 00000010  r3 00000000</div><div>04-14 07:38:04.203  4715  4715 F DEBUG   :     r4 b97427d8  r5 b9742778  r6 b9748370  r7 b6cdde40</div><div>04-14 07:38:04.203  4715  4715 F DEBUG   :     r8 a1b92b70  r9 b9742820  sl b9748394  fp b9744710</div><div>04-14 07:38:04.203  4715  4715 F DEBUG   :     ip 00000000  sp a1b92b70  lr a395c193  pc a395c19c  cpsr 80070030</div><div>04-14 07:38:04.204  4715  4715 F DEBUG   :</div><div>04-14 07:38:04.204  4715  4715 F DEBUG   : backtrace:</div><div>04-14 07:38:04.204  4715  4715 F DEBUG   :     #00 pc 0010119c  /data/app/org.subsurfacedivelog.mobile-1/lib/arm/libQt5Quick.so (_ZN10QQuickItemD2Ev+143)</div><div>04-14 07:38:04.205  4715  4715 F DEBUG   :     #01 pc 0010118f  /data/app/org.subsurfacedivelog.mobile-1/lib/arm/libQt5Quick.so (_ZN10QQuickItemD2Ev+130)</div><div>04-14 07:38:04.821  4715  4715 F DEBUG   :</div><div>04-14 07:38:04.821  4715  4715 F DEBUG   : Tombstone written to: /data/tombstones/tombstone_03</div><div>04-14 07:38:04.821  4715  4715 E DEBUG   : AM write failed: Broken pipe</div><div>04-14 07:38:04.885  4725  4725 I Zygote  : Process 8944 exited due to signal (11)</div></div><div><br><br><div class="gmail_quote"><div dir="ltr">On Fri, Apr 14, 2017 at 2:54 AM Steve <<a href="mailto:stevewilliams@internode.on.net">stevewilliams@internode.on.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Thanks to Marco we appear to have a potential fix. At least I can no longer reproduce the crashes.<br>
<br>
New versions of Subsurface-mobile (4.6.3.228) should now be available to our testers both on iOS and Android<br>
<br>
/D<br>
<br>
<br>
Fixes all the crashes for me on Android 4.3 also.<br>
<br>
Steve<br>
<br>
<br>
<br>
<br>
> On Apr 13, 2017, at 7:43 AM, Dirk Hohndel <<a href="mailto:dirk@hohndel.org" target="_blank">dirk@hohndel.org</a>> wrote:<br>
><br>
> It seems that these crashes started with the move to Kirigami 2 and<br>
> Quick.Controls.2 - but since they are somewhat hard to reproduce, I'm<br>
> not 100% sure.<br>
><br>
> I have been able to create one scenario where I can trigger the crash<br>
> reliably under a debugger, and the stack trace doesn't really tell me<br>
> much.<br>
><br>
> We appear to be loading all of our code and based on the debug output<br>
> we are just about to show the UI when things crash.<br>
><br>
> frame #0: 0x009354be<br>
> Subsurface-mobile`QQuickItem::~QQuickItem(this=0x19f07e40) + 198 at<br>
> qquickitem.cpp:2314 frame #1: 0x0097482e<br>
> Subsurface-mobile`QQmlPrivate::QQmlElement<QQuickItem>::~QQmlElement(t<br>
> his=0x19f07e40) + 46 at qqmlprivate.h:104 frame #2: 0x003b5ee4<br>
> Subsurface-mobile`QQmlPrivate::QQmlElement<QQuickItem>::~QQmlElement(t<br>
> his=0x19f07e40) + 16 at qqmlprivate.h:102 frame #3: 0x009747c8<br>
> Subsurface-mobile`QQmlPrivate::QQmlElement<QQuickItem>::~QQmlElement(t<br>
> his=0x19f07e40) + 16 at qqmlprivate.h:102 frame #4: 0x012386b4<br>
> Subsurface-mobile`QObjectPrivate::deleteChildren(this=0x19f0c950) +<br>
> 164 at qobject.cpp:1970 frame #5: 0x01238494<br>
> Subsurface-mobile`QObject::~QObject(this=0x19f0c8f0) + 1372 at<br>
> qobject.cpp:1041 frame #6: 0x009356a4<br>
> Subsurface-mobile`QQuickItem::~QQuickItem(this=0x19f0c8f0) + 684 at<br>
> qquickitem.cpp:2356 frame #7: 0x003fccdc<br>
> Subsurface-mobile`QQuickControl::~QQuickControl(this=0x19f0c8f0) + 20<br>
> at qquickcontrol_p.h:59 frame #8: 0x003b9bd0<br>
> Subsurface-mobile`QQuickAbstractButton::~QQuickAbstractButton(this=0x1<br>
> 9f0c8f0) + 72 at qquickabstractbutton.cpp:231 frame #9: 0x003a3304<br>
> Subsurface-mobile`QQuickItemDelegate::~QQuickItemDelegate(this=0x19f0c<br>
> 8f0) + 20 at qquickitemdelegate_p.h:57 frame #10: 0x003a6906<br>
> Subsurface-mobile`QQmlPrivate::QQmlElement<QQuickItemDelegate>::~QQmlE<br>
> lement(this=0x19f0c8f0) + 46 at qqmlprivate.h:104 frame #11:<br>
> 0x003a686c<br>
> Subsurface-mobile`QQmlPrivate::QQmlElement<QQuickItemDelegate>::~QQmlE<br>
> lement(this=0x19f0c8f0) + 16 at qqmlprivate.h:102 frame #12:<br>
> 0x003a6888<br>
> Subsurface-mobile`QQmlPrivate::QQmlElement<QQuickItemDelegate>::~QQmlE<br>
> lement(this=0x19f0c8f0) + 16 at qqmlprivate.h:102 frame #13:<br>
> 0x012390d6 Subsurface-mobile`qDeleteInEventHandler(o=0x19f0c8f0) + 26<br>
> at qobject.cpp:4552 frame #14: 0x01238d82<br>
> Subsurface-mobile`QObject::event(this=0x19f0c8f0, e=0x19f03c90) + 226<br>
> at qobject.cpp:1254 frame #15: 0x0093f2d2<br>
> Subsurface-mobile`QQuickItem::event(this=0x19f0c8f0, ev=0x19f03c90) +<br>
> 706 at qquickitem.cpp:7698 frame #16: 0x0054010c<br>
> Subsurface-mobile`QApplicationPrivate::notify_helper(this=0x17e92110,<br>
> receiver=0x19f0c8f0, e=0x19f03c90) + 280 at qapplication.cpp:3745<br>
> frame #17: 0x005414bc<br>
> Subsurface-mobile`QApplication::notify(this=0x17d2a210,<br>
> receiver=0x19f0c8f0, e=0x19f03c90) + 1196 at qapplication.cpp:3105<br>
> frame #18: 0x01209ca2<br>
> Subsurface-mobile`QCoreApplication::notifyInternal2(receiver=0x19f0c8f<br>
> 0, event=0x19f03c90) + 374 at qcoreapplication.cpp:988 frame #19:<br>
> 0x009573e4<br>
> Subsurface-mobile`QCoreApplication::sendEvent(receiver=0x19f0c8f0,<br>
> event=0x19f03c90) + 36 at qcoreapplication.h:231 frame #20: 0x0120ac78<br>
> Subsurface-mobile`QCoreApplicationPrivate::sendPostedEvents(receiver=0<br>
> x00000000, event_type=0, data=0x17d297d0) + 952 at<br>
> qcoreapplication.cpp:1648 frame #21: 0x0120a424<br>
> Subsurface-mobile`QCoreApplication::sendPostedEvents(receiver=0x000000<br>
> 00, event_type=0) + 32 at qcoreapplication.cpp:1502 frame #22:<br>
> 0x012b53f0<br>
> Subsurface-mobile`QEventDispatcherCoreFoundation::processPostedEvents(<br>
> this=0x17e7ed90) + 184 at <a href="http://qeventdispatcher_cf.mm:405" rel="noreferrer" target="_blank">qeventdispatcher_cf.mm:405</a> frame #23:<br>
> 0x00436be4<br>
> Subsurface-mobile`QIOSEventDispatcher::processPostedEvents(this=0x17e7<br>
> ed90) + 20 at <a href="http://qioseventdispatcher.mm:481" rel="noreferrer" target="_blank">qioseventdispatcher.mm:481</a> frame #24: 0x012b6be0<br>
> Subsurface-mobile`RunLoopSource<QEventDispatcherCoreFoundation>::proce<br>
> ss(info=0x17e7eda4) + 72 at qeventdispatcher_cf_p.h:145 frame #25:<br>
> 0x23b1b9e6<br>
> CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTIO<br>
> N__ + 14 frame #26: 0x23b1b568 CoreFoundation`__CFRunLoopDoSources0 +<br>
> 344 frame #27: 0x23b1993e CoreFoundation`__CFRunLoopRun + 806 frame<br>
> #28: 0x23a681c8 CoreFoundation`CFRunLoopRunSpecific + 516 frame #29:<br>
> 0x23a67fbc CoreFoundation`CFRunLoopRunInMode + 108 frame #30:<br>
> 0x25084af8 GraphicsServices`GSEventRunModal + 160 frame #31:<br>
> 0x2819b434 UIKit`UIApplicationMain + 144 frame #32: 0x00435c54<br>
> Subsurface-mobile`::qt_main_wrapper(argc=1, argv=0x0362fa90) + 468 at<br>
> <a href="http://qioseventdispatcher.mm:232" rel="noreferrer" target="_blank">qioseventdispatcher.mm:232</a> frame #33: 0x23714872 libdyld.dylib`start +<br>
> 2<br>
><br>
> We seem to be crashing deep inside the destructor of a Delegate which<br>
> appears to be a QQuickAbstractButton.<br>
><br>
> Marco - does this tell you anything more useful?<br>
><br>
> I'll be happy to try some things now that I can reproduce the crash.<br>
><br>
> Thanks<br>
><br>
> /D<br>
> _______________________________________________<br>
> subsurface mailing list<br>
> <a href="mailto:subsurface@subsurface-divelog.org" target="_blank">subsurface@subsurface-divelog.org</a><br>
> <a href="http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurfac" rel="noreferrer" target="_blank">http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurfac</a><br>
> e<br>
<br>
_______________________________________________<br>
subsurface mailing list<br>
<a href="mailto:subsurface@subsurface-divelog.org" target="_blank">subsurface@subsurface-divelog.org</a><br>
<a href="http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface" rel="noreferrer" target="_blank">http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface</a><br>
<br>
_______________________________________________<br>
subsurface mailing list<br>
<a href="mailto:subsurface@subsurface-divelog.org" target="_blank">subsurface@subsurface-divelog.org</a><br>
<a href="http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface" rel="noreferrer" target="_blank">http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface</a><br>
</blockquote></div></div></div>