Bug: create new trip above with single dive

Henrik Brautaset Aronsen subsurface at henrik.synth.no
Tue Sep 18 12:38:55 PDT 2012


Den 18.09.12 21:26, skrev Lubomir I. Ivanov:
> i think i've found a bug for all OS.
> when there is only one dive in the log (or if we right click on dive
> index = 0) -> "create new trip above" -> crash:
> Gtk-CRITICAL **: gtk_tree_store_get_value: assertion `VALID_ITER
> (iter, tree_store)' failed
>
> ^ looks like it cannot use the given iterator.

Yup, I get that one as well.  Stacktrace:

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libgtk-quartz-2.0.0.dylib     	0x000000010e4bd2a7 gtk_tree_model_get_valist + 407
1   libgtk-quartz-2.0.0.dylib     	0x000000010e4bd0ef gtk_tree_model_get + 319
2   subsurface                    	0x000000010e009c2f dive_from_path + 127 (divelist.c:171)
3   subsurface                    	0x000000010e00e9d1 insert_trip_before_cb + 129 (divelist.c:1531)
4   libgobject-2.0.0.dylib        	0x000000010ec60104 g_closure_invoke + 308
5   libgobject-2.0.0.dylib        	0x000000010ec6f859 signal_emit_unlocked_R + 1641
6   libgobject-2.0.0.dylib        	0x000000010ec7095c g_signal_emit_valist + 2924


Henrik



More information about the subsurface mailing list