Some subsurface notes from a week of diving

Anton Lundin glance at acc.umu.se
Sun Mar 16 13:45:12 PDT 2014


I just came home from a nice week of diving in the Red Sea, and here is
some sort of braindump about the issues i found in subsurface during
this week.

Crashes when trying to add a Gas Change event after selecting another dc
with the left arrow.

#0  0x000000000042c048 in add_event (dc=0x0, time=1124, type=25, flags=0, value=25, name=0x52eda8 "gaschange") at dive.c:41
#1  0x000000000043d5ff in add_gas_switch_event (dive=0x6554b60, dc=0x0, seconds=1124, idx=0) at parse-xml.c:780
#2  0x00000000004e8ddf in ProfileWidget2::changeGas (this=0xd52930) at qt-ui/profile/profilewidget2.cpp:777
#3  0x0000000000504068 in ProfileWidget2::qt_static_metacall (_o=0xd52930, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fffffffc880) at .moc/moc_profilewidget2.cpp:62

The real problem is that dataModel->dcNr ends up going negative when
flipping divecomputers with the left arrow key, and then dc becomes
NULL.



The equipment boxes doesn't save if you don't hit enter before save.

Eg. if you enter cylinder pressure, you click on start pressure and
enter 200, then you tab to end pressure and enter 40 and hit save, only
the start pressure gets saved. Its the same with the weight boxes too.


When switching to oxygen(EAN100), the EAD and END values in the info box
goes -2147483m. Unsigned zero as signed?



Add to trip below is missing.


-- 
Anton Lundin	+46702-161604


More information about the subsurface mailing list