Crash on trip edit

Dirk Hohndel dirk at hohndel.org
Tue Dec 3 15:25:52 UTC 2013


On Tue, 2013-12-03 at 15:16 -0800, Dirk Hohndel wrote:
> On Wed, 2013-12-04 at 01:13 +0200, Lubomir I. Ivanov wrote:
> > On 4 December 2013 01:03,  <miika.turkia at gmail.com> wrote:
> > > Subsurface crashes now when i  try to save trip name. Source update about 10 hours ago. Dies on gas permille access (IIRC), that should not be relevant on trip edit.
> > >
> > 
> > confirmed,
> > crash seems to be in:
> > 
> > #0  0x00403274 in sanitize_gasmix (mix=0x54) at dive.c:453
> > #1  0x00403535 in sanitize_cylinder_info (dive=0x0) at dive.c:560
> > #2  0x00403d9e in fixup_dive (dive=0x0) at dive.c:866
> > #3  0x0043e454 in MainTab::acceptChanges (this=0x22bf6ea0)
> >     at qt-ui/maintab.cpp:617
> > #4  0x0047a1b6 in MainTab::qt_static_metacall (_o=0x22bf6ea0,
> >     _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x28cf68)
> >     at .moc/moc_maintab.cpp:101
> > 
> > no idea why at this point.
> > are we not updating the events correctly?
> 
> Some bozo (cough, cough) is calling fixup_dive when in trip edit mode.
> I'll fix.

pushed

/D



More information about the subsurface mailing list