<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"><meta http-equiv="Content-Type" content="text/html charset=utf-8"><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On 29 Jan 2015, at 20:01, Dirk Hohndel <<a href="mailto:dirk@hohndel.org" class="">dirk@hohndel.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">And it doesn't crash on my Mac, either.</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Can you give more data? Which git version of Subsurface? How did you build</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">it (i.e., which Qt, what tool chain)? Can you reproduce this with the</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">daily binaries from this morning?</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""></div></blockquote></div><br class=""></div><div class="">it does crash for me. The last subsurface code on the stack is line 437 of divelogimportdialog.cpp</div><div class=""><br class=""></div><div class="">
<pre style="margin-top: 0px; margin-bottom: 0px;" class=""><!--StartFragment--><span style=" color:#c0c0c0;" class="">                        </span>headers.replace(<span style=" color:#800000;" class="">CSVApps</span>[value].<span style=" color:#800000;" class="">time</span>,<span style=" color:#c0c0c0;" class=""> </span>tr(<span style=" color:#008000;" class="">"Sample</span><span style=" color:#c0c0c0;" class=""> </span><span style=" color:#008000;" class="">time"</span>));</pre>
<pre style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""><!--EndFragment--></pre><div class="">I have no idea, what this is but I can tell CSCApps is != NULL, value == 3  and there the assertion</div></div><div class="">
<pre style="margin-top: 0px; margin-bottom: 0px;" class=""><!--StartFragment--><span style=" color:#c0c0c0;" class="">    </span><span style=" color:#000080;" class="">Q_ASSERT_X</span>(i<span style=" color:#c0c0c0;" class=""> </span>>=<span style=" color:#c0c0c0;" class=""> </span><span style=" color:#000080;" class="">0</span><span style=" color:#c0c0c0;" class=""> </span>&&<span style=" color:#c0c0c0;" class=""> </span>i<span style=" color:#c0c0c0;" class=""> </span><<span style=" color:#c0c0c0;" class=""> </span><span style=" color:#800000;" class="">p</span>.size(),<span style=" color:#c0c0c0;" class=""> </span><span style=" color:#008000;" class="">"QList<T>::replace"</span>,<span style=" color:#c0c0c0;" class=""> </span><span style=" color:#008000;" class="">"index</span><span style=" color:#c0c0c0;" class=""> </span><span style=" color:#008000;" class="">out</span><span style=" color:#c0c0c0;" class=""> </span><span style=" color:#008000;" class="">of</span><span style=" color:#c0c0c0;" class=""> </span><span style=" color:#008000;" class="">range"</span>);</pre>
<pre style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""><!--EndFragment--></pre><div class="">of the replace method fails with „index out of range“ as headers has only one item.</div></div><div class=""><br class=""></div><div class="">Let me know what else to look for.</div><div class=""><br class=""></div><div class="">Best</div><div class="">Robert</div></body></html>