Crash when opening planner in empty log

Robert Helling helling at atdotde.de
Fri Oct 28 13:56:33 PDT 2022


Hi,

just noticed: Current master crashes with memory violation when opening the planner on an empty log.

Crash report gives stack dump as

0   Subsurface                    	       0x10a4db1ee DiveEventItem::isInteresting(dive const*, divecomputer const*, event const*, plot_info const&, int, int) + 14 (diveeventitem.cpp:200)
1   Subsurface                    	       0x10a4eb067 ProfileScene::plotDive(dive const*, int, DivePlannerPointsModel*, bool, bool, bool, bool, double, double) + 4343 (profilescene.cpp:560)
2   Subsurface                    	       0x10a4f11b8 ProfileWidget2::plotDive(dive const*, int, int) + 216 (profilewidget2.cpp:211)

Tried running in the debugger but result makes very little sense (has a dive that is not exactly null but does not contain valid data. Right now out of time to investigate this, but maybe rings a bell with one of you.

Best
Robert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20221028/a2a41827/attachment.sig>


More information about the subsurface mailing list