segmentation fault

Dirk Hohndel dirk at hohndel.org
Mon Oct 2 10:17:52 PDT 2017


On Mon, Oct 02, 2017 at 11:56:29AM +0200, Anton Lundin wrote:
> > > i don't know if we can do that, but it's great if we can detect
> > > missing modules at build time and abort the build.
> > >
> > 
> > We can.
> > I'll try to send a patch today.
> 
> Can we handle the missing module runtime, in a better way than
> segfaulting.
> 
> In my simplified world it would be catching the right exception, and
> disabling the map view?

Yes, indeed, that would be the BY FAR preferred way to deal with this.
Notice that this won't work, show a message, turn of the map view, be
happy.

/D


More information about the subsurface mailing list