<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Gaetan,<div class=""><br class=""></div><div class="">Can you check if <a href="https://github.com/Subsurface-divelog/subsurface/pull/2406" class="">https://github.com/Subsurface-divelog/subsurface/pull/2406</a> fixes</div><div class="">this and comment on that PR with success / failure?</div><div class=""><br class=""></div><div class="">Thanks</div><div class=""><br class=""></div><div class="">/D</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Nov 26, 2019, at 1:35 PM, Gaetan Bisson <<a href="mailto:bisson@archlinux.org" class="">bisson@archlinux.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Dear all,<br class=""><br class="">With current git master I'm consistently getting a segfault when trying<br class="">to remove a row from the Cylinders table in the Equipment tab, simply by<br class="">clicking on the trash bin icon.<br class=""><br class="">The segfault occurs inside CylindersModel::remove(). I do not understand<br class="">much of that code but what I could piece together is the following:<br class=""><br class="">- index.row() is +1 until the call to endRemoveRows()<br class="">- index.row() becomes -1 after the call to endRemoveRows()<br class="">- std::iota() then segfaults because its second argument is smaller than its first<br class=""><br class="">Let me know if there's anything I could help test to fix this.<br class=""><br class="">Cheers.<br class=""><br class="">-- <br class="">Gaetan<br class="">_______________________________________________<br class="">subsurface mailing list<br class=""><a href="mailto:subsurface@subsurface-divelog.org" class="">subsurface@subsurface-divelog.org</a><br class="">http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface<br class=""></div></div></blockquote></div><br class=""></div></body></html>