Some subsurface notes from a week of diving
Andrey Zhdanov
andrjufka at gmail.com
Mon Mar 17 06:22:36 PDT 2014
On 16 March 2014 22:45, Anton Lundin <glance at acc.umu.se> wrote:
> 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.
Created a ticket #464 on Bugtracker and marked as "easy fix".
> When switching to oxygen(EAN100), the EAD and END values in the info box
> goes -2147483m. Unsigned zero as signed?
#465 also as "easy fix".
--
Andrey Zhdanov
More information about the subsurface
mailing list