terminal
terminal copied to clipboard
[GLib] setenv()/putenv() are not thread-safe and should not be used after threads are created
"[DEBUG 19:06:06.580774] [GLib] setenv()/putenv() are not thread-safe and should not be used after threads are created" when start terminal by type 'io.elementary.terminal'. how to fix? [DEBUG 00:59:19.158949] [GLib] unsetenv() is not thread-safe and should not be used after threads are created [DEBUG 00:59:19.162298] [GLib-GIO] _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’
(io.elementary.terminal:7430): Gtk-CRITICAL **: 00:59:19.596: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkNotebook [FATAL 01:00:41.014003] [Gdk] gdk_window_get_window_type: assertion 'GDK_IS_WINDOW (window)' failed
I do not get this when starting Terminal with io.elementary.terminal
typed into another terminal app or when typed into an existing Terminal window. I only get the Gtk-CRITICAL message about gtk_box_gadget_distribute.
Please give more information about your system and the exact circumstances in which this issue occurred.
i build from source with git clone. in this part : sudo ninja install io.elementary.terminal when type 'io.elementary.terminal', elementary start working. but in application have error log "[DEBUG 19:06:06.580774] [GLib] setenv()/putenv() are not thread-safe and should not be used after threads are created" when start terminal by type 'io.elementary.terminal'. how to fix? [DEBUG 00:59:19.158949] [GLib] unsetenv() is not thread-safe and should not be used after threads are created'. In default terminal have error log '[DEBUG 00:59:19.162298] [GLib-GIO] _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’
(io.elementary.terminal:7430): Gtk-CRITICAL **: 00:59:19.596: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkNotebook [FATAL 01:00:41.014003] [Gdk] gdk_window_get_window_type: assertion 'GDK_IS_WINDOW (window)' failed' . how to fix?
As asked in previous post, please give more information about your system configuration? What OS/distro and versions are you using?
Make sure you are building with the same versions of the dependencies as use in elementary Hera.
i install on debian. how to fix? '[DEBUG 05:49:19.493867] [GLib] unsetenv() is not thread-safe and should not be used after threads are created
(io.elementary.terminal:8572): Gtk-CRITICAL **: 05:49:19.650: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkNotebook' . How to add icon to menu?
If you are running a distro with later versions of the relevant libraries the I guess you would have to use a Flatpak or Snap or run the current version of Terminal in a vm. I do not think a Flatpak of elementary Terminal is available (not officially anyway). I think development on elementary 6.0 should be starting in the not too distant future though, which will have more up to date libraries. Unfortunately elementary native apps are not intended to run on other distros, especially if not based on Ubuntu Bionic/Gnome.
I just ran into exactly this message on elementary OS 6 (with all updates applied). I tried get a screenshot / screen record it but then I wasn't able to reproduce it, so sorry about that.
I had opened the terminal in the usual way from the applications menu. The terminal was "snapped" to the right half of the screen. Firefox was in the other half. This message would print to the terminal each time I would open a new tab. The only way I could open a new tab without this message being printed was to drag the window out from being snapped to half the screen. Then when I opened a new tab the message did not show up.
I have not yet figured out the sequence of steps that causes this to happen.
If I can reproduce this reliably I will report back with further info. Sorry I can't be more specific yet.