<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Jan 18, 2021, at 12:00 AM, Chirana Gheorghita Eugeniu Theodor <<a href="mailto:office@adaptcom.ro" class="">office@adaptcom.ro</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">Hello. OK.<div class=""><br class=""></div><div class="">Discovered something:</div><div class="">- I add a new dive</div><div class="">-Save and exit to Dive list</div><div class="">- Enter that dive again</div><div class="">- delete it >> all ok.</div><div class=""><br class=""></div><div class="">- Add a new dive</div><div class="">- Save and exit to Dive list</div><div class="">- select another dive and back to dive list</div><div class="">- Select the newly added dive and back to dive list and tha new dive remains selected</div><div class="">- Open context menu and hit delete >>> App crashes.. Attached logs.</div></div><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""></div></blockquote><br class=""></div><div><br class=""></div><div>So I understand what the log tells us... but I cannot figure out how to reproduce the situation.</div><div>I followed your steps as exactly as I could. And tried several variations. I tried this on three different Android devices (including two running Android 11) as well as on iOS and mobile-on-desktop.</div><div>I simply cannot reproduce the crash.</div><div><br class=""></div><div>The log file implied that a QML object was deleted while one of its signal handlers was running. During the dive delete a signal handler for the context menu is running, but I don't see how that object could be deleted.</div><div>And because of the undo stack, the dive itself isn't actually deleted, just moved on a different list. The one thing that does get deleted is the delegate that shows the dive in the dive list - but that one doesn't actually have a  signal handler running... because even if you opened the context drawer by press-and-hold on the dive (instead of using the three dots in the lower right corner), the signal handler for that delegate has finished when you open the context menu. And by the time you tap on delete in the context menu, it has definitely completed running.</div><div><br class=""></div><div>So... hmm... no idea...</div><div><br class=""></div><div>And as I said many times before - fixing bugs I cannot reproduce is incredibly hard :-(</div><div><br class=""></div><div>/D</div><br class=""></body></html>