[PATCH] Check if trip is NULL before calling DIVE_TRIP

Lubomir I. Ivanov neolit123 at gmail.com
Wed Sep 19 11:56:42 PDT 2012


On 19 September 2012 20:53, Dirk Hohndel <dirk at hohndel.org> wrote:
> Dirk Hohndel <dirk at hohndel.org> writes:
>
> Oh, and this does NOT crash for me. Tried multiple times. Started with
> autogroup on and off in preferences.
>
> Do you have additional files in dives/* besides test0-24.xml?
>
> What's the preference setting for you? Autogroup on?
> Can you run this under gdb and tell me which dive it is trying to put in
> the divelist when this happens?
>
> Thanks

np,
here is a short video.

http://dl.dropbox.com/u/1627980/subsurface/crash_with_autogroup.gif

difference from HEAD is the addition of the g_message() line
i can reproduce it the same way on windows / ubuntu.

i don't think prefs. autogroup mattered, but could be wrong.

lubomir
--


More information about the subsurface mailing list