Crash when re-importing from divecomputer

Henrik Brautaset Aronsen subsurface at henrik.synth.no
Wed Jan 23 11:45:05 PST 2013


1) Download dives from divecomputer, save and exit
2) Open Subsurface again, and delete the two latest dives
3) Start a download from the divecomputer again

*kaboom*

Thread 0:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib            0x00007fff92f53686 mach_msg_trap + 10
1   libsystem_kernel.dylib            0x00007fff92f52c42 mach_msg + 70
2   com.apple.CoreFoundation          0x00007fff90d53803 
__CFRunLoopServiceMachPort + 195
3   com.apple.CoreFoundation          0x00007fff90d58ee6 __CFRunLoopRun 
+ 1078
4   com.apple.CoreFoundation          0x00007fff90d586b2 
CFRunLoopRunSpecific + 290
5   com.apple.HIToolbox               0x00007fff91a6a0a4 
RunCurrentEventLoopInMode + 209
6   com.apple.HIToolbox               0x00007fff91a69e42 
ReceiveNextEventCommon + 356
7   com.apple.HIToolbox               0x00007fff91a69cd3 
BlockUntilNextEventMatchingListInMode + 62
8   com.apple.AppKit                  0x00007fff964ad613 _DPSNextEvent + 685
9   com.apple.AppKit                  0x00007fff964aced2 -[NSApplication 
nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
10  libgdk-quartz-2.0.0.dylib         0x0000000105181a12 poll_func + 178
11  libglib-2.0.0.dylib               0x00000001056cd9b5 
g_main_context_iterate + 421
12  libglib-2.0.0.dylib               0x00000001056cefaf g_main_loop_run 
+ 287
13  libgtk-quartz-2.0.0.dylib         0x0000000104d27b99 gtk_dialog_run 
+ 377
14  subsurface                        0x00000001049b4a9a do_import + 234 
(libdivecomputer.c:752)
15  subsurface                        0x00000001049ce4dc 
import_dive_computer + 156 (download-dialog.c:134)
16  subsurface                        0x00000001049cf999 download_dialog 
+ 1897 (download-dialog.c:451)
17  libgobject-2.0.0.dylib            0x000000010564dbc4 
g_closure_invoke + 308
18  libgobject-2.0.0.dylib            0x000000010565d5f9 
signal_emit_unlocked_R + 1641
19  libgobject-2.0.0.dylib            0x000000010565e6fc 
g_signal_emit_valist + 2924
20  libgobject-2.0.0.dylib            0x000000010565ed24 g_signal_emit + 116
21  libgtk-quartz-2.0.0.dylib         0x0000000104ce2d8a 
_gtk_action_emit_activate + 90
22  libgobject-2.0.0.dylib            0x000000010564da35 
_g_closure_invoke_va + 309
23  libgobject-2.0.0.dylib            0x000000010565e0d8 
g_signal_emit_valist + 1352
24  libgobject-2.0.0.dylib            0x000000010565ed24 g_signal_emit + 116
25  libgobject-2.0.0.dylib            0x000000010564dbc4 
g_closure_invoke + 308
26  libgtkmacintegration.2.dylib      0x0000000105847b7f 
idle_call_activate + 79
27  libgdk-quartz-2.0.0.dylib         0x000000010514f1c5 
gdk_threads_dispatch + 53
28  libglib-2.0.0.dylib               0x00000001056cb8f8 
g_main_context_dispatch + 328
29  libglib-2.0.0.dylib               0x00000001056cda0e 
g_main_context_iterate + 510
30  libglib-2.0.0.dylib               0x00000001056cefaf g_main_loop_run 
+ 287
31  libgtk-quartz-2.0.0.dylib         0x0000000104da455f gtk_main + 191
32  subsurface                        0x00000001049c5ca9 run_ui + 9 
(gtk-gui.c:1616)
33  subsurface                        0x0000000104982f21 main + 497 
(main.c:359)
34  libdyld.dylib                     0x00007fff946737e1 start + 1

If I save and exit after 2) and restart Subsurface, the reimport works fine.

Henrik


More information about the subsurface mailing list