opened
matthewbauer
username_0
## Issue description

Log:

```
$ nix run nixpkgs.transmission_gtk -c transmission-gtk
(transmission-gtk:95543): Gtk-WARNING **: 19:59:18.010: Error loading theme icon 'document-open' for stock: Icon 'document-open' not present in theme Adwaita

(transmission-gtk:95543): Gtk-WARNING **: 19:59:18.018: Error loading theme icon 'media-playback-start' for stock: 

(transmission-gtk:95543): Gtk-WARNING **: 19:59:18.020: Error loading theme icon 'media-playback-pause' for stock: Icon 'media-playback-pause' not present in theme Adwaita

(transmission-gtk:95543): Gtk-WARNING **: 19:59:18.020: Error loading theme icon 'list-remove' for stock: Icon 'list-remove' not present in theme Adwaita

(transmission-gtk:95543): Gtk-WARNING **: 19:59:18.020: Error loading theme icon 'document-properties' for stock: Icon 'document-properties' not present in theme Adwaita

(transmission-gtk:95543): Gtk-WARNING **: 19:59:18.117: Error loading theme icon 'edit-clear' for stock: 
[1]    95543 segmentation fault  nix run nixpkgs.transmission_gtk -c transmission-gtk
```

Stack trace:

```

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libgtk-3.0.dylib              	0x0000000102f78434 icon_info_ensure_scale_and_pixbuf + 20
1   libgtk-3.0.dylib              	0x0000000102f773fc gtk_icon_info_load_icon + 28
2   .transmission-gtk-wrapped     	0x0000000102d52d4a gtr_get_mime_type_icon + 794
3   .transmission-gtk-wrapped     	0x0000000102d5caba torrent_cell_renderer_get_size + 874
4   libgtk-3.0.dylib              	0x0000000102ec6133 gtk_cell_renderer_real_get_preferred_width + 67
5   libgtk-3.0.dylib              	0x0000000102ebcd89 gtk_cell_area_request_renderer + 265
6   libgtk-3.0.dylib              	0x0000000102ec06f7 compute_size + 247
7   libgtk-3.0.dylib              	0x0000000102ebffb7 gtk_cell_area_box_get_preferred_width + 71
8   libgtk-3.0.dylib              	0x00000001030d2821 gtk_tree_view_column_cell_get_size + 97
9   libgtk-3.0.dylib              	0x00000001030c8477 validate_row + 839
10  libgtk-3.0.dylib              	0x00000001030c7ddf do_validate_rows + 927
11  libgtk-3.0.dylib              	0x00000001030c3fb2 gtk_tree_view_get_preferred_width + 34
12  libgtk-3.0.dylib              	0x00000001030402ab gtk_widget_query_size_for_orientation + 747
13  libgtk-3.0.dylib              	0x000000010303f86e gtk_widget_compute_size_for_orientation + 110
14  libgtk-3.0.dylib              	0x000000010303f7f8 gtk_widget_get_preferred_width + 40
15  libgtk-3.0.dylib              	0x000000010302d9cf gtk_scrolled_window_measure + 543
16  libgtk-3.0.dylib              	0x0000000102eed7fe gtk_css_custom_gadget_get_preferred_size + 30
17  libgtk-3.0.dylib              	0x0000000102ef1c6b gtk_css_gadget_get_preferred_size + 2043
18  libgtk-3.0.dylib              	0x000000010302b570 gtk_scrolled_window_get_preferred_width + 48
19  libgtk-3.0.dylib              	0x00000001030402ab gtk_widget_query_size_for_orientation + 747
20  libgtk-3.0.dylib              	0x000000010303f86e gtk_widget_compute_size_for_orientation + 110
21  libgtk-3.0.dylib              	0x000000010303f7f8 gtk_widget_get_preferred_width + 40
22  libgtk-3.0.dylib              	0x0000000102ea58c7 gtk_box_get_content_size + 551
23  libgtk-3.0.dylib              	0x0000000102eed7fe gtk_css_custom_gadget_get_preferred_size + 30
24  libgtk-3.0.dylib              	0x0000000102ef1c6b gtk_css_gadget_get_preferred_size + 2043
25  libgtk-3.0.dylib              	0x0000000102ea4ee0 gtk_box_get_preferred_width + 48
26  libgtk-3.0.dylib              	0x00000001030402ab gtk_widget_query_size_for_orientation + 747
27  libgtk-3.0.dylib              	0x000000010303f86e gtk_widget_compute_size_for_orientation + 110
28  libgtk-3.0.dylib              	0x000000010303f7f8 gtk_widget_get_preferred_width + 40
29  libgtk-3.0.dylib              	0x00000001030f7222 gtk_window_get_preferred_width + 306
30  libgtk-3.0.dylib              	0x0000000102e9a0f3 gtk_application_window_real_get_preferred_width + 51
31  libgtk-3.0.dylib              	0x00000001030402ab gtk_widget_query_size_for_orientation + 747
32  libgtk-3.0.dylib              	0x000000010303f86e gtk_widget_compute_size_for_orientation + 110
33  libgtk-3.0.dylib              	0x000000010303fb8a _gtk_widget_get_preferred_size_and_baseline + 266
34  libgtk-3.0.dylib              	0x00000001030efa97 gtk_window_compute_configure_request + 151
35  libgtk-3.0.dylib              	0x00000001030f5de1 gtk_window_realize + 641
36  libgtk-3.0.dylib              	0x0000000102e9a3d0 gtk_application_window_real_realize + 96
37  libgobject-2.0.0.dylib        	0x0000000103d78c9c g_closure_invoke + 220
38  libgobject-2.0.0.dylib        	0x0000000103d8e01f signal_emit_unlocked_R + 1135
39  libgobject-2.0.0.dylib        	0x0000000103d8f0d5 g_signal_emit_valist + 2165
40  libgobject-2.0.0.dylib        	0x0000000103d8f872 g_signal_emit + 130
41  libgtk-3.0.dylib              	0x00000001030dbfad gtk_widget_realize + 173
42  libgtk-3.0.dylib              	0x00000001030f5499 gtk_window_show + 89
43  libgobject-2.0.0.dylib        	0x0000000103d78c9c g_closure_invoke + 220
44  libgobject-2.0.0.dylib        	0x0000000103d8e01f signal_emit_unlocked_R + 1135
45  libgobject-2.0.0.dylib        	0x0000000103d8f0d5 g_signal_emit_valist + 2165
46  libgobject-2.0.0.dylib        	0x0000000103d8f872 g_signal_emit + 130
47  libgtk-3.0.dylib              	0x00000001030dbb49 gtk_widget_show + 233
48  .transmission-gtk-wrapped     	0x0000000102d5399a on_startup + 1114
49  libgobject-2.0.0.dylib        	0x0000000103d78c9c g_closure_invoke + 220
50  libgobject-2.0.0.dylib        	0x0000000103d8e5a0 signal_emit_unlocked_R + 2544
51  libgobject-2.0.0.dylib        	0x0000000103d8f0d5 g_signal_emit_valist + 2165
52  libgobject-2.0.0.dylib        	0x0000000103d8f872 g_signal_emit + 130
53  libgio-2.0.0.dylib            	0x0000000103c4c789 g_application_register + 233
54  libgio-2.0.0.dylib            	0x0000000103c4e6c3 g_application_real_local_command_line + 1347
55  libgio-2.0.0.dylib            	0x0000000103c4cd70 g_application_run + 368
56  .transmission-gtk-wrapped     	0x0000000102d53458 main + 1384
57  libdyld.dylib                 	0x00007fff6438f015 start + 1
```
Transmission-gtk segmentation faul on macOS
issue
created
matthewbauer
username_0
Related to not finding themes - shouldn't a default be provided?

Workaround:

```
XDG_DATA_DIRS=$(nix-build '<nixpkgs>' -A gnome3.adwaita-icon-theme)/share nix run nixpkgs.transmission_gtk -c transmission-gtk
```
comment
created
jtojnar
username_1
We have decided that icons should be picked up from environment. It should not segfault, though – on Linux it just displays placeholders. Maybe try to get debug symbols and report upstream?
comment
closed
matthewbauer
username_0
issue