On Sat, Jul 05, 2014 at 11:09:50PM +0200, Robert C. Helling wrote:
> Hi,
> 
> when I open subsurface, get into edit mode (e.g. type a number in the so
> far empty water temperature field of a dive) and then cancel the edit,
> subsurface crashes.

It doesn't for me. I assume this is with latest master, no additional
patches?

> I have now spent quite some time with the debugger but could not find
> the origin of the problem. Sometimes, I get a dive where the first event
> has the “deleted” flag set and which has a next field leading nowhere,
> in another case the loop in  populate_plot_entries runs forever with
> really really big “time” variable.

That sounds like uninitialized memory. Did you try valgrind?

> I don’t really know how to investigate this further so this is my report.

For crashes I try to things:

First, debugger, look at the stack trace. In your case that seems no to
work.

Second, run under Valgrind. If that shows no errors I curse loudly and
start sprinkling debugging statements throughout the code.

I'll be happy to help if you show me how to reproduce this.

/D
_______________________________________________
subsurface mailing list
subsurface@hohndel.org
http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to