pull-request: trip handling

Henrik Brautaset Aronsen subsurface at henrik.synth.no
Mon Sep 3 23:12:13 PDT 2012


Den 04.09.12 07:14, skrev Miika Turkia:
> On Tue, Sep 4, 2012 at 7:47 AM, Dirk Hohndel <dirk at hohndel.org> wrote:
>>> I am getting a crash whenever I import an XML dive file.
>>> - ./subsurface dives/test23.xml
>>> - Import dives/test22.xml
>> Wow - I've never used that feature like this. The file selector dialog sucks as it doesn't default to a sane directory.
>> This crashes on my Mac with some pthreads problem, but seems to work just fine on Linux.
> I get this crash on Ubuntu 12.04
> GLib (gthread-posix.c): Unexpected error from C library during
> 'pthread_setspecific': Invalid argument.  Aborting.

Yup, same here on MacOSX 10.8.1:

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib            0x00007fff9022e212 __pthread_kill + 10
1   libsystem_c.dylib                 0x00007fff96597b34 pthread_kill + 90
2   libsystem_c.dylib                 0x00007fff965dbdfa abort + 143
3   libglib-2.0.0.dylib               0x000000010c504385 g_private_set + 85
4   libglib-2.0.0.dylib               0x000000010c4e90ed g_thread_self + 61
5   libglib-2.0.0.dylib               0x000000010c4c72fb g_source_attach 
+ 187
6   libglib-2.0.0.dylib               0x000000010c4c7682 g_idle_add_full 
+ 242
7   libgtk-quartz-2.0.0.dylib         0x000000010bca7f4b 
gtk_tree_view_row_deleted + 699
8   libgobject-2.0.0.dylib            0x000000010c443104 
g_closure_invoke + 308
9   libgobject-2.0.0.dylib            0x000000010c452859 
signal_emit_unlocked_R + 1641
10  libgobject-2.0.0.dylib            0x000000010c45395c 
g_signal_emit_valist + 2924
11  libgobject-2.0.0.dylib            0x000000010c453f84 g_signal_emit + 116
12  libgtk-quartz-2.0.0.dylib         0x000000010bca0034 
gtk_tree_store_remove + 244
13  libgtk-quartz-2.0.0.dylib         0x000000010bca1192 
gtk_tree_store_clear_traverse + 82
14  libgtk-quartz-2.0.0.dylib         0x000000010bca116c 
gtk_tree_store_clear_traverse + 44
15  libgtk-quartz-2.0.0.dylib         0x000000010bca10fb 
gtk_tree_store_clear + 59
16  subsurface                        0x000000010b7e8963 
dive_list_update_dives + 35 (divelist.c:1059)
17  subsurface                        0x000000010b7d4bde report_dives + 
638 (main.c:149)
18  subsurface                        0x000000010b7f889e file_open + 606 
(gtk-gui.c:172)
19  libgobject-2.0.0.dylib            0x000000010c443104 
g_closure_invoke + 308

Henrik


More information about the subsurface mailing list