Test Planner crash

Lubomir I. Ivanov neolit123 at gmail.com
Mon Jan 7 06:09:57 PST 2013


On 7 January 2013 13:54, Henrik Brautaset Aronsen
<subsurface at henrik.synth.no> wrote:
> This is probably known, but:
>
> If I start Subsurface without any dives and select Test Planner, it crashes:
>
> Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
> 0   subsurface-bin                      0x000000010f1954b7 test_planner + 71
> (planner.c:279)
> 1   subsurface-bin                      0x000000010f1af095 test_planner_cb +
> 21 (gtk-gui.c:1131)
> 2   libgobject-2.0.0.dylib              0x000000010fe13104 g_closure_invoke
> + 308
> 3   libgobject-2.0.0.dylib              0x000000010fe22859
> signal_emit_unlocked_R + 1641
> 4   libgobject-2.0.0.dylib              0x000000010fe2395c
> g_signal_emit_valist + 2924
> 5   libgobject-2.0.0.dylib              0x000000010fe23f84 g_signal_emit +
> 116
> 6   libgtk-quartz-2.0.0.dylib           0x000000010f4c539a
> _gtk_action_emit_activate + 90
> 7   libgobject-2.0.0.dylib              0x000000010fe12f75
> _g_closure_invoke_va + 309
> 8   libgobject-2.0.0.dylib              0x000000010fe23338
> g_signal_emit_valist + 1352
> 9   libgobject-2.0.0.dylib              0x000000010fe23f84 g_signal_emit +
> 116
> 10  libgobject-2.0.0.dylib              0x000000010fe13104 g_closure_invoke
> + 308
> 11  libgtkmacintegration.0.dylib        0x0000000110012b5f
> idle_call_activate + 79
> 12  libgdk-quartz-2.0.0.dylib           0x000000010f929ea5
> gdk_threads_dispatch + 53
> 13  libglib-2.0.0.dylib                 0x000000010fe92118
> g_main_context_dispatch + 328
> 14  libglib-2.0.0.dylib                 0x000000010fe93cee
> g_main_context_iterate + 510
> 15  libglib-2.0.0.dylib                 0x000000010fe9513f g_main_loop_run +
> 287
> 16  libgtk-quartz-2.0.0.dylib           0x000000010f58670f gtk_main + 191
> 17  subsurface-bin                      0x000000010f1b2279 run_ui + 9
> (gtk-gui.c:1942)
> 18  subsurface-bin                      0x000000010f172b93 main + 515
> (main.c:304)
> 19  libdyld.dylib                       0x00007fff908347e1 start + 1
>
>
> If I start Subsurface with dives/*xml and select Test Planner, it freezes.
> Some kind of eternal loop?
>

i can't reproduce the *.xml loop issue, but the other one is related
to test code.
it assumes that there are dives already, so that the plan dive is
added after all of them.
this shouldn't be a problem later on.

lubomir
--


More information about the subsurface mailing list