<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Jan 19, 2016 at 11:37 PM, Dirk Hohndel <span dir="ltr"><<a href="mailto:dirk@hohndel.org" target="_blank">dirk@hohndel.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, Jan 19, 2016 at 10:59:26PM +0100, Henrik Brautaset Aronsen wrote:<br>
> On Thu, Jan 14, 2016 at 8:20 PM, Dirk Hohndel <<a href="mailto:dirk@hohndel.org">dirk@hohndel.org</a>> wrote:<br>
><br>
> ><br>
> > Crash likely is a NULL ptr dereference. So I'd look at qmlprofile and<br>
> > qmlmanager and see if we are dereferencing pointers there and either<br>
> > protect those calls or add qDebug calls around them (or better qWarning,<br>
> > actually).<br>
><br>
> Sometimes it is rewarding to be lazy.  I didn't have time to dig into the<br>
> problem, but with the latest release (.680) the crash is gone!  Maybe the<br>
> splash screen thingie fixed it?<br>
<br>
</span>Yes, being lazy is rewarding. Except when you are the maintainer, I guess<br>
:-)<br>
<span class=""><br>
> EDIT: Not entirely.  I manage to crash it after awhile, browsing back and<br>
> forth between dives and the dive list.<br>
<br>
</span>So there might be another way to get us to access freed memory. I need to<br>
do another round of more intense code review tonight - maybe something<br>
else catches my eye. This one was pretty blatant once I stepped away from<br>
the code and thought about it.<br>
<br>
If you can get a stack trace on the crash (or a tombstone that some have<br>
figured out how to decode) that would be extra useful as it shows me which<br>
data structures are the most likely culprits<br></blockquote><div><br></div><div>Until recently, Subsurface-mobile crashed just after the splash screen.  After Dirk's splash screen rework it works better.  Now it just crashes after browsing back and forth a few times between dives and the dive list.  Here's the logcat output from my last session (app version .682).</div><div><br></div><div>Henrik</div><div><br></div><div><br></div></div></div></div>