Segfault when using planner

Dirk Hohndel dirk at hohndel.org
Tue Feb 12 13:12:41 PST 2013


Chris Lewis <chrislewis915 at gmail.com> writes:

> Hi,
>
> I've been playing with the planner and can repeatably get it to segfault.
>
> Set a new plan and enter the following lines
>
> 1. 30m 2 minutes 32%
> 2. 30m 20 mins 32%
> 3. 45m 10mins Air
>
> when choosing Air in the drop down i get :
>
> can't find gas 20/0
> Segmentation fault (core dumped)

The bug is obvious. We mark AIR as o2=209, yet the gas change events
only support whole percent, so we get o2=200 and therefore can't find
it. Duh. I'll fix that.

I don't understand why you are getting a SIGSEGV, though. Which OS are
you trying this on?

/D


More information about the subsurface mailing list