Bug report: Crash on adding dive

Dirk Hohndel dirk at hohndel.org
Mon Sep 10 07:31:42 PDT 2012


On Sep 9, 2012, at 11:22 PM, Henrik Brautaset Aronsen wrote:

> Oops, I guess this is just a different way of triggering that good old GTK bug?

No, this looks quite different. It's not coming from the pthreads library but from gtk_tree_model_get call in merge_dive_into_trip_above_cb.

My guess is that you triggered a corner case where that ends up using an invalid GtkTreeIter

/D

> Den 10.09.12 08:12, skrev Henrik Brautaset Aronsen:
>> 1) Open Subsurface
>> 2) Open or Import test1.xml
>> 3) Add dive
>> 4) Select OK twice
>> 5) Boom boom boom:
>> 
>> Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
>> 0   libgtk-quartz-2.0.0.dylib         0x000000010faa52a7 gtk_tree_model_get_valist + 407
>> 1   libgtk-quartz-2.0.0.dylib         0x000000010faa50ef gtk_tree_model_get + 319
>> 2   org.hohndel.subsurface            0x000000010f5ff37a merge_dive_into_trip_above_cb + 426 (divelist.c:1410)
>> 3   org.hohndel.subsurface            0x000000010f5fe206 fill_dive_list + 2198 (divelist.c:1117)
>> 4   org.hohndel.subsurface            0x000000010f5fe3a7 dive_list_update_dives + 71 (divelist.c:1144)
>> 5   org.hohndel.subsurface            0x000000010f5ea1ee report_dives + 638 (main.c:149)
>> 6   org.hohndel.subsurface            0x000000010f5fe704 add_dive_cb + 68 (divelist.c:1246)
>> 7   libgobject-2.0.0.dylib            0x000000011024f104 g_closure_invoke + 308
>> 8   libgobject-2.0.0.dylib            0x000000011025e859 signal_emit_unlocked_R + 1641
>> 
>> Henrik
>> 
>> _______________________________________________
>> subsurface mailing list
>> subsurface at hohndel.org
>> http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface
> 
> _______________________________________________
> subsurface mailing list
> subsurface at hohndel.org
> http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface



More information about the subsurface mailing list