Project

General

Profile

Bug #11049

Crash on OS X with latest master

Added by Moritz Moeller over 2 years ago. Updated about 2 years ago.

Status:
Incomplete
Priority:
Low
Assignee:
Category:
-
Target version:
-
Start date:
06/09/2016
Due date:
% Done:

20%

Affected Version:
git stable branch
System:
Mac OS X
bitness:
64-bit
hardware architecture:
amd64/x86

Description

$ /opt/darktable/bin/darktable

(process:11814): Gtk-WARNING **: Locale not supported by C library.
    Using the fallback 'C' locale.
2016-06-09 12:37:00.977 darktable[11814:22222729] *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead.

(darktable:11814): GLib-GObject-WARNING **: invalid cast from 'GtkMenuBar' to 'GtkWindow'

(darktable:11814): Gtk-CRITICAL **: gtk_window_add_accel_group: assertion 'GTK_IS_WINDOW (window)' failed

(darktable:11814): Gtk-WARNING **: Could not find the icon 'list-remove-symbolic-ltr'. The 'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:
    http://icon-theme.freedesktop.org/releases

(darktable:11814): Gtk-WARNING **: Could not load a pixbuf from /org/gtk/libgtk/icons/16x16/status/image-missing.png.
This may indicate that pixbuf loaders or the mime database could not be found.
**
Gtk:ERROR:gtkiconhelper.c:493:ensure_surface_for_gicon: assertion failed: (destination)
Magick: abort due to signal 6 (SIGABRT) "Abort"...

The problem report:

Process:               darktable [11814]
Path:                  /opt/darktable/*/darktable
Identifier:            darktable
Version:               0
Code Type:             X86-64 (Native)
Parent Process:        zsh [28008]
Responsible:           iTerm2 [27953]
User ID:               502

Date/Time:             2016-06-09 12:37:03.340 +0200
OS Version:            Mac OS X 10.11.5 (15F34)
Report Version:        11
Anonymous UUID:        54E04ED4-4DEE-6F45-077B-91595EE8F1D8

Sleep/Wake UUID:       78AE5DE2-5862-44CC-A0D3-48DA9432A1B5

Time Awake Since Boot: 590000 seconds
Time Since Wake:       71000 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000

Application Specific Information:
abort() called

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib            0x00007fff88a14f06 __pthread_kill + 10
1   libsystem_pthread.dylib           0x00007fff8bb524ec pthread_kill + 90
2   libsystem_c.dylib                 0x00007fff88636787 __abort + 145
3   libsystem_c.dylib                 0x00007fff886366f6 abort + 144
4   libGraphicsMagick.3.dylib         0x0000000102e03f11 MagickPanicSignalHandler + 67
5   libsystem_platform.dylib          0x00007fff8441552a _sigtramp + 26
6   ???                               0x00007fff5e885a20 0 + 140734779382304
7   libsystem_c.dylib                 0x00007fff886366e7 abort + 129
8   libglib-2.0.0.dylib               0x00000001020717b6 g_assertion_message + 382
9   libglib-2.0.0.dylib               0x0000000102071814 g_assertion_message_expr + 94
10  libgtk-3.0.dylib                  0x000000010176740b ensure_surface_for_gicon + 671
11  libgtk-3.0.dylib                  0x0000000101767087 gtk_icon_helper_load_surface + 504
12  libgtk-3.0.dylib                  0x00000001017678a8 gtk_icon_helper_ensure_surface + 46
13  libgtk-3.0.dylib                  0x0000000101767544 _gtk_icon_helper_get_size + 313
14  libgtk-3.0.dylib                  0x0000000101767e90 gtk_icon_helper_get_preferred_size + 42
15  libgtk-3.0.dylib                  0x00000001016f5b3c gtk_css_gadget_get_preferred_size + 639
16  libgtk-3.0.dylib                  0x00000001016adf59 gtk_box_gadget_measure_opposite + 256
17  libgtk-3.0.dylib                  0x00000001016f5b3c gtk_css_gadget_get_preferred_size + 639
18  libgtk-3.0.dylib                  0x000000010182ab80 gtk_spin_button_get_preferred_height_and_baseline_for_width + 47
19  libgtk-3.0.dylib                  0x0000000101826c8c gtk_widget_query_size_for_orientation + 451
20  libgtk-3.0.dylib                  0x00000001018262f1 gtk_widget_compute_size_for_orientation + 95
21  libgtk-3.0.dylib                  0x00000001018266bf gtk_widget_get_preferred_height_and_baseline_for_width + 115
22  libgtk-3.0.dylib                  0x00000001016ab903 gtk_box_get_content_size + 545
23  libgtk-3.0.dylib                  0x00000001016f28bf gtk_css_custom_gadget_get_preferred_size + 45
24  libgtk-3.0.dylib                  0x00000001016f5b3c gtk_css_gadget_get_preferred_size + 639
25  libgtk-3.0.dylib                  0x00000001016ab0bd gtk_box_get_preferred_height_and_baseline_for_width + 47
26  libgtk-3.0.dylib                  0x0000000101826c8c gtk_widget_query_size_for_orientation + 451
27  libgtk-3.0.dylib                  0x00000001018262f1 gtk_widget_compute_size_for_orientation + 95
28  libgtk-3.0.dylib                  0x00000001018266bf gtk_widget_get_preferred_height_and_baseline_for_width + 115
29  libgtk-3.0.dylib                  0x00000001016ab903 gtk_box_get_content_size + 545
30  libgtk-3.0.dylib                  0x00000001016f28bf gtk_css_custom_gadget_get_preferred_size + 45
31  libgtk-3.0.dylib                  0x00000001016f5b3c gtk_css_gadget_get_preferred_size + 639
32  libgtk-3.0.dylib                  0x00000001016ab0bd gtk_box_get_preferred_height_and_baseline_for_width + 47
33  libgtk-3.0.dylib                  0x0000000101826c8c gtk_widget_query_size_for_orientation + 451
34  libgtk-3.0.dylib                  0x00000001018262f1 gtk_widget_compute_size_for_orientation + 95
35  libgtk-3.0.dylib                  0x00000001018266bf gtk_widget_get_preferred_height_and_baseline_for_width + 115
36  libgtk-3.0.dylib                  0x00000001016ab903 gtk_box_get_content_size + 545
37  libgtk-3.0.dylib                  0x00000001016f28bf gtk_css_custom_gadget_get_preferred_size + 45
38  libgtk-3.0.dylib                  0x00000001016f5b3c gtk_css_gadget_get_preferred_size + 639
39  libgtk-3.0.dylib                  0x00000001016ab0bd gtk_box_get_preferred_height_and_baseline_for_width + 47
40  libgtk-3.0.dylib                  0x0000000101826c8c gtk_widget_query_size_for_orientation + 451
41  libgtk-3.0.dylib                  0x00000001018262f1 gtk_widget_compute_size_for_orientation + 95
42  libgtk-3.0.dylib                  0x00000001018266bf gtk_widget_get_preferred_height_and_baseline_for_width + 115
43  libgtk-3.0.dylib                  0x0000000101826c8c gtk_widget_query_size_for_orientation + 451
44  libgtk-3.0.dylib                  0x00000001018262f1 gtk_widget_compute_size_for_orientation + 95
45  libgtk-3.0.dylib                  0x0000000101826469 gtk_widget_get_preferred_height + 100
46  libgtk-3.0.dylib                  0x0000000101757c1c gtk_frame_measure_border + 135
47  libgtk-3.0.dylib                  0x00000001016f28bf gtk_css_custom_gadget_get_preferred_size + 45
48  libgtk-3.0.dylib                  0x00000001016f5b3c gtk_css_gadget_get_preferred_size + 639
49  libgtk-3.0.dylib                  0x0000000101757804 gtk_frame_measure + 72
50  libgtk-3.0.dylib                  0x00000001016f28bf gtk_css_custom_gadget_get_preferred_size + 45
51  libgtk-3.0.dylib                  0x00000001016f5b3c gtk_css_gadget_get_preferred_size + 639
52  libgtk-3.0.dylib                  0x0000000101757570 gtk_frame_get_preferred_height + 51
53  libgtk-3.0.dylib                  0x0000000101826cd0 gtk_widget_query_size_for_orientation + 519
54  libgtk-3.0.dylib                  0x00000001018262f1 gtk_widget_compute_size_for_orientation + 95
55  libgtk-3.0.dylib                  0x00000001018266bf gtk_widget_get_preferred_height_and_baseline_for_width + 115
56  libgtk-3.0.dylib                  0x00000001016ab903 gtk_box_get_content_size + 545
57  libgtk-3.0.dylib                  0x00000001016f28bf gtk_css_custom_gadget_get_preferred_size + 45
58  libgtk-3.0.dylib                  0x00000001016f5b3c gtk_css_gadget_get_preferred_size + 639
59  libgtk-3.0.dylib                  0x00000001016ab0bd gtk_box_get_preferred_height_and_baseline_for_width + 47
60  libgtk-3.0.dylib                  0x0000000101826c8c gtk_widget_query_size_for_orientation + 451
61  libgtk-3.0.dylib                  0x00000001018262f1 gtk_widget_compute_size_for_orientation + 95
62  libgtk-3.0.dylib                  0x00000001018266bf gtk_widget_get_preferred_height_and_baseline_for_width + 115
63  libgtk-3.0.dylib                  0x00000001016ab903 gtk_box_get_content_size + 545
64  libgtk-3.0.dylib                  0x00000001016f28bf gtk_css_custom_gadget_get_preferred_size + 45
65  libgtk-3.0.dylib                  0x00000001016f5b3c gtk_css_gadget_get_preferred_size + 639
66  libgtk-3.0.dylib                  0x00000001016ab0bd gtk_box_get_preferred_height_and_baseline_for_width + 47
67  libgtk-3.0.dylib                  0x0000000101826c8c gtk_widget_query_size_for_orientation + 451
68  libgtk-3.0.dylib                  0x00000001018262f1 gtk_widget_compute_size_for_orientation + 95
69  libgtk-3.0.dylib                  0x00000001018266bf gtk_widget_get_preferred_height_and_baseline_for_width + 115
70  libgtk-3.0.dylib                  0x0000000101826c8c gtk_widget_query_size_for_orientation + 451
71  libgtk-3.0.dylib                  0x00000001018262f1 gtk_widget_compute_size_for_orientation + 95
72  libgtk-3.0.dylib                  0x00000001018266bf gtk_widget_get_preferred_height_and_baseline_for_width + 115
73  libgtk-3.0.dylib                  0x00000001018b7538 gtk_viewport_measure + 105
74  libgtk-3.0.dylib                  0x00000001016f28bf gtk_css_custom_gadget_get_preferred_size + 45
75  libgtk-3.0.dylib                  0x00000001016f5b3c gtk_css_gadget_get_preferred_size + 639
76  libgtk-3.0.dylib                  0x00000001018b71cc gtk_viewport_get_preferred_height + 51
77  libgtk-3.0.dylib                  0x0000000101826cd0 gtk_widget_query_size_for_orientation + 519
78  libgtk-3.0.dylib                  0x00000001018262f1 gtk_widget_compute_size_for_orientation + 95
79  libgtk-3.0.dylib                  0x0000000101826469 gtk_widget_get_preferred_height + 100
80  libgtk-3.0.dylib                  0x0000000101814ea7 gtk_scrolled_window_measure + 192
81  libgtk-3.0.dylib                  0x00000001016f28bf gtk_css_custom_gadget_get_preferred_size + 45
82  libgtk-3.0.dylib                  0x00000001016f5b3c gtk_css_gadget_get_preferred_size + 639
83  libgtk-3.0.dylib                  0x0000000101812fb6 gtk_scrolled_window_get_preferred_height + 51
84  libgtk-3.0.dylib                  0x0000000101826cd0 gtk_widget_query_size_for_orientation + 519
85  libgtk-3.0.dylib                  0x00000001018262f1 gtk_widget_compute_size_for_orientation + 95
86  libgtk-3.0.dylib                  0x00000001018266bf gtk_widget_get_preferred_height_and_baseline_for_width + 115
87  libgtk-3.0.dylib                  0x00000001016ab903 gtk_box_get_content_size + 545
88  libgtk-3.0.dylib                  0x00000001016f28bf gtk_css_custom_gadget_get_preferred_size + 45
89  libgtk-3.0.dylib                  0x00000001016f5b3c gtk_css_gadget_get_preferred_size + 639
90  libgtk-3.0.dylib                  0x00000001016ab0bd gtk_box_get_preferred_height_and_baseline_for_width + 47
91  libgtk-3.0.dylib                  0x0000000101826c8c gtk_widget_query_size_for_orientation + 451
92  libgtk-3.0.dylib                  0x00000001018262f1 gtk_widget_compute_size_for_orientation + 95
93  libgtk-3.0.dylib                  0x00000001018266bf gtk_widget_get_preferred_height_and_baseline_for_width + 115
94  libgtk-3.0.dylib                  0x000000010176105f gtk_grid_request_run + 322
95  libgtk-3.0.dylib                  0x0000000101760e73 gtk_grid_get_size + 186
96  libgtk-3.0.dylib                  0x00000001016f28bf gtk_css_custom_gadget_get_preferred_size + 45
97  libgtk-3.0.dylib                  0x00000001016f5b3c gtk_css_gadget_get_preferred_size + 639
98  libgtk-3.0.dylib                  0x00000001017604b2 gtk_grid_get_preferred_height_and_baseline_for_width + 47
99  libgtk-3.0.dylib                  0x0000000101826c8c gtk_widget_query_size_for_orientation + 451
100 libgtk-3.0.dylib                  0x00000001018262f1 gtk_widget_compute_size_for_orientation + 95
101 libgtk-3.0.dylib                  0x00000001018266bf gtk_widget_get_preferred_height_and_baseline_for_width + 115
102 libgtk-3.0.dylib                  0x00000001016ab903 gtk_box_get_content_size + 545
103 libgtk-3.0.dylib                  0x00000001016f28bf gtk_css_custom_gadget_get_preferred_size + 45
104 libgtk-3.0.dylib                  0x00000001016f5b3c gtk_css_gadget_get_preferred_size + 639
105 libgtk-3.0.dylib                  0x00000001016ab0bd gtk_box_get_preferred_height_and_baseline_for_width + 47
106 libgtk-3.0.dylib                  0x0000000101826c8c gtk_widget_query_size_for_orientation + 451
107 libgtk-3.0.dylib                  0x00000001018262f1 gtk_widget_compute_size_for_orientation + 95
108 libgtk-3.0.dylib                  0x0000000101826469 gtk_widget_get_preferred_height + 100
109 libgtk-3.0.dylib                  0x00000001018d94f4 gtk_window_get_preferred_height + 267
110 libgtk-3.0.dylib                  0x0000000101826cd0 gtk_widget_query_size_for_orientation + 519
111 libgtk-3.0.dylib                  0x00000001018262f1 gtk_widget_compute_size_for_orientation + 95
112 libgtk-3.0.dylib                  0x00000001018266bf gtk_widget_get_preferred_height_and_baseline_for_width + 115
113 libgtk-3.0.dylib                  0x0000000101826791 _gtk_widget_get_preferred_size_and_baseline + 109
114 libgtk-3.0.dylib                  0x00000001018d2128 gtk_window_compute_configure_request + 117
115 libgtk-3.0.dylib                  0x00000001018d985b gtk_window_check_resize + 133
116 libgobject-2.0.0.dylib            0x0000000101fe3627 _g_closure_invoke_va + 267
117 libgobject-2.0.0.dylib            0x0000000101ff8d7f g_signal_emit_valist + 1201
118 libgobject-2.0.0.dylib            0x0000000101ff96f2 g_signal_emit + 134
119 libgtk-3.0.dylib                  0x00000001016edc30 gtk_container_idle_sizer + 73
120 libgobject-2.0.0.dylib            0x0000000101fe3627 _g_closure_invoke_va + 267
121 libgobject-2.0.0.dylib            0x0000000101ff8d7f g_signal_emit_valist + 1201
122 libgobject-2.0.0.dylib            0x0000000101ff96f2 g_signal_emit + 134
123 libgdk-3.0.dylib                  0x0000000101c7a895 gdk_frame_clock_paint_idle + 447
124 libgdk-3.0.dylib                  0x0000000101c6a8ad gdk_threads_dispatch + 50
125 libglib-2.0.0.dylib               0x000000010204fc8e g_timeout_dispatch + 23
126 libglib-2.0.0.dylib               0x00000001020527ae g_main_context_dispatch + 276
127 libglib-2.0.0.dylib               0x0000000102052a98 g_main_context_iterate + 413
128 libglib-2.0.0.dylib               0x0000000102052cee g_main_loop_run + 207
129 libgtk-3.0.dylib                  0x000000010179987d gtk_main + 74
130 libdarktable.dylib                0x0000000101489554 dt_gui_gtk_run + 212 (gtk.c:963)
131 darktable                         0x0000000101382f44 main + 36 (main.c:25)
132 libdyld.dylib                     0x00007fff909e55ad start + 1

[1]    11814 abort      /opt/darktable/bin/darktable

History

#1 Updated by Igor Kuzmin over 2 years ago

  • % Done changed from 0 to 20
  • Status changed from New to Incomplete

This looks like missing icon theme for GTK, not darktable bug. Do you have adwaita and hicolor themes installed? Or maybe it's some GTK configuration problem...

#2 Updated by Igor Kuzmin over 2 years ago

  • Assignee set to Igor Kuzmin

#3 Updated by Moritz Moeller about 2 years ago

Igor Kuzmin wrote:

This looks like missing icon theme for GTK, not darktable bug. Do you have adwaita and hicolor themes installed? Or maybe it's some GTK configuration problem...

Yes, both are installed. I still have this issue with latest master. Any other ideas?

I cleaned, removed & re-installed macports from scratch, added only the packages and config options as described in https://github.com/darktable-org/darktable/blob/master/packaging/macosx/BUILD.txt then built darktable from latest master. Result is the same as described above.

Maybe there's a required package missing from the list in BUILD.txt?

#4 Updated by Roman Lebedev about 2 years ago

I doubt it will help, but can you remove GraphicsMagick, re-configure darktable, make sure that GraphicsMagick is off. Does it still crash?

#5 Updated by Igor Kuzmin about 2 years ago

See https://trac.macports.org/ticket/51296, https://bugzilla.gnome.org/show_bug.cgi?id=765649 and try this patch: https://bug765649.bugzilla-attachments.gnome.org/attachment.cgi?id=326905&action=diff&collapsed=&context=patch&format=raw&headers=1
I'm not planning on collecting every gtk3 bug in BUILD.txt, so please check with macports and gtk3 bug trackers before reporting here. Let us know if the patch above helps with this issue.

Also available in: Atom PDF