the latest defaultfile branch

Dirk Hohndel dirk at hohndel.org
Sun Sep 16 04:24:09 PDT 2012


That actually looks different from what I was seeing.

I'm just about to go on a dive boat. Will look at this tonight. But 
this smells more like that stupid gtk issue...

/D
--
Sent from my phone. Please excuse brevity and text prediction errors.



On September 16, 2012 6:55:14 AM Henrik Brautaset Aronsen 
<subsurface at henrik.synth.no> wrote:
> Den 16.09.12 05:59, skrev Dirk Hohndel:
> > Henrik Brautaset Aronsen <subsurface at henrik.synth.no> writes:
> >
> >> Den 16.09.12 01:33, skrev Dirk Hohndel:
> >>> Please test away and report crashes, bugs and any unexpected behavior.
> >> Hi, I found a crash:
> >>
> >> 1) Start Subsurface with no default dives.
> >> 2) Import test1.xml
> >> 3) Quit and save
> >> 4) Start Subsurface again.  The imported/default dive opens.
> >> 5) Open test1.xml
> >> 6) Crash.
> > Yes, interesting bug in the ancient dive merging algorithm. If the last
> > of the pre-existing dives was merged with an imported dive, we started
> > dereferencing freed pointers.
> >
> > Funnily enough I ran into the same bug on the plane and already fixed
> > this.
> >
> > I just pushed out my latest version of the branch.
>
> I still get that crash with the same steps:
>
> Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
> 0   libsystem_kernel.dylib            0x00007fff8778b212 __pthread_kill + 10
> 1   libsystem_c.dylib                 0x00007fff8a4dcb34 pthread_kill + 90
> 2   libsystem_c.dylib                 0x00007fff8a520dfa abort + 143
> 3   libglib-2.0.0.dylib               0x000000010bd79385 g_private_set + 85
> 4   libglib-2.0.0.dylib               0x000000010bd5e0ed g_thread_self + 61
> 5   libglib-2.0.0.dylib               0x000000010bd3c2fb g_source_attach
> + 187
> 6   libglib-2.0.0.dylib               0x000000010bd3c682 g_idle_add_full
> + 242
> 7   libgtk-quartz-2.0.0.dylib         0x000000010b523a21
> gtk_tree_view_row_inserted + 753
> 8   libgobject-2.0.0.dylib            0x000000010bcbf104
> g_closure_invoke + 308
> 9   libgobject-2.0.0.dylib            0x000000010bcce859
> signal_emit_unlocked_R + 1641
> 10  libgobject-2.0.0.dylib            0x000000010bccf95c
> g_signal_emit_valist + 2924
> 11  libgobject-2.0.0.dylib            0x000000010bccff84 g_signal_emit + 116
> 12  libgtk-quartz-2.0.0.dylib         0x000000010b51cebc
> gtk_tree_store_append + 252
> 13  subsurface                        0x000000010b05b015 fill_dive_list
> + 1029 (divelist.c:1011)
> 14  subsurface                        0x000000010b05b457
> dive_list_update_dives + 71 (divelist.c:1061)
> 15  subsurface                        0x000000010b047316 report_dives +
> 662 (main.c:152)
> 16  subsurface                        0x000000010b06bf50 file_open + 512
> (gtk-gui.c:328)
> 17  libgobject-2.0.0.dylib            0x000000010bcbf104
> g_closure_invoke + 308
> 18  libgobject-2.0.0.dylib            0x000000010bcce859
> signal_emit_unlocked_R + 1641
> 19  libgobject-2.0.0.dylib            0x000000010bccf95c
> g_signal_emit_valist + 2924
>
> Henrik




More information about the subsurface mailing list