Open rapenne-s opened 2 years ago
Possibly related? https://github.com/NixOS/nixpkgs/issues/140909
Possibly related? #140909
I can't trigger the firefox issue but I used to gnome and xfce in the past so my HOME isn't entirely clean. Maybe it would fail on a fresh plasma profile. Some tests should be done on a clean user, I'll try if I find some time.
The Firefox issue seems to have resolved itself on unstable, and I also can't reproduce other things crashing on unstable now...
The Firefox issue seems to have resolved itself on unstable, and I also can't reproduce other things crashing on unstable now...
I tried on a fresh 21.11 user with plasma and I can't reproduce the Firefox crash.
I'll try upgrading to unstable to see if I can trigger the crash.
I booted on a nixos-unstable environment with plasma desktop on my new user.
For me it’s Qt applications crashing when I try to open File Dialog. I’m using NixOS 21.11 (there was no such bug in 21.05), i3wm, Adwaita Dark system theme, and adwaita-qt. For example audacious and qtcreator are crashing with these errors:
(qtcreator:31572): GLib-GIO-ERROR **: 16:18:25.686: No GSettings schemas are installed on the system
(.audacious-wrapped:39675): GLib-GIO-ERROR **: 16:20:43.314: No GSettings schemas are installed on the system
But not always. If I just reboot and try to open a file dialog in audacious it works. Until some point, don’t know at what moment it breaks.
For me it’s Qt applications crashing when I try to open File Dialog. I’m using NixOS 21.11 (there was no such bug in 21.05), i3wm, Adwaita Dark system theme, and adwaita-qt. For example audacious and qtcreator are crashing with these errors:
(qtcreator:31572): GLib-GIO-ERROR **: 16:18:25.686: No GSettings schemas are installed on the system
(.audacious-wrapped:39675): GLib-GIO-ERROR **: 16:20:43.314: No GSettings schemas are installed on the system
But not always. If I just reboot and try to open a file dialog in audacious it works. Until some point, don’t know at what moment it breaks.
This seems an entirely different issue
Have just hit this issue with mednaffe
and gramps
, am running Plasma on 21.11.334247.573095944e7
$ mednaffe
[23:36:52] Starting Mednaffe 0.9.1
[23:36:52] Joystick found: ID: 0x0005054c09cc81000008000d00000000 - Wireless Controller
(mednaffe:84401): GLib-GIO-ERROR **: 23:36:54.464: No GSettings schemas are installed on the system
Trace/breakpoint trap (core dumped)
$ gramps
2021-12-16 23:37:43.442: WARNING: grampsgui.py: line 538: GTK translations missing, GUI will be broken, especially for RTL languages!
2021-12-16 23:37:45.197: WARNING: dummydb.py: line 1420: database is closed
(.gramps-wrapped:84564): GLib-GIO-ERROR **: 23:38:00.628: No GSettings schemas are installed on the system
Trace/breakpoint trap (core dumped)
Not sure if related, but gramps spits out:
Did the same when I used LANG=en_US.UTF-8 LANGUAGE=en_US
.
EDIT: Backtrace for mednaffe:
#0 0x00007fda29abaa07 in g_log_structured_array () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libglib-2.0.so.0
#1 0x00007fda29abae15 in g_log_default_handler () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libglib-2.0.so.0
#2 0x00007fda29abb05e in g_logv () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libglib-2.0.so.0
#3 0x00007fda29abb30f in g_log () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libglib-2.0.so.0
#4 0x00007fda29ce7cfa in g_settings_set_property () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgio-2.0.so.0
#5 0x00007fda29baf9b6 in object_set_property () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#6 0x00007fda29bafd6c in g_object_new_internal () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#7 0x00007fda29bb1688 in g_object_new_valist () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#8 0x00007fda29bb1bb9 in g_object_new () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#9 0x00007fda2a37646c in _gtk_file_chooser_get_settings_for_widget () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
#10 0x00007fda2a377460 in gtk_file_chooser_widget_get_default_size () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
#11 0x00007fda2a3719d6 in file_chooser_widget_default_size_changed () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
#12 0x00007fda29baa64f in g_closure_invoke () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#13 0x00007fda29bbc37b in signal_emit_unlocked_R.isra.0 () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#14 0x00007fda29bc2a5f in g_signal_emit_valist () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#15 0x00007fda29bc31df in g_signal_emit_by_name () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#16 0x00007fda2a38303a in gtk_file_chooser_widget_set_property () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
#17 0x00007fda29baf9b6 in object_set_property () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#18 0x00007fda29bb1d3c in g_object_setv () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#19 0x00007fda29bb2a1b in g_object_set_property () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#20 0x00007fda29baf9b6 in object_set_property () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#21 0x00007fda29bafdd0 in g_object_new_internal () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#22 0x00007fda29bb1688 in g_object_new_valist () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#23 0x00007fda29bb1bb9 in g_object_new () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#24 0x00007fda2a372293 in gtk_file_chooser_dialog_new () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
#25 0x0000000000412dac in select_path ()
#26 0x000000000041116b in path_combo_box_add_clicked ()
#27 0x00007fda29baa879 in _g_closure_invoke_va () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#28 0x00007fda29bc2d2b in g_signal_emit_valist () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#29 0x00007fda29bc2fbf in g_signal_emit () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#30 0x00007fda2a2d34b0 in gtk_real_button_released () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
#31 0x00007fda29baa879 in _g_closure_invoke_va () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#32 0x00007fda29bc2d2b in g_signal_emit_valist () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#33 0x00007fda29bc2fbf in g_signal_emit () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#34 0x00007fda2a2d1740 in multipress_released_cb () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
#35 0x00007fda2a291337 in _gtk_marshal_VOID__INT_DOUBLE_DOUBLEv () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
#36 0x00007fda29baa879 in _g_closure_invoke_va () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#37 0x00007fda29bc2d2b in g_signal_emit_valist () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#38 0x00007fda29bc2fbf in g_signal_emit () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#39 0x00007fda2a39e784 in gtk_gesture_multi_press_end () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
#40 0x00007fda29bad61b in g_cclosure_marshal_VOID__BOXEDv () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#41 0x00007fda29baa879 in _g_closure_invoke_va () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#42 0x00007fda29bc2d2b in g_signal_emit_valist () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#43 0x00007fda29bc2fbf in g_signal_emit () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#44 0x00007fda2a39b837 in _gtk_gesture_check_recognized () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
#45 0x00007fda2a39ced3 in gtk_gesture_handle_event () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
#46 0x00007fda2a39ff5f in gtk_gesture_single_handle_event () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
--Type <RET> for more, q to quit, c to continue without paging--
#47 0x00007fda2a36621c in gtk_event_controller_handle_event () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
#48 0x00007fda2a53322d in _gtk_widget_run_controllers () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
#49 0x00007fda2a28a9f4 in _gtk_marshal_BOOLEAN__BOXEDv () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
#50 0x00007fda29baa879 in _g_closure_invoke_va () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#51 0x00007fda29bc2184 in g_signal_emit_valist () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#52 0x00007fda29bc2fbf in g_signal_emit () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#53 0x00007fda2a534ba4 in gtk_widget_event_internal.part () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
#54 0x00007fda2a3e75e0 in propagate_event () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
#55 0x00007fda2a3e91e3 in gtk_main_do_event () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
#56 0x00007fda2a123b15 in _gdk_event_emit () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgdk-3.so.0
#57 0x00007fda2a179b82 in gdk_event_source_dispatch () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgdk-3.so.0
#58 0x00007fda29ab3aab in g_main_context_dispatch () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libglib-2.0.so.0
#59 0x00007fda29ab3d58 in g_main_context_iterate.constprop () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libglib-2.0.so.0
#60 0x00007fda29ab3e0f in g_main_context_iteration () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libglib-2.0.so.0
#61 0x00007fda29cd0485 in g_application_run () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgio-2.0.so.0
#62 0x000000000040b7e4 in main ()
Backtrace from gramps:
#0 0x00007fbc81d07a07 in g_log_structured_array () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libglib-2.0.so.0
#1 0x00007fbc81d07e15 in g_log_default_handler () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libglib-2.0.so.0
#2 0x00007fbc81d0805e in g_logv () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libglib-2.0.so.0
#3 0x00007fbc81d0830f in g_log () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libglib-2.0.so.0
#4 0x00007fbc81aaccfa in g_settings_set_property () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgio-2.0.so.0
#5 0x00007fbc81c319b6 in object_set_property () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#6 0x00007fbc81c31d6c in g_object_new_internal () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#7 0x00007fbc81c33688 in g_object_new_valist () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#8 0x00007fbc81c33bb9 in g_object_new () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#9 0x00007fbc8018146c in _gtk_file_chooser_get_settings_for_widget () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
#10 0x00007fbc80182460 in gtk_file_chooser_widget_get_default_size () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
#11 0x00007fbc8017c9d6 in file_chooser_widget_default_size_changed () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
#12 0x00007fbc81c2c64f in g_closure_invoke () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#13 0x00007fbc81c3e37b in signal_emit_unlocked_R.isra.0 () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#14 0x00007fbc81c44a5f in g_signal_emit_valist () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#15 0x00007fbc81c451df in g_signal_emit_by_name () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#16 0x00007fbc81c2c879 in _g_closure_invoke_va () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#17 0x00007fbc81c44d2b in g_signal_emit_valist () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#18 0x00007fbc81c44fbf in g_signal_emit () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#19 0x00007fbc81c2c879 in _g_closure_invoke_va () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#20 0x00007fbc81c44d2b in g_signal_emit_valist () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#21 0x00007fbc81c44fbf in g_signal_emit () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#22 0x00007fbc802a27f5 in gtk_style_context_validate () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
#23 0x00007fbc80152f89 in gtk_css_widget_node_validate () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
#24 0x00007fbc8013644a in gtk_css_node_validate_internal.part () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
#25 0x00007fbc8013647b in gtk_css_node_validate_internal.part () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
#26 0x00007fbc8013647b in gtk_css_node_validate_internal.part () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
#27 0x00007fbc8035ce76 in gtk_window_show () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
#28 0x00007fbc81c2c64f in g_closure_invoke () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#29 0x00007fbc81c3e011 in signal_emit_unlocked_R.isra.0 () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#30 0x00007fbc81c44a5f in g_signal_emit_valist () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#31 0x00007fbc81c44fbf in g_signal_emit () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#32 0x00007fbc80349386 in gtk_widget_show () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
#33 0x00007fbc80155a18 in gtk_dialog_run () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
#34 0x00007fbc81c1186a in ffi_call_unix64 () from /nix/store/gdrwgfz3lr0dvrkwprqv2gd7d02fbww7-libffi-3.4.2/lib/libffi.so.8
#35 0x00007fbc81c109c2 in ffi_call_int () from /nix/store/gdrwgfz3lr0dvrkwprqv2gd7d02fbww7-libffi-3.4.2/lib/libffi.so.8
#36 0x00007fbc81e1227e in pygi_invoke_c_callable ()
from /nix/store/05sszdlgbmx7xc0j5wl8b7ycp1496ipc-python3.9-pygobject-3.42.0/lib/python3.9/site-packages/gi/_gi.cpython-39-x86_64-linux-gnu.so
#37 0x00007fbc81e14048 in pygi_function_cache_invoke ()
from /nix/store/05sszdlgbmx7xc0j5wl8b7ycp1496ipc-python3.9-pygobject-3.42.0/lib/python3.9/site-packages/gi/_gi.cpython-39-x86_64-linux-gnu.so
#38 0x00007fbc925312b9 in PyObject_Call () from /nix/store/5bh6rpya1ar6l49vrhx1rg58dsa42906-python3-3.9.6/lib/libpython3.9.so.1.0
#39 0x00007fbc924dde50 in _PyEval_EvalFrameDefault () from /nix/store/5bh6rpya1ar6l49vrhx1rg58dsa42906-python3-3.9.6/lib/libpython3.9.so.1.0
#40 0x00007fbc92628d9c in _PyEval_EvalCode () from /nix/store/5bh6rpya1ar6l49vrhx1rg58dsa42906-python3-3.9.6/lib/libpython3.9.so.1.0
#41 0x00007fbc9262919e in _PyFunction_Vectorcall () from /nix/store/5bh6rpya1ar6l49vrhx1rg58dsa42906-python3-3.9.6/lib/libpython3.9.so.1.0
#42 0x00007fbc924e3235 in _PyEval_EvalFrameDefault () from /nix/store/5bh6rpya1ar6l49vrhx1rg58dsa42906-python3-3.9.6/lib/libpython3.9.so.1.0
#43 0x00007fbc92628d9c in _PyEval_EvalCode () from /nix/store/5bh6rpya1ar6l49vrhx1rg58dsa42906-python3-3.9.6/lib/libpython3.9.so.1.0
#44 0x00007fbc9262919e in _PyFunction_Vectorcall () from /nix/store/5bh6rpya1ar6l49vrhx1rg58dsa42906-python3-3.9.6/lib/libpython3.9.so.1.0
--Type <RET> for more, q to quit, c to continue without paging--
#45 0x00007fbc92653016 in _PyObject_Call_Prepend () from /nix/store/5bh6rpya1ar6l49vrhx1rg58dsa42906-python3-3.9.6/lib/libpython3.9.so.1.0
#46 0x00007fbc926532a6 in slot_tp_init () from /nix/store/5bh6rpya1ar6l49vrhx1rg58dsa42906-python3-3.9.6/lib/libpython3.9.so.1.0
#47 0x00007fbc92568117 in type_call () from /nix/store/5bh6rpya1ar6l49vrhx1rg58dsa42906-python3-3.9.6/lib/libpython3.9.so.1.0
#48 0x00007fbc925279c0 in _PyObject_MakeTpCall () from /nix/store/5bh6rpya1ar6l49vrhx1rg58dsa42906-python3-3.9.6/lib/libpython3.9.so.1.0
#49 0x00007fbc924e223e in _PyEval_EvalFrameDefault () from /nix/store/5bh6rpya1ar6l49vrhx1rg58dsa42906-python3-3.9.6/lib/libpython3.9.so.1.0
#50 0x00007fbc924dc413 in function_code_fastcall () from /nix/store/5bh6rpya1ar6l49vrhx1rg58dsa42906-python3-3.9.6/lib/libpython3.9.so.1.0
#51 0x00007fbc924e3235 in _PyEval_EvalFrameDefault () from /nix/store/5bh6rpya1ar6l49vrhx1rg58dsa42906-python3-3.9.6/lib/libpython3.9.so.1.0
#52 0x00007fbc92628d9c in _PyEval_EvalCode () from /nix/store/5bh6rpya1ar6l49vrhx1rg58dsa42906-python3-3.9.6/lib/libpython3.9.so.1.0
#53 0x00007fbc9262919e in _PyFunction_Vectorcall () from /nix/store/5bh6rpya1ar6l49vrhx1rg58dsa42906-python3-3.9.6/lib/libpython3.9.so.1.0
#54 0x00007fbc92531f12 in method_vectorcall () from /nix/store/5bh6rpya1ar6l49vrhx1rg58dsa42906-python3-3.9.6/lib/libpython3.9.so.1.0
#55 0x00007fbc81e1134c in pygi_signal_closure_marshal ()
from /nix/store/05sszdlgbmx7xc0j5wl8b7ycp1496ipc-python3.9-pygobject-3.42.0/lib/python3.9/site-packages/gi/_gi.cpython-39-x86_64-linux-gnu.so
#56 0x00007fbc81c2c64f in g_closure_invoke () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#57 0x00007fbc81c3e37b in signal_emit_unlocked_R.isra.0 () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#58 0x00007fbc81c44a5f in g_signal_emit_valist () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#59 0x00007fbc81c44fbf in g_signal_emit () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#60 0x00007fbc81a9dd7d in g_simple_action_activate () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgio-2.0.so.0
#61 0x00007fbc8020b756 in gtk_menu_tracker_item_activated () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
#62 0x00007fbc81c2c64f in g_closure_invoke () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#63 0x00007fbc81c3e37b in signal_emit_unlocked_R.isra.0 () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#64 0x00007fbc81c44a5f in g_signal_emit_valist () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#65 0x00007fbc81c44fbf in g_signal_emit () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#66 0x00007fbc80342964 in gtk_widget_activate () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
#67 0x00007fbc80207bf6 in gtk_menu_shell_activate_item () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
#68 0x00007fbc80207ed3 in gtk_menu_shell_button_release () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
#69 0x00007fbc800959f4 in _gtk_marshal_BOOLEAN__BOXEDv () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
#70 0x00007fbc81c2c879 in _g_closure_invoke_va () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#71 0x00007fbc81c44184 in g_signal_emit_valist () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#72 0x00007fbc81c44fbf in g_signal_emit () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#73 0x00007fbc8033fba4 in gtk_widget_event_internal.part () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
#74 0x00007fbc801f25e0 in propagate_event () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
#75 0x00007fbc801f41e3 in gtk_main_do_event () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
#76 0x00007fbc80b0db15 in _gdk_event_emit () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgdk-3.so.0
#77 0x00007fbc80b63b82 in gdk_event_source_dispatch () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgdk-3.so.0
#78 0x00007fbc81d00aab in g_main_context_dispatch () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libglib-2.0.so.0
#79 0x00007fbc81d00d58 in g_main_context_iterate.constprop () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libglib-2.0.so.0
#80 0x00007fbc81d00e0f in g_main_context_iteration () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libglib-2.0.so.0
#81 0x00007fbc81a95485 in g_application_run () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgio-2.0.so.0
#82 0x00007fbc81c1186a in ffi_call_unix64 () from /nix/store/gdrwgfz3lr0dvrkwprqv2gd7d02fbww7-libffi-3.4.2/lib/libffi.so.8
#83 0x00007fbc81c109c2 in ffi_call_int () from /nix/store/gdrwgfz3lr0dvrkwprqv2gd7d02fbww7-libffi-3.4.2/lib/libffi.so.8
#84 0x00007fbc81e1227e in pygi_invoke_c_callable ()
from /nix/store/05sszdlgbmx7xc0j5wl8b7ycp1496ipc-python3.9-pygobject-3.42.0/lib/python3.9/site-packages/gi/_gi.cpython-39-x86_64-linux-gnu.so
#85 0x00007fbc81e14048 in pygi_function_cache_invoke ()
from /nix/store/05sszdlgbmx7xc0j5wl8b7ycp1496ipc-python3.9-pygobject-3.42.0/lib/python3.9/site-packages/gi/_gi.cpython-39-x86_64-linux-gnu.so
#86 0x00007fbc925312b9 in PyObject_Call () from /nix/store/5bh6rpya1ar6l49vrhx1rg58dsa42906-python3-3.9.6/lib/libpython3.9.so.1.0
#87 0x00007fbc924dde50 in _PyEval_EvalFrameDefault () from /nix/store/5bh6rpya1ar6l49vrhx1rg58dsa42906-python3-3.9.6/lib/libpython3.9.so.1.0
#88 0x00007fbc92628d9c in _PyEval_EvalCode () from /nix/store/5bh6rpya1ar6l49vrhx1rg58dsa42906-python3-3.9.6/lib/libpython3.9.so.1.0
--Type <RET> for more, q to quit, c to continue without paging--
#89 0x00007fbc9262919e in _PyFunction_Vectorcall () from /nix/store/5bh6rpya1ar6l49vrhx1rg58dsa42906-python3-3.9.6/lib/libpython3.9.so.1.0
#90 0x00007fbc924e3235 in _PyEval_EvalFrameDefault () from /nix/store/5bh6rpya1ar6l49vrhx1rg58dsa42906-python3-3.9.6/lib/libpython3.9.so.1.0
#91 0x00007fbc924dc413 in function_code_fastcall () from /nix/store/5bh6rpya1ar6l49vrhx1rg58dsa42906-python3-3.9.6/lib/libpython3.9.so.1.0
#92 0x00007fbc924e1f51 in _PyEval_EvalFrameDefault () from /nix/store/5bh6rpya1ar6l49vrhx1rg58dsa42906-python3-3.9.6/lib/libpython3.9.so.1.0
#93 0x00007fbc924dc413 in function_code_fastcall () from /nix/store/5bh6rpya1ar6l49vrhx1rg58dsa42906-python3-3.9.6/lib/libpython3.9.so.1.0
#94 0x00007fbc924e1f51 in _PyEval_EvalFrameDefault () from /nix/store/5bh6rpya1ar6l49vrhx1rg58dsa42906-python3-3.9.6/lib/libpython3.9.so.1.0
#95 0x00007fbc924dc413 in function_code_fastcall () from /nix/store/5bh6rpya1ar6l49vrhx1rg58dsa42906-python3-3.9.6/lib/libpython3.9.so.1.0
#96 0x00007fbc924e32fa in _PyEval_EvalFrameDefault () from /nix/store/5bh6rpya1ar6l49vrhx1rg58dsa42906-python3-3.9.6/lib/libpython3.9.so.1.0
#97 0x00007fbc92628d9c in _PyEval_EvalCode () from /nix/store/5bh6rpya1ar6l49vrhx1rg58dsa42906-python3-3.9.6/lib/libpython3.9.so.1.0
#98 0x00007fbc9262934d in PyEval_EvalCode () from /nix/store/5bh6rpya1ar6l49vrhx1rg58dsa42906-python3-3.9.6/lib/libpython3.9.so.1.0
#99 0x00007fbc926ed525 in run_mod () from /nix/store/5bh6rpya1ar6l49vrhx1rg58dsa42906-python3-3.9.6/lib/libpython3.9.so.1.0
#100 0x00007fbc926fffdd in PyRun_SimpleFileExFlags () from /nix/store/5bh6rpya1ar6l49vrhx1rg58dsa42906-python3-3.9.6/lib/libpython3.9.so.1.0
#101 0x00007fbc9270147b in Py_RunMain () from /nix/store/5bh6rpya1ar6l49vrhx1rg58dsa42906-python3-3.9.6/lib/libpython3.9.so.1.0
#102 0x00007fbc92701ac0 in Py_BytesMain () from /nix/store/5bh6rpya1ar6l49vrhx1rg58dsa42906-python3-3.9.6/lib/libpython3.9.so.1.0
#103 0x00007fbc920a2780 in __libc_start_main () from /nix/store/z56jcx3j1gfyk4sv7g8iaan0ssbdkhz1-glibc-2.33-56/lib/libc.so.6
#104 0x000000000040107a in _start ()
At least for Gramps, I was able to fix it locally by applying strictDeps = false
to the buildPythonApplication
instructions.
For gramps at least, for most (if not all) dialogs, you can get around by dragging and dropping files from the file manager, or pasting a path you've copied from elsewhere.
This is also happening for me on i3wm, so this issue is more universal than it seems.
Someone already workaround this on its own package: https://github.com/NixOS/nixpkgs/issues/142014. However I think this should be fixed on wrapGAppsHook
itself.
See also some discussion in https://github.com/NixOS/nixpkgs/pull/153364.
Pinging @NixOS/gnome.
GTK file chooser requires a directory containing certain GSettings schemas (${gtk3}/share/gsettings-schemas/${gtk3.name}
) in $XDG_DATA_DIRS
environment variable. Without it, the app will crash when file chooser is opened.
Every GTK app should have that set in a wrapper by wrapGAppsHook
, which every GTK app should use but sometimes the maintainer does not add wrapGAppsHook
to dependencies – perhaps the docs are not clear enough?
Even if wrapGAppsHook
is included, the setup hook might misbehave when the package has strictDeps
enabled. Note that strictDeps
are on by default for packages built with buildPythonPackage
and buildRustPackage
.
Finally, Qt uses GTK file chooser in some desktop environments, which basically requires all Qt apps to use wrapGAppsHook
too to avoid crashing. The alternative would be hardcoding the schema path in GTK, which would prevent unwrapped apps from crashing but they might still be rendered improperly since the wrapper is also needed for rendering SVG icons by GTK.
Edit: Sometimes wrapGAppsHook
functionality is also broken by the maintainer or the underlying infrastructure they use as was the case with buildDotnetModule
here. Usually it involves either overriding fixupPhase
or trying to replace wrapGAppsHook
without understanding all its intricacies.
GTK file chooser requires a directory containing certain GSettings schemas (
${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}
) in$XDG_DATA_DIRS
environment variable. Without it, the app will crash when file chooser is opened.Every GTK app should have that set in a wrapper by
wrapGAppsHook
, which every GTK app should use but sometimes the maintainer does not addwrapGAppsHook
to dependencies – perhaps the docs are not clear enough?Even if
wrapGAppsHook
is included, the setup hook might misbehave when the package hasstrictDeps
enabled. Note thatstrictDeps
are on by default for packages built withbuildPythonPackage
andbuildRustPackage
.Finally, Qt uses GTK file chooser in some desktop environments, which basically requires all Qt apps to use
wrapGAppsHook
too to avoid crashing. The alternative would be hardcoding the schema path in GTK, which would prevent unwrapped apps from crashing but they might still be rendered improperly since the wrapper is also needed for rendering SVG icons by GTK.
@jtojnar In #153364 I am using the wrapGAppsHook
, and it does not set strictDeps
, however I still am having issues.
Adding --prefix XDG_DATA_DIRS : ${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}
to gappsWrapperArgs
didn't work (it changes the error to Settings schema 'org.gtk.Settings.FileChooser' is not installed
though), however adding --prefix XDG_DATA_DIRS : ${gtk3}/share/gsettings-schemas/${gtk3.name}
did the trick. Setting both also fails with Settings schema 'org.gtk.Settings.FileChooser' is not installed
error.
Maybe I understand it wrong, but it doesn't seem to be working as it should.
@thiagokokada you are right, I misremembered, it is indeed the GTK schema which is required. However, including both should work too as XDG_DATA_DIRS
is traversed for each schema and GNOME apps frequently rely on schemas from multiple packages.
czkawka_gui
from czkawka
package is also failing
(czkawka_gui:11159): GLib-GIO-ERROR **: 12:25:26.737: No GSettings schemas are installed on the system
Trace/breakpoint trap (core dumped)
minigalaxy fixed by #169919
After upgrading to 22.05 the bug is still there. After pressing “add files” in Audacious this printed to the log and the app crashes:
(.audacious-wrapped:10657): GLib-GIO-ERROR **: 23:47:29.112: No GSettings schemas are installed on the system
Trace/breakpoint trap (core dumped)
For instance Carla also crashes when I press anything that invokes file picker:
$ nix-shell -p carla --run carla
Carla 2.4.3 started, status:
Python version: 3.9.12
Qt version: 5.15.3
PyQt version: 5.15.4
Binary dir: /nix/store/hsb2j6s5rdk9gg7bq0ipikh6j69p0di7-carla-2.4.3/lib/carla
Resources dir: /nix/store/hsb2j6s5rdk9gg7bq0ipikh6j69p0di7-carla-2.4.3/share/carla/resources
Frontend pixel ratio is 1.0
libjack.so.0 loaded successfully!
[carla] No device set, using 2 inputs and 2 outputs
/tmp/nix-shell-12924-0/rc: line 3: 14969 Trace/breakpoint trap (core dumped) carla
I managed to fix Audacious by doing this (Nix Shell config):
{ pkgs ? import <nixpkgs> {}
}:
let
audacious = pkgs.symlinkJoin {
name = "${pkgs.lib.getName pkgs.audacious}-wrapper";
nativeBuildInputs = [ pkgs.makeWrapper ];
buildInputs = [ pkgs.gtk3 ];
paths = [ pkgs.audacious ];
postBuild = ''
wrapProgram "$out"/bin/audacious \
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
'';
};
in
pkgs.mkShell {
buildInputs = [
audacious
];
}
Works for Carla as well:
{ pkgs ? import <nixpkgs> {}
}:
let
carla = pkgs.symlinkJoin {
name = "${pkgs.lib.getName pkgs.carla}-wrapper";
nativeBuildInputs = [ pkgs.makeWrapper ];
buildInputs = [ pkgs.gtk3 ];
paths = [ pkgs.carla ];
postBuild = ''
wrapProgram "$out"/bin/carla \
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
'';
};
in
pkgs.mkShell {
buildInputs = [
carla
];
}
Fixed this issue with Qt application by applying this hack to NixOS configuration:
{ pkgs, lib, ... }:
let
missing-gsettings-schemas-fix = builtins.readFile "${pkgs.stdenv.mkDerivation {
name = "missing-gsettings-schemas-fix";
dontUnpack = true; # Make it buildable without “src” attribute
buildInputs = [ pkgs.gtk3 ];
installPhase = '' printf %s "$GSETTINGS_SCHEMAS_PATH" > "$out" '';
}}";
in
{
# Fix for “No GSettings schemas are installed on the system” error
# that causes Qt application to crash when opening file picker dialog window.
environment.sessionVariables.XDG_DATA_DIRS = lib.mkAfter [ "${missing-gsettings-schemas-fix}" ];
}
It would be nice to solve this in nixpkgs itself. The problem still exists.
First time I bumped into this issue (surprisingly) while running nautilus
:
$ nautilus
(org.gnome.Nautilus:141313): GLib-GIO-ERROR **: 15:34:21.237: Settings schema 'org.gtk.Settings.FileChooser' is not installed
fish: Job 1, 'nautilus' terminated by signal SIGTRAP (Trace or breakpoint trap)
Wrapping the program with GSETTINGS_SCHEMAS_PATH
in XDG_DATA_DIRS
works but it is extremely slow, seems malfunctioning... Another rabbit hole to dig in 🥲
This is Nautilus bug, it uses GTK 4 now but still searches for GTK 3 schema (which it no longer has available), see #195985.
Fixed this issue with Qt application by applying this hack to NixOS configuration:
{ pkgs, lib, ... }: let missing-gsettings-schemas-fix = builtins.readFile "${pkgs.stdenv.mkDerivation { name = "missing-gsettings-schemas-fix"; dontUnpack = true; # Make it buildable without “src” attribute buildInputs = [ pkgs.gtk3 ]; installPhase = '' printf %s "$GSETTINGS_SCHEMAS_PATH" > "$out" ''; }}"; in { # Fix for “No GSettings schemas are installed on the system” error # that causes Qt application to crash when opening file picker dialog window. environment.sessionVariables.XDG_DATA_DIRS = lib.mkAfter [ "${missing-gsettings-schemas-fix}" ]; }
This fixed the "GSettings schema" errors that I was in getting in the sooperlooper package. It seems this affects a bunch of different packages?
That just means that package needs wrapGAppsHook
added.
Reproducible with simple-scan:
save
File picker is shown and crashes with simple-scan.
Edit(jtojnar): Reported in https://github.com/NixOS/nixpkgs/issues/271991
simple-scan is properly wrapped so that must be some other issue.
Describe the bug
When using a GTK component to choose a file from the filesystem in audacity-gtk3, grsync and zim packages, they have a segmentation fault and stop. This only happen when using plasma desktop, it works fine in Gnome or Xfce desktop (I didn't try other environments).
I tried to use an open file GTK component from foliate, cozy, gimp, pidgin, filezilla, gedit, easytag, geany, gthumb, pcmanfm, claws-mail, deluge, transmission-gtk, remmina, osmo without a crash.
What I see in common for these three packages is they existed in gtk2 flavor before and maybe something in the code is wrong now with gtk3. It may be related to a theme issue, I had a similar issue with some file picker component on another OS which was related to GTK themes.
Steps To Reproduce
Steps to reproduce the behavior: For audacity-gtk3
This is also reproducible with zim:
with grsync:
Expected behavior
it shouldn't crash
Additional context
I used gdb to get some extra information for audacity
Notify maintainers
@lheckemann (audacity), @pSub (zim), @kuznero (grsync)
Metadata
I'm using 21.11-small but problem also occurs on 21.11