<html><head><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="">This is on the current head (9fe458ea2e30), running on Mac OS 10.10.1.<div class=""><br class=""></div><div class="">What I did was:</div><div class=""><br class=""></div><div class=""><div class=""><font face="Inconsolata" class=""># make clean</font></div><div class=""><font face="Inconsolata" class=""># qmake INCLUDEPATH+="/usr/local/include /usr/local/Cellar/sqlite/3.8.7.1/include" LIBS+="-L/usr/local/Cellar/sqlite/3.8.7.1/lib -L/usr/local/lib" -config debug</font></div></div><div class=""><font face="Inconsolata" class=""># make</font></div><div class=""><font face="Inconsolata" class=""># open Subsurface.app</font></div><div class=""><br class=""></div><div class="">and then:</div><div class=""><ul class="MailOutline"><li class="">Log -> Plan Dive</li><li class="">Enter a single gas of 18/45</li><li class="">Enter a single segment of 70m for 30mins (Drop to first depth is on)</li><li class="">Change segment setpoint to 1.3</li></ul><div class=""><br class=""></div></div><div class="">Crashes every time. There’s a backtrace at bottom of this mail, along with a screenshot showing the screen prior to changing the set-point.</div><div class=""><br class=""></div><div class=""><div class=""><font face="Inconsolata" class="">Thread 0 Crashed:: Dispatch queue: com.apple.main-thread</font></div><div class=""><font face="Inconsolata" class="">0   org.hohndel.subsurface        <span class="Apple-tab-span" style="white-space:pre">       </span>0x000000010b8841c3 fill_missing_tank_pressures + 675</font></div><div class=""><font face="Inconsolata" class="">1   org.hohndel.subsurface        <span class="Apple-tab-span" style="white-space:pre">  </span>0x000000010b883d5d populate_pressure_information + 685</font></div><div class=""><font face="Inconsolata" class="">2   org.hohndel.subsurface        <span class="Apple-tab-span" style="white-space:pre">        </span>0x000000010b8810e0 create_plot_info_new + 224</font></div><div class=""><font face="Inconsolata" class="">3   org.hohndel.subsurface        <span class="Apple-tab-span" style="white-space:pre"> </span>0x000000010b96b5ac ProfileWidget2::plotDive(dive*, bool) + 828</font></div><div class=""><font face="Inconsolata" class="">4   org.hohndel.subsurface        <span class="Apple-tab-span" style="white-space:pre">        </span>0x000000010b96b268 ProfileWidget2::replot() + 56</font></div><div class=""><font face="Inconsolata" class="">5   org.hohndel.subsurface        <span class="Apple-tab-span" style="white-space:pre">      </span>0x000000010b9ebb7e ProfileWidget2::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 446</font></div><div class=""><font face="Inconsolata" class="">6   QtCore                        <span class="Apple-tab-span" style="white-space:pre"> </span>0x000000010ee19d71 QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 2037</font></div><div class=""><font face="Inconsolata" class="">7   QtCore                        <span class="Apple-tab-span" style="white-space:pre">    </span>0x000000010ee5ae95 QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&) + 57</font></div><div class=""><font face="Inconsolata" class="">8   org.hohndel.subsurface        <span class="Apple-tab-span" style="white-space:pre">       </span>0x000000010b8b3d51 DivePlannerPointsModel::editStop(int, divedatapoint) + 385</font></div><div class=""><font face="Inconsolata" class="">9   org.hohndel.subsurface        <span class="Apple-tab-span" style="white-space:pre"> </span>0x000000010b8b3b8c DivePlannerPointsModel::setData(QModelIndex const&, QVariant const&, int) + 860</font></div></div><div class=""><br class=""></div><div class="">Attaching the debugger gave:</div><div class=""><br class=""></div><div class=""><div class=""><font face="Inconsolata" class="">* thread #1: tid = 0x7eef0, 0x00000001084e41c3 subsurface`fill_missing_tank_pressures(dive=0x00038a4008774e80, pi=0x00007fff5774eef8, track_pr=0x00007fff5774ec20, o2_flag=false) + 675 at gaspressures.c:301, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT)</font></div><div class=""><font face="Inconsolata" class="">    frame #0: 0x00000001084e41c3 subsurface`fill_missing_tank_pressures(dive=0x00038a4008774e80, pi=0x00007fff5774eef8, track_pr=0x00007fff5774ec20, o2_flag=false) + 675 at gaspressures.c:301</font></div><div class=""><font face="Inconsolata" class="">   298</font></div><div class=""><font face="Inconsolata" class="">   299 <span class="Apple-tab-span" style="white-space:pre">                    </span>// If there is a valid segment but no tank pressure ..</font></div><div class=""><font face="Inconsolata" class="">   300 <span class="Apple-tab-span" style="white-space:pre">                  </span>interpolate = get_pr_interpolate_data(segment, pi, i, pressure); // Set up an interpolation structure</font></div><div class=""><font face="Inconsolata" class="">-> 301 <span class="Apple-tab-span" style="white-space:pre">                  </span>if(dive->cylinder[cyl].cylinder_use == OC_GAS) {</font></div><div class=""><font face="Inconsolata" class="">   302</font></div><div class=""><font face="Inconsolata" class="">   303 <span class="Apple-tab-span" style="white-space:pre">                          </span>/* if this segment has pressure_time, then calculate a new interpolated pressure */</font></div><div class=""><font face="Inconsolata" class="">   304 <span class="Apple-tab-span" style="white-space:pre">                             </span>if (interpolate.pressure_time) {</font></div></div><div class=""><font face="Inconsolata" class=""><br class=""></font></div><div class=""><div class=""><font face="Inconsolata" class="">(lldb) p cyl</font></div><div class=""><font face="Inconsolata" class="">(int) $0 = -1</font></div></div></body></html>