SIGFPE in fixup_divep at dive.c:479 when importing dive with duration == 0

Linus Torvalds torvalds at linux-foundation.org
Sat Aug 18 09:20:23 PDT 2012


On Sat, Aug 18, 2012 at 8:20 AM, Lutz Vieweg <lvml at 5t9.de> wrote:
>
> subsurface just crashed on me when I tried to import many dives I had
> exported from SDM earlier.
>
> Obvious cause is line dive.c:479, which divides by zero if the dive duration
> is zero:

Ok. That code had some other problems too, I've pushed out all the
pending fixes.

Thanks,
                       Linus


More information about the subsurface mailing list