GithubHelp home page GithubHelp logo

Comments (22)

vzh avatar vzh commented on May 28, 2024

Please look inside of your /usr/local/share/lepton-eda/system-gschemrc, maybe it just has the symbol # somewhere in it. If in doubt, just attach the file here. If GH doesn't allow to attach the file without extension, just rename it to system-gschemrc.txt.

from lepton-eda.

vzh avatar vzh commented on May 28, 2024

Hmm, I've probably misread your message. Your first message contains

;;; WARNING: compilation of /usr/local/share/lepton-eda/scheme/netlist/net.scm failed:
;;; Wrong type to apply: #

Maybe your compiled guile files *.go and their corresponding sources *.scm differ? Please try to rm -r ~/.cache/guile/ first.

from lepton-eda.

leguizar avatar leguizar commented on May 28, 2024

Hello,
to your first comment system-gshemrc is as follows:
(use-modules (gschem deprecated)
(schematic action)
(schematic attrib)
(schematic builtins)
(schematic gui keymap)
(schematic gui stroke)
(schematic menu)
(schematic netlist)
(lepton config))

( load-from-path "conf/schematic/deprecated.scm" )
( load-from-path "conf/schematic/attribs.scm" )
( load-from-path "conf/schematic/stroke.scm" )
( load-from-path "conf/schematic/keys.scm" )
( load-from-path "conf/schematic/menu.scm" )

from lepton-eda.

leguizar avatar leguizar commented on May 28, 2024

To your second recommendation, it works perfect!! Thanks a lot!!
First I removed /guile/ from /.cache/
Second in the terminal I ran lepton-sehematic and after compiling it rebuild /guile/ in /.cache/ AND
IT WORKS!!, at least it starts, please allow me to try the soft and I'll be back to tell you.

from lepton-eda.

leguizar avatar leguizar commented on May 28, 2024

Hello again, it appears another problem when I running the software, when I tried to generate a new symbol archive and adding elements to the drawing, suddendly the program closed showing this message in the terminal window:

lepton-schematic TDA1085C.sym

(guile-3.0:30230): GLib-GObject-WARNING **: 17:16:08.364: invalid unclassed pointer in cast to 'GtkToggleButton'

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.364: IA__gtk_toggle_button_get_active: assertion 'GTK_IS_TOGGLE_BUTTON (toggle_button)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.364: IA__gtk_tree_view_get_model: assertion 'GTK_IS_TREE_VIEW (tree_view)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.364: IA__gtk_list_store_clear: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.364: IA__gtk_list_store_append: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.364: IA__gtk_list_store_set_valist: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.364: IA__gtk_list_store_append: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.364: IA__gtk_list_store_set_valist: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.364: IA__gtk_list_store_append: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.364: IA__gtk_list_store_set_valist: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.364: IA__gtk_list_store_append: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.365: IA__gtk_list_store_set_valist: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): GLib-GObject-WARNING **: 17:16:08.365: invalid uninstantiatable type '(null)' in cast to 'GtkWidget'

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.365: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed

(guile-3.0:30230): GLib-GObject-WARNING **: 17:16:08.365: invalid unclassed pointer in cast to 'GtkWidget'

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.365: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed

(guile-3.0:30230): GLib-GObject-WARNING **: 17:16:08.365: invalid unclassed pointer in cast to 'GtkWidget'

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.365: IA__gtk_widget_get_style: assertion 'GTK_IS_WIDGET (widget)' failed

(guile-3.0:30230): GLib-GObject-WARNING **: 17:16:08.365: invalid unclassed pointer in cast to 'GtkWidget'

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.365: IA__gtk_widget_modify_text: assertion 'GTK_IS_WIDGET (widget)' failed

(guile-3.0:30230): GLib-GObject-WARNING **: 17:16:08.365: invalid unclassed pointer in cast to 'GtkToggleButton'

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.366: IA__gtk_toggle_button_get_active: assertion 'GTK_IS_TOGGLE_BUTTON (toggle_button)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.366: IA__gtk_tree_view_get_model: assertion 'GTK_IS_TREE_VIEW (tree_view)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.366: IA__gtk_list_store_clear: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.366: IA__gtk_list_store_append: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.366: IA__gtk_list_store_set_valist: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.366: IA__gtk_list_store_append: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.366: IA__gtk_list_store_set_valist: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.366: IA__gtk_list_store_append: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.366: IA__gtk_list_store_set_valist: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): GLib-GObject-WARNING **: 17:16:08.366: invalid uninstantiatable type '(null)' in cast to 'GtkWidget'

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.366: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed

(guile-3.0:30230): GLib-GObject-WARNING **: 17:16:08.366: invalid unclassed pointer in cast to 'GtkWidget'

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.366: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed

(guile-3.0:30230): GLib-GObject-WARNING **: 17:16:08.366: invalid unclassed pointer in cast to 'GtkWidget'

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.366: IA__gtk_widget_get_style: assertion 'GTK_IS_WIDGET (widget)' failed

(guile-3.0:30230): GLib-GObject-WARNING **: 17:16:08.366: invalid unclassed pointer in cast to 'GtkWidget'

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.366: IA__gtk_widget_modify_text: assertion 'GTK_IS_WIDGET (widget)' failed

(guile-3.0:30230): GLib-GObject-WARNING **: 17:16:08.369: invalid unclassed pointer in cast to 'GtkToggleButton'

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.369: IA__gtk_toggle_button_get_active: assertion 'GTK_IS_TOGGLE_BUTTON (toggle_button)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.369: IA__gtk_tree_view_get_model: assertion 'GTK_IS_TREE_VIEW (tree_view)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.369: IA__gtk_list_store_clear: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.369: IA__gtk_list_store_append: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.369: IA__gtk_list_store_set_valist: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.369: IA__gtk_list_store_append: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.369: IA__gtk_list_store_set_valist: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): GLib-GObject-WARNING **: 17:16:08.369: invalid uninstantiatable type '(null)' in cast to 'GtkWidget'

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.369: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed

(guile-3.0:30230): GLib-GObject-WARNING **: 17:16:08.369: invalid unclassed pointer in cast to 'GtkWidget'

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.369: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed

(guile-3.0:30230): GLib-GObject-WARNING **: 17:16:08.369: invalid unclassed pointer in cast to 'GtkWidget'

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.369: IA__gtk_widget_get_style: assertion 'GTK_IS_WIDGET (widget)' failed

(guile-3.0:30230): GLib-GObject-WARNING **: 17:16:08.369: invalid unclassed pointer in cast to 'GtkWidget'

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.369: IA__gtk_widget_modify_text: assertion 'GTK_IS_WIDGET (widget)' failed

(guile-3.0:30230): GLib-GObject-WARNING **: 17:16:08.371: invalid unclassed pointer in cast to 'GtkToggleButton'

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.371: IA__gtk_toggle_button_get_active: assertion 'GTK_IS_TOGGLE_BUTTON (toggle_button)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.372: IA__gtk_tree_view_get_model: assertion 'GTK_IS_TREE_VIEW (tree_view)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.372: IA__gtk_list_store_clear: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.372: IA__gtk_list_store_append: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.372: IA__gtk_list_store_set_valist: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): GLib-GObject-WARNING **: 17:16:08.372: invalid uninstantiatable type '(null)' in cast to 'GtkWidget'

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.372: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed

(guile-3.0:30230): GLib-GObject-WARNING **: 17:16:08.372: invalid unclassed pointer in cast to 'GtkWidget'

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.372: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed

(guile-3.0:30230): GLib-GObject-WARNING **: 17:16:08.372: invalid unclassed pointer in cast to 'GtkWidget'

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.372: IA__gtk_widget_get_style: assertion 'GTK_IS_WIDGET (widget)' failed

(guile-3.0:30230): GLib-GObject-WARNING **: 17:16:08.372: invalid unclassed pointer in cast to 'GtkWidget'

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.372: IA__gtk_widget_modify_text: assertion 'GTK_IS_WIDGET (widget)' failed

(guile-3.0:30230): GLib-GObject-WARNING **: 17:16:08.373: invalid unclassed pointer in cast to 'GtkToggleButton'

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.373: IA__gtk_toggle_button_get_active: assertion 'GTK_IS_TOGGLE_BUTTON (toggle_button)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.373: IA__gtk_tree_view_get_model: assertion 'GTK_IS_TREE_VIEW (tree_view)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.373: IA__gtk_list_store_clear: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): GLib-GObject-WARNING **: 17:16:08.373: invalid uninstantiatable type '(null)' in cast to 'GtkWidget'

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.373: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed

(guile-3.0:30230): GLib-GObject-WARNING **: 17:16:08.373: invalid unclassed pointer in cast to 'GtkWidget'

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.373: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed

(guile-3.0:30230): GLib-GObject-WARNING **: 17:16:08.373: invalid unclassed pointer in cast to 'GtkWidget'

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.373: IA__gtk_widget_get_style: assertion 'GTK_IS_WIDGET (widget)' failed

(guile-3.0:30230): GLib-GObject-WARNING **: 17:16:08.373: invalid unclassed pointer in cast to 'GtkWidget'

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.373: IA__gtk_widget_modify_text: assertion 'GTK_IS_WIDGET (widget)' failed

(guile-3.0:30230): GLib-GObject-WARNING **: 17:16:08.375: invalid unclassed pointer in cast to 'GtkToggleButton'

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.375: IA__gtk_toggle_button_get_active: assertion 'GTK_IS_TOGGLE_BUTTON (toggle_button)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.375: IA__gtk_tree_view_get_model: assertion 'GTK_IS_TREE_VIEW (tree_view)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.375: IA__gtk_list_store_clear: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.375: IA__gtk_list_store_append: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.375: IA__gtk_list_store_set_valist: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.375: IA__gtk_list_store_append: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.375: IA__gtk_list_store_set_valist: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.375: IA__gtk_list_store_append: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.375: IA__gtk_list_store_set_valist: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.376: IA__gtk_list_store_append: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.376: IA__gtk_list_store_set_valist: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): GLib-GObject-WARNING **: 17:16:08.376: invalid uninstantiatable type '(null)' in cast to 'GtkWidget'

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.376: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed

(guile-3.0:30230): GLib-GObject-WARNING **: 17:16:08.376: invalid unclassed pointer in cast to 'GtkWidget'

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.376: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed

(guile-3.0:30230): GLib-GObject-WARNING **: 17:16:08.376: invalid unclassed pointer in cast to 'GtkWidget'

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.376: IA__gtk_widget_get_style: assertion 'GTK_IS_WIDGET (widget)' failed

(guile-3.0:30230): GLib-GObject-WARNING **: 17:16:08.376: invalid unclassed pointer in cast to 'GtkWidget'

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.376: IA__gtk_widget_modify_text: assertion 'GTK_IS_WIDGET (widget)' failed

(guile-3.0:30230): GLib-GObject-WARNING **: 17:16:08.376: invalid unclassed pointer in cast to 'GtkToggleButton'

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.377: IA__gtk_toggle_button_get_active: assertion 'GTK_IS_TOGGLE_BUTTON (toggle_button)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.377: IA__gtk_tree_view_get_model: assertion 'GTK_IS_TREE_VIEW (tree_view)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.377: IA__gtk_list_store_clear: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.377: IA__gtk_list_store_append: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.377: IA__gtk_list_store_set_valist: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.377: IA__gtk_list_store_append: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.377: IA__gtk_list_store_set_valist: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.377: IA__gtk_list_store_append: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.377: IA__gtk_list_store_set_valist: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.377: IA__gtk_list_store_append: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.377: IA__gtk_list_store_set_valist: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): GLib-GObject-WARNING **: 17:16:08.377: invalid uninstantiatable type '(null)' in cast to 'GtkWidget'

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.377: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed

(guile-3.0:30230): GLib-GObject-WARNING **: 17:16:08.377: invalid unclassed pointer in cast to 'GtkWidget'

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.377: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed

(guile-3.0:30230): GLib-GObject-WARNING **: 17:16:08.377: invalid unclassed pointer in cast to 'GtkWidget'

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.377: IA__gtk_widget_get_style: assertion 'GTK_IS_WIDGET (widget)' failed

(guile-3.0:30230): GLib-GObject-WARNING **: 17:16:08.377: invalid unclassed pointer in cast to 'GtkWidget'

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.377: IA__gtk_widget_modify_text: assertion 'GTK_IS_WIDGET (widget)' failed

(guile-3.0:30230): GLib-GObject-WARNING **: 17:16:08.379: invalid unclassed pointer in cast to 'GtkToggleButton'

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.379: IA__gtk_toggle_button_get_active: assertion 'GTK_IS_TOGGLE_BUTTON (toggle_button)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.379: IA__gtk_tree_view_get_model: assertion 'GTK_IS_TREE_VIEW (tree_view)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.379: IA__gtk_list_store_clear: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.379: IA__gtk_list_store_append: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.379: IA__gtk_list_store_set_valist: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.379: IA__gtk_list_store_append: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.379: IA__gtk_list_store_set_valist: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.379: IA__gtk_list_store_append: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.379: IA__gtk_list_store_set_valist: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.379: IA__gtk_list_store_append: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.379: IA__gtk_list_store_set_valist: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): GLib-GObject-WARNING **: 17:16:08.379: invalid uninstantiatable type '(null)' in cast to 'GtkWidget'

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.379: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed

(guile-3.0:30230): GLib-GObject-WARNING **: 17:16:08.379: invalid unclassed pointer in cast to 'GtkWidget'

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.379: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed

(guile-3.0:30230): GLib-GObject-WARNING **: 17:16:08.379: invalid unclassed pointer in cast to 'GtkWidget'

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.379: IA__gtk_widget_get_style: assertion 'GTK_IS_WIDGET (widget)' failed

(guile-3.0:30230): GLib-GObject-WARNING **: 17:16:08.380: invalid unclassed pointer in cast to 'GtkWidget'

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.380: IA__gtk_widget_modify_text: assertion 'GTK_IS_WIDGET (widget)' failed

(guile-3.0:30230): GLib-GObject-WARNING **: 17:16:08.381: invalid unclassed pointer in cast to 'GtkToggleButton'

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.381: IA__gtk_toggle_button_get_active: assertion 'GTK_IS_TOGGLE_BUTTON (toggle_button)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.381: IA__gtk_tree_view_get_model: assertion 'GTK_IS_TREE_VIEW (tree_view)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.381: IA__gtk_list_store_clear: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.381: IA__gtk_list_store_append: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.381: IA__gtk_list_store_set_valist: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.381: IA__gtk_list_store_append: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.381: IA__gtk_list_store_set_valist: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.381: IA__gtk_list_store_append: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.381: IA__gtk_list_store_set_valist: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.381: IA__gtk_list_store_append: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.381: IA__gtk_list_store_set_valist: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): GLib-GObject-WARNING **: 17:16:08.381: invalid uninstantiatable type '(null)' in cast to 'GtkWidget'

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.381: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed

(guile-3.0:30230): GLib-GObject-WARNING **: 17:16:08.381: invalid unclassed pointer in cast to 'GtkWidget'

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.381: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed

(guile-3.0:30230): GLib-GObject-WARNING **: 17:16:08.381: invalid unclassed pointer in cast to 'GtkWidget'

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.381: IA__gtk_widget_get_style: assertion 'GTK_IS_WIDGET (widget)' failed

(guile-3.0:30230): GLib-GObject-WARNING **: 17:16:08.381: invalid unclassed pointer in cast to 'GtkWidget'

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.381: IA__gtk_widget_modify_text: assertion 'GTK_IS_WIDGET (widget)' failed

(guile-3.0:30230): GLib-GObject-WARNING **: 17:16:08.382: invalid unclassed pointer in cast to 'GtkToggleButton'

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.382: IA__gtk_toggle_button_get_active: assertion 'GTK_IS_TOGGLE_BUTTON (toggle_button)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.382: IA__gtk_tree_view_get_model: assertion 'GTK_IS_TREE_VIEW (tree_view)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.382: IA__gtk_list_store_clear: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.382: IA__gtk_list_store_append: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.382: IA__gtk_list_store_set_valist: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.382: IA__gtk_list_store_append: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.382: IA__gtk_list_store_set_valist: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.382: IA__gtk_list_store_append: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.382: IA__gtk_list_store_set_valist: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.382: IA__gtk_list_store_append: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.382: IA__gtk_list_store_set_valist: assertion 'GTK_IS_LIST_STORE (list_store)' failed

(guile-3.0:30230): GLib-GObject-WARNING **: 17:16:08.382: invalid uninstantiatable type '(null)' in cast to 'GtkWidget'

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.382: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed

(guile-3.0:30230): GLib-GObject-WARNING **: 17:16:08.382: invalid unclassed pointer in cast to 'GtkWidget'

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.382: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed

(guile-3.0:30230): GLib-GObject-WARNING **: 17:16:08.382: invalid unclassed pointer in cast to 'GtkWidget'

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.382: IA__gtk_widget_get_style: assertion 'GTK_IS_WIDGET (widget)' failed

(guile-3.0:30230): GLib-GObject-WARNING **: 17:16:08.382: invalid unclassed pointer in cast to 'GtkWidget'

(guile-3.0:30230): Gtk-CRITICAL **: 17:16:08.382: IA__gtk_widget_modify_text: assertion 'GTK_IS_WIDGET (widget)' failed
Segmentation fault (core dumped)

The same message appears using Lepton-eda 1.9.16, that's why I moved to 1.9.18 version, but the problem, remains.

The log message is as follows:
Lepton EDA/lepton-schematic 1.9.18.20220529 (git: d24967d)

Loaded RC file [/usr/local/share/lepton-eda/system-gafrc]
Library at "/home/leguizar/gaf/gschem-sym" has been already added.
Library at "/home/leguizar/gaf/symbols" has been already added.
Loaded RC file [/home/leguizar/.config/lepton-eda/gafrc]
Loaded RC file [/usr/local/share/lepton-eda/system-gschemrc]
Loaded RC file [/home/leguizar/.config/lepton-eda/gschemrc]
Loading schematic [/home/leguizar/gaf/symbols/linear/TDA1085C.sym]

from lepton-eda.

graahnul-grom avatar graahnul-grom commented on May 28, 2024

Do you remember what exactly were you doing when crash happened?
Is this reproducible?
Please provide some info about your system: OS, version, graphics,
compositor, desktop environment, GTK theme/engine, versions of Guile, GTK.

from lepton-eda.

leguizar avatar leguizar commented on May 28, 2024

Hi, It doesn't matter if I make a circuit or a symbol, The program starts without problem, after add one element in a circuit and has been modified it's values or after make a connection and I try to add a new element the program freezes and closes. When I build an symbol and again after edit attributes in an element in the symbol using ee command I close the pop up window and when I try to edit another one, the program freezes and close.
Laptop: Dell Inspiron 7386
Processor: Intel® Core™ i5-8265U CPU @ 1.60GHz × 8
Memory 8 Gbytes
Graphics: Mesa Intel® UHD Graphics 620 (WHL GT2)
OS Ubuntu 22.04.2 LTS
Gnome Vers.: 42.5, Windowin System: Wayland.
GTK theme: Yaru
dpkg -l libgtk* | grep -e '^i' | grep -e 'libgtk-*[0-9]'
ii libgtk-3-0:amd64 3.24.33-1ubuntu2 amd64 GTK graphical user interface library
ii libgtk-3-bin 3.24.33-1ubuntu2 amd64 programs for the GTK graphical user interface library
ii libgtk-3-common 3.24.33-1ubuntu2 all common files for the GTK graphical user interface library
ii libgtk-3-dev:amd64 3.24.33-1ubuntu2 amd64 development files for the GTK library
ii libgtk-4-1:amd64 4.6.6+ds-0ubuntu1 amd64 GTK graphical user interface library
ii libgtk-4-bin 4.6.6+ds-0ubuntu1 amd64 programs for the GTK graphical user interface library
ii libgtk-4-common 4.6.6+ds-0ubuntu1 all common files for the GTK graphical user interface library
ii libgtk-4-dev:amd64 4.6.6+ds-0ubuntu1 amd64 development files for the GTK library
ii libgtk2.0-0:amd64 2.24.33-2ubuntu2 amd64 GTK graphical user interface library - old version
ii libgtk2.0-bin 2.24.33-2ubuntu2 amd64 programs for the GTK graphical user interface library
ii libgtk2.0-common 2.24.33-2ubuntu2 all common files for the GTK graphical user interface library
ii libgtk2.0-dev:amd64 2.24.33-2ubuntu2 amd64 development files for the GTK library
ii libgtk2.0-doc 2.24.33-2ubuntu2 all documentation for the GTK graphical user interface library
ii libgtk3-perl 0.038-1 all Perl bindings for the GTK+ graphical user interface library
ii libgtk3.0-cil 2.99.3-4build1 amd64 CLI binding for the GTK+ 3.0 toolkit
ii libgtk3.0-cil-dev 2.99.3-4build1 amd64 CLI binding for the GTK+ toolkit 3.0
Guile 3.0 vers.

from lepton-eda.

leguizar avatar leguizar commented on May 28, 2024

Sorry, Many thanks in advance.

from lepton-eda.

vzh avatar vzh commented on May 28, 2024

@leguizar, could you please follow this debug instruction:
https://lepton-eda.github.io/lepton-manual.html/Debug-Glib-and-GTK.html

After you started gdb, run the program by hitting r Enter, and then, if it segfaults, use the command bt and hit Enter to get the backtrace. I'd like to see the backtrace, maybe it can provide us with some clues.

Another thought, if you installed lepton from sources, you could try to remove it, and look if /usr/local has any paths/files rest after removing it. Sometimes they can influence the program action.

from lepton-eda.

vzh avatar vzh commented on May 28, 2024

BTW, I've not yet heard any report mentioned Wayland. JFTR.

from lepton-eda.

leguizar avatar leguizar commented on May 28, 2024

Hello,
Running the program it appears the following:

guile -s /usr/local/bin/lepton-schematic
GNU gdb (Ubuntu 12.1-0ubuntu1~22.04) 12.1
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
https://www.gnu.org/software/gdb/bugs/.
Find the GDB manual and other documentation resources online at:
http://www.gnu.org/software/gdb/documentation/.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from guile...
(No debugging symbols found in guile)
(gdb) r
Starting program: /usr/bin/guile -s /usr/local/bin/lepton-schematic
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7bab8f2 in GC_find_limit_with_bound () from /lib/x86_64-linux-gnu/libgc.so.1
(gdb) bt
#0 0x00007ffff7bab8f2 in GC_find_limit_with_bound ()
from /lib/x86_64-linux-gnu/libgc.so.1
#1 0x00007ffff7bab9da in GC_init_linux_data_start ()
from /lib/x86_64-linux-gnu/libgc.so.1
#2 0x00007ffff7bacf67 in GC_init () from /lib/x86_64-linux-gnu/libgc.so.1
#3 0x00007ffff7ebac8e in ?? () from /lib/x86_64-linux-gnu/libguile-3.0.so.1
#4 0x00007ffff7f1e90f in ?? () from /lib/x86_64-linux-gnu/libguile-3.0.so.1
#5 0x00007ffff7f1ecde in ?? () from /lib/x86_64-linux-gnu/libguile-3.0.so.1
#6 0x00007ffff7bab80b in GC_call_with_stack_base ()
from /lib/x86_64-linux-gnu/libgc.so.1
#7 0x00007ffff7f19dbc in scm_with_guile ()
from /lib/x86_64-linux-gnu/libguile-3.0.so.1
#8 0x00007ffff7ebabd9 in scm_boot_guile ()
from /lib/x86_64-linux-gnu/libguile-3.0.so.1
#9 0x0000555555555193 in ?? ()
#10 0x00007ffff7c29d90 in __libc_start_call_main (
main=main@entry=0x555555555130, argc=argc@entry=3,
argv=argv@entry=0x7fffffffdfd8)
at ../sysdeps/nptl/libc_start_call_main.h:58
#11 0x00007ffff7c29e40 in __libc_start_main_impl (main=0x555555555130, argc=3,
argv=0x7fffffffdfd8, init=, fini=,
rtld_fini=, stack_end=0x7fffffffdfc8)
at ../csu/libc-start.c:392
--Type for more, q to quit, c to continue without paging--c
#12 0x0000555555555225 in ?? ()

I'm sorry for the delay, and Many Thanks in advance

from lepton-eda.

leguizar avatar leguizar commented on May 28, 2024

Another thought, if you installed lepton from sources, you could try to remove it, and look if /usr/local has any paths/files rest after removing it. Sometimes they can influence the program action.
Ok, I will try to remove and see what happens
Best Regards

from lepton-eda.

leguizar avatar leguizar commented on May 28, 2024

Hello, good morning.
I did make uninstall and remove from /usr/local/ all the existing components of lepton. Then I make the installation again and the problem still remain, the I ran the debuger gdb and get the following messages:

(gdb) r
Starting program: /usr/bin/guile -s /usr/local/bin/lepton-schematic
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7bab8f2 in GC_find_limit_with_bound () from /lib/x86_64-linux-gnu/libgc.so.1

(gdb) bt
#0 0x00007ffff7bab8f2 in GC_find_limit_with_bound () from /lib/x86_64-linux-gnu/libgc.so.1
#1 0x00007ffff7bab9da in GC_init_linux_data_start () from /lib/x86_64-linux-gnu/libgc.so.1
#2 0x00007ffff7bacf67 in GC_init () from /lib/x86_64-linux-gnu/libgc.so.1
#3 0x00007ffff7ebbc8e in ?? () from /lib/x86_64-linux-gnu/libguile-3.0.so.1
#4 0x00007ffff7f1f90f in ?? () from /lib/x86_64-linux-gnu/libguile-3.0.so.1
#5 0x00007ffff7f1fcde in ?? () from /lib/x86_64-linux-gnu/libguile-3.0.so.1
#6 0x00007ffff7bab80b in GC_call_with_stack_base () from /lib/x86_64-linux-gnu/libgc.so.1
#7 0x00007ffff7f1adbc in scm_with_guile () from /lib/x86_64-linux-gnu/libguile-3.0.so.1
#8 0x00007ffff7ebbbd9 in scm_boot_guile () from /lib/x86_64-linux-gnu/libguile-3.0.so.1
#9 0x0000555555555193 in ?? ()
#10 0x00007ffff7c29d90 in __libc_start_call_main (main=main@entry=0x555555555130,
argc=argc@entry=3, argv=argv@entry=0x7fffffffdf38) at ../sysdeps/nptl/libc_start_call_main.h:58
#11 0x00007ffff7c29e40 in __libc_start_main_impl (main=0x555555555130, argc=3, argv=0x7fffffffdf38,
init=, fini=, rtld_fini=, stack_end=0x7fffffffdf28)
at ../csu/libc-start.c:392
#12 0x0000555555555225 in ?? ()
Kind Regards and Thank you so much Большое спасибо

from lepton-eda.

vzh avatar vzh commented on May 28, 2024

From what I've seen so far, I can say two things:

  • The program segfaults on garbage collection stage (all those GC_* calls).
  • Some widget gets unreachable for the program while it still tries to work with it (invalid uninstantiatable type '(null)' in cast to 'GtkWidget'), and the widget uses GtkTreeView or its derivatives.

Well, AFAIK, guile won't garbage collect any objects that are alive as top level C pointer since garbage collector scans heap for such objects and marks the memory for those objects as still in use.

First it would be helpful to localize the issue by narrowing down it. You've mentioned that you hit 'e e' and some time after that the crash happens. Could you please to try to not close the MultiAttrib dialog during your editing session and look if the crash still happens? (Other widgets that work with GtkTreeView are Close confirmation dialog, Find text state, Hotkey dialog, Page manager, Component selector, and Major refdes change dialog, as I can see from the code.)

from lepton-eda.

vzh avatar vzh commented on May 28, 2024

@leguizar, please report what the command guile --version outputs.
Another question: do you use --with-gtk3 on the ./configure stage when compiling the program?

from lepton-eda.

leguizar avatar leguizar commented on May 28, 2024

First, running the program with the MultiAttrib dialog open, editing a complete symbol, there's no crash.

guile (GNU Guile) 3.0.7
Packaged by Debian (3.0.7-deb+3.0.7-1)
Copyright (C) 2021 Free Software Foundation, Inc.
To your another question, no I didn't use the command --with-gtk3 when I compiled the program, Should I?
Regards

from lepton-eda.

vzh avatar vzh commented on May 28, 2024

Should I?

Oh no, I was just curious what gtk version crashes as you showed you have several versions.

OK, it seems the issue is related to the MultiAttrib dialog.

Let's try to localize it a bit more. Could you try to install guile 3.0.8 (or even 3.0.9)? The version has several bugs fixed as compared with 3.0.7. You could also try guile 2.2. In the latter case you have to remove guile cache, as we discussed above, and remove guile 3.0 development package, replacing it with one for guile 2.2.

from lepton-eda.

graahnul-grom avatar graahnul-grom commented on May 28, 2024

https://hboehm.info/gc/debugging.html
https://gitlab.alpinelinux.org/alpine/aports/-/issues/11447

boehm-gc(garbage collector used by Guile, GC_XXX)
uses SIGSEGV internally, so the actual error could be elsewhere.

Please try to run "handle SIGSEGV SIGBUS nostop noprint"
in the gdb prompt before issuing the run command.

from lepton-eda.

leguizar avatar leguizar commented on May 28, 2024

I'm sorry for the delay, but I had removed some packages that I should not, and now I'm dealing to install glb2.38.

from lepton-eda.

graahnul-grom avatar graahnul-grom commented on May 28, 2024

@leguizar How can we help you?

now I'm dealing to install glb2.38

This is, probably, a typo.
What package you are trying to install?

from lepton-eda.

leguizar avatar leguizar commented on May 28, 2024

Hi, I am trying to install glib-2.76.1, I have some issues as follows when I run meson so I trying to find if the "NO" in the compilation could cause the problem with the Lepton, there are some lines that I typed in bold which are worrying me,
The Meson build system
Version: 0.61.2
Source dir: /home/ramiro/Downloads/glib-2.76.1
Build dir: /home/ramiro/Downloads/glib-2.76.1/_build
Build type: native build
Project name: glib
Project version: 2.76.1
C compiler for the host machine: cc (gcc 11.3.0 "cc (Ubuntu 11.3.0-1ubuntu122.04) 11.3.0")
C linker for the host machine: cc ld.bfd 2.38
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C supports arguments -std=c90: YES
Compiler for C supports arguments -std=c99: YES
Compiler for C supports arguments -std=c11: YES
Compiler for C supports arguments -std=c17: YES
C++ compiler for the host machine: c++ (gcc 11.3.0 "c++ (Ubuntu 11.3.0-1ubuntu1
22.04) 11.3.0")
C++ linker for the host machine: c++ ld.bfd 2.38
Compiler for C++ supports arguments -std=c++98: YES
Compiler for C++ supports arguments -std=c++03: YES
Compiler for C++ supports arguments -std=c++11: YES
Compiler for C++ supports arguments -std=c++14: YES
Compiler for C++ supports arguments -std=c++17: YES
Compiler for C++ supports arguments -std=c++20: YES
Compiler for C++ supports arguments -std=c++2b: YES
Compiler for C++ supports arguments -std=c++latest: NO
Program valgrind found: YES (/usr/bin/valgrind)
Compiler for C supports arguments -fno-strict-aliasing: YES
Message: Disabling cast checks
Has header "alloca.h" : YES
Has header "afunix.h" : NO
Has header "crt_externs.h" : NO
Has header "dirent.h" : YES
Has header "float.h" : YES
Has header "fstab.h" : YES
Has header "grp.h" : YES
Has header "inttypes.h" : YES
Has header "limits.h" : YES
Has header "locale.h" : YES
Has header "mach/mach_time.h" : NO
Has header "memory.h" : YES
Has header "mntent.h" : YES
Has header "poll.h" : YES
Has header "pwd.h" : YES
Has header "sched.h" : YES
Has header "spawn.h" : YES
Has header "stdatomic.h" : YES
Has header "stdint.h" : YES
Has header "stdlib.h" : YES
Has header "string.h" : YES
Has header "strings.h" : YES
Has header "sys/auxv.h" : YES
Has header "sys/event.h" : NO
Has header "sys/filio.h" : NO
Has header "sys/inotify.h" : YES
Has header "sys/mkdev.h" : NO
Has header "sys/mntctl.h" : NO
**Has header "sys/mnttab.h" : NO

Has header "sys/mount.h" : YES
Has header "sys/param.h" : YES
Has header "sys/resource.h" : YES
Has header "sys/select.h" : YES
Has header "sys/statfs.h" : YES
Has header "sys/stat.h" : YES
Has header "sys/statvfs.h" : YES
Has header "sys/sysctl.h" : NO
Has header "sys/time.h" : YES
Has header "sys/times.h" : YES
Has header "sys/types.h" : YES
Has header "sys/uio.h" : YES
Has header "sys/vfs.h" : YES
Has header "sys/vfstab.h" : NO
Has header "sys/vmount.h" : NO
Has header "sys/wait.h" : YES
Has header "termios.h" : YES
Has header "unistd.h" : YES
Has header "values.h" : YES
Has header "wchar.h" : YES
Has header "xlocale.h" : NO
Check usable header "malloc.h" : YES
Has header "linux/netlink.h" : YES
Checking if "statx() test" compiles: YES
Header <locale.h> has symbol "LC_MESSAGES" : YES
Checking whether type "struct stat" has member "st_mtimensec" : NO
Checking whether type "struct stat" has member "st_mtim.tv_nsec" : YES
Checking whether type "struct stat" has member "st_atimensec" : NO
Checking whether type "struct stat" has member "st_atim.tv_nsec" : YES
Checking whether type "struct stat" has member "st_ctimensec" : NO
Checking whether type "struct stat" has member "st_ctim.tv_nsec" : YES
Checking whether type "struct stat" has member "st_birthtime" : NO
Checking whether type "struct stat" has member "st_birthtimensec" : NO
Checking whether type "struct stat" has member "st_birthtim" : NO
Checking whether type "struct stat" has member "st_birthtim.tv_nsec" : NO
Checking whether type "struct stat" has member "st_blksize" : YES
Checking whether type "struct stat" has member "st_blocks" : YES
Checking whether type "struct statfs" has member "f_fstypename" : NO
Checking whether type "struct statfs" has member "f_bavail" : YES
Checking whether type "struct dirent" has member "d_type" : YES
Checking whether type "struct statvfs" has member "f_basetype" : NO
Checking whether type "struct statvfs" has member "f_fstypename" : NO
Checking whether type "struct tm" has member "tm_gmtoff" : YES
Checking whether type "struct tm" has member "__tm_gmtoff" : NO
Compiler for C supports arguments -Wduplicated-branches: YES
Compiler for C supports arguments -Wimplicit-fallthrough: YES
Compiler for C supports arguments -Wmisleading-indentation: YES
Compiler for C supports arguments -Wmissing-field-initializers: YES
Compiler for C supports arguments -Wnonnull: YES
Compiler for C supports arguments -Wunused: YES
Compiler for C supports arguments -Wno-unused-parameter: YES
Compiler for C supports arguments -Wno-cast-function-type: YES
Compiler for C supports arguments -Wno-pedantic: YES
Compiler for C supports arguments -Wno-format-zero-length: YES
Compiler for C supports arguments -Wno-variadic-macros: YES
Compiler for C supports arguments -Werror=format=2: YES
Compiler for C supports arguments -Werror=init-self: YES
Compiler for C supports arguments -Werror=missing-include-dirs: YES
Compiler for C supports arguments -Werror=pointer-arith: YES
Compiler for C supports arguments -Werror=unused-result: YES
Compiler for C supports arguments -Wstrict-prototypes: YES
Compiler for C supports arguments -Wno-bad-function-cast: YES
Compiler for C supports arguments -Werror=implicit-function-declaration: YES
Compiler for C supports arguments -Werror=missing-prototypes: YES
Compiler for C supports arguments -Werror=pointer-sign: YES
Compiler for C supports arguments -Wno-string-plus-int: NO
Compiler for C++ supports arguments -Wduplicated-branches: YES
Compiler for C++ supports arguments -Wimplicit-fallthrough: YES
Compiler for C++ supports arguments -Wmisleading-indentation: YES
Compiler for C++ supports arguments -Wmissing-field-initializers: YES
Compiler for C++ supports arguments -Wnonnull: YES
Compiler for C++ supports arguments -Wunused: YES
Compiler for C++ supports arguments -Wno-unused-parameter: YES
Compiler for C++ supports arguments -Wno-cast-function-type: YES
Compiler for C++ supports arguments -Wno-pedantic: YES
Compiler for C++ supports arguments -Wno-format-zero-length: YES
Compiler for C++ supports arguments -Wno-variadic-macros: YES
Compiler for C++ supports arguments -Werror=format=2: YES
Compiler for C++ supports arguments -Werror=init-self: YES
Compiler for C++ supports arguments -Werror=missing-include-dirs: YES
Compiler for C++ supports arguments -Werror=pointer-arith: YES
Compiler for C++ supports arguments -Werror=unused-result: YES
Compiler for C supports link arguments -Wl,-z,nodelete: YES
Compiler for C supports link arguments -Wl,-Bsymbolic-functions: YES
Checking for function "accept4" : YES
Checking for function "close_range" : YES
Checking for function "endmntent" : YES
Checking for function "endservent" : YES
Checking for function "epoll_create" : YES
Checking for function "fallocate" : YES
Checking for function "fchmod" : YES
Checking for function "fchown" : YES
Checking for function "fdwalk" : NO
Checking for function "free_aligned_sized" : NO
Checking for function "free_sized" : NO
Checking for function "fsync" : YES
Checking for function "getauxval" : YES
Checking for function "getc_unlocked" : YES
Checking for function "getfsstat" : NO
Checking for function "getgrgid_r" : YES
Checking for function "getmntent_r" : YES
Checking for function "getpwuid_r" : YES
Checking for function "getresuid" : YES
Checking for function "getvfsstat" : NO
Checking for function "gmtime_r" : YES
Checking for function "hasmntopt" : YES
Checking for function "inotify_init1" : YES
Checking for function "issetugid" : NO
Checking for function "kevent" : NO
Checking for function "kqueue" : NO
Checking for function "lchmod" : YES
Checking for function "lchown" : YES
Checking for function "link" : YES
Checking for function "localtime_r" : YES
Checking for function "lstat" : YES
Checking for function "mbrtowc" : YES
Checking for function "memalign" : YES
Checking for function "mmap" : YES
Checking for function "newlocale" : YES
Checking for function "pipe2" : YES
Checking for function "poll" : YES
Checking for function "prlimit" : YES
Checking for function "readlink" : YES
Checking for function "recvmmsg" : YES
Checking for function "sendmmsg" : YES
Checking for function "setenv" : YES
Checking for function "setmntent" : YES
Checking for function "strerror_r" : YES
Checking for function "strnlen" : YES
Checking for function "strsignal" : YES
Checking for function "strtod_l" : YES
Checking for function "strtoll_l" : YES
Checking for function "strtoull_l" : YES
Checking for function "symlink" : YES
Checking for function "timegm" : YES
Checking for function "unsetenv" : YES
Checking for function "uselocale" : YES
Checking for function "utimes" : YES
Checking for function "utimensat" : YES
Checking for function "valloc" : YES
Checking for function "vasprintf" : YES
Checking for function "vsnprintf" : YES
Checking for function "wcrtomb" : YES
Checking for function "wcslen" : YES
Checking for function "wcsnlen" : YES
Checking for function "sysctlbyname" : NO
Checking for function "statvfs" : YES
Checking for function "statfs" : YES
Checking for function "if_indextoname" : YES
Checking for function "if_nametoindex" : YES
Checking for function "splice" : YES
Checking for function "stpcpy" : YES
Checking for function "memalign" : YES
Checking for function "_aligned_malloc" : NO
Checking for function "aligned_alloc" : NO
Checking for function "posix_memalign" : YES
Checking for function "posix_spawn" : YES
Checking if "strerror_r() returns char " compiles: YES
Checking for function "snprintf" : YES
Checking for function "strcasecmp" : YES
Checking for function "strncasecmp" : YES
Header <sys/sysmacros.h> has symbol "major" : YES
Header <dlfcn.h> has symbol "RTLD_LAZY" : YES
Header <dlfcn.h> has symbol "RTLD_NOW" : YES
Header <dlfcn.h> has symbol "RTLD_GLOBAL" : YES
Header <dlfcn.h> has symbol "RTLD_NEXT" : YES
Message: Checking whether to use statfs or statvfs .. statfs
Checking for function "mkostemp" : YES
Checking if "futex(2) system call" compiles: YES
Checking if "futex(2) system call" compiles: NO
Checking if "eventfd(2) system call" : links: YES
Checking if "pidfd_open(2) system call" : links: YES
Checking if "__uint128_t available" compiles: YES
Checking if "clock_gettime" : links: YES
Checking if "dlopen() and dlsym() in system libraries" : links: YES
Checking if "number of arguments to statfs() (n=2)" compiles: YES
Checking if "open() option O_DIRECTORY" compiles: YES
Checking if "fcntl() option F_FULLFSYNC" compiles: NO
Checking if "C99 vsnprintf" runs: YES
Checking if "C99 snprintf" runs: YES
Checking if "Unix98 printf positional parameters" runs: YES
Checking if "nl_langinfo and CODESET" : links: YES
Checking if "nl_langinfo (PM_STR)" : links: YES
Checking if "nl_langinfo (_NL_CTYPE_OUTDIGITn_MB)" : links: YES
Checking if "nl_langinfo (ALTMON_n)" : links: YES
Checking if "nl_langinfo (_NL_ABALTMON_n)" : links: YES
Checking if "nl_langinfo and _NL_TIME_CODESET" : links: YES
Checking if "signed" compiles: YES
Header <stddef.h> has symbol "ptrdiff_t" : YES
Checking if "sig_atomic_t" : links: YES
Checking if "long long" compiles: YES
Checking if "long double" compiles: YES
Header <stddef.h> has symbol "wchar_t" : YES
Header <wchar.h> has symbol "wint_t" : YES
Checking if "uintmax_t in inttypes.h" compiles: YES
Checking if "uintmax_t in stdint.h" compiles: YES
Checking for size of "char" : 1
Checking for size of "short" : 2
Checking for size of "int" : 4
Checking for size of "void
" : 8
Checking for size of "long" : 8
Checking for size of "long long" : 8
Checking for size of "size_t" : 8
Checking for size of "ssize_t" : 8
Checking if "int64_t is long" compiles: YES
Checking for alignment of "char" : 1
Checking for alignment of "short" : 2
Checking for alignment of "int" : 4
Checking for alignment of "void*" : 8
Checking for alignment of "long" : 8
Checking for alignment of "long long" : 8
Checking for alignment of "size_t" : 8
Checking for size of "wchar_t" : 4
Checking if "GCC size_t typedef is long" compiles: YES
Checking if "GCC size_t typedef is long long" compiles: NO
Checking if "va_lists can be copied as values" runs: DID NOT COMPILE
Checking if "ISO C99 varargs macros in C" compiles: YES
Checking if "ISO C99 varargs macros in C++" compiles: YES
Checking if "GNUC varargs macros" compiles: YES
Has header "alloca.h" : YES (cached)
Has header "sys/poll.h" : YES
Has header "sys/types.h" : YES (cached)
Has header "winsock2.h" : NO
Computing int of "POLLIN" : 1
Computing int of "POLLOUT" : 4
Computing int of "POLLPRI" : 2
Computing int of "POLLERR" : 8
Computing int of "POLLHUP" : 16
Computing int of "POLLNVAL" : 32
Computing int of "AF_UNIX" : 1
Computing int of "AF_INET" : 2
Computing int of "AF_INET6" : 10
Computing int of "MSG_OOB" : 1
Computing int of "MSG_PEEK" : 2
Computing int of "MSG_DONTROUTE" : 4
Checking for type "struct in6_addr" : YES
Checking if "atomic ops" : links: YES
Checking if "atomic ops define" compiles: YES
Checking if "sync swap" : links: NO
Run-time dependency threads found: YES
Header <pthread.h> has symbol "pthread_attr_setstacksize" : YES
Header <pthread.h> has symbol "pthread_attr_setinheritsched" : YES
Header <pthread.h> has symbol "pthread_condattr_setclock" : YES
Header <pthread.h> has symbol "pthread_cond_timedwait_relative_np" : NO
Header <pthread.h> has symbol "pthread_getname_np" : YES
Checking if "pthread_setname_np(const char*)" with dependency threads: links: NO
Checking if "pthread_setname_np(pthread_t, const char*)" with dependency threads: links: YES
Checking if "stack grows check" runs: NO (1)
Run-time dependency iconv found: YES
Found pkg-config: /usr/bin/pkg-config (0.29.2)
Run-time dependency libpcre2-8 found: YES 10.39

Executing subproject gvdb

gvdb| Project name: gvdb
gvdb| Project version: 0.0
gvdb| C compiler for the host machine: cc (gcc 11.3.0 "cc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0")
gvdb| C linker for the host machine: cc ld.bfd 2.38
gvdb| Build targets in project: 0
gvdb| Subproject gvdb finished.

Dependency gvdb found: YES 0.0 (overridden)
Library m found: YES
Run-time dependency libffi found: YES 3.4.2
Run-time dependency zlib found: YES 1.2.11
Run-time dependency intl found: YES
Checking for function "ngettext" with dependency intl: YES
Checking for function "bind_textdomain_codeset" with dependency intl: YES
Found CMake: /usr/bin/cmake (3.22.1)
Run-time dependency mount found: NO (tried pkgconfig and cmake)
Run-time dependency libselinux found: NO (tried pkgconfig and cmake)
Checking for function "getxattr" : YES
Has header "sys/xattr.h" : YES
Checking if "XATTR_NOFOLLOW" compiles: NO
Checking for function "strlcpy" : NO
Checking if "/proc/self/cmdline" runs: YES
Program python3 found: YES (/usr/bin/python3)
WARNING: Python files installed by Meson might not be found by python interpreter.
This warning can be avoided by setting "python.platlibdir" option.
WARNING: Python files installed by Meson might not be found by python interpreter.
This warning can be avoided by setting "python.purelibdir" option.
Program bash found: YES (/usr/bin/bash)
Run-time dependency bash-completion found: YES 2.11
Program sh found: YES (/usr/bin/sh)
Program env found: YES (/usr/bin/env)
Configuring glib-gettextize using configuration
Program gen-visibility-macros.py found: YES (/home/ramiro/Downloads/glib-2.76.1/tools/gen-visibility-macros.py)
Configuring glibconfig.h using configuration
Dependency sysprof-capture-4 skipped: feature sysprof disabled
Configuring gtester-report using configuration
Configuring libglib-2.0.so.0.7600.1-gdb.py using configuration
Program xmllint found: YES (/usr/bin/xmllint)
Configuring glib-genmarshal using configuration
Program glib-genmarshal found: YES (/home/ramiro/Downloads/glib-2.76.1/_build/gobject/glib-genmarshal)
Configuring glib-mkenums using configuration
Program glib-mkenums found: YES (/home/ramiro/Downloads/glib-2.76.1/_build/gobject/glib-mkenums)
Configuring libgobject-2.0.so.0.7600.1-gdb.py using configuration
Compiler for C supports arguments -DG_DISABLE_CAST_CHECKS: YES
Compiler for C supports arguments -Werror: YES
Compiler for C supports arguments -Wcast-align=strict: YES
Checking if "dlsym() preceding underscores" runs: YES
Checking for function "dlerror" : YES
Configuring gmoduleconf.h using configuration
Checking if "C_IN in public headers (no arpa/nameser_compat.h needed)" compiles: YES
Checking if "res_query()" : links: YES
Checking if "socket()" : links: YES
Checking if "dn_comp()" : links: YES
Checking if "res_nclose()" : links: YES
Checking if "res_ndestroy()" : links: NO
Checking if "res_ninit()" : links: YES
Checking if "res_nquery()" : links: YES
Checking for type "struct ip_mreqn" : YES
Checking if "ioctl with request SIOCGIFADDR" compiles: YES
Configuring gnetworking.h using configuration
Configuring gdbus-codegen using configuration
Program gdbus-codegen found: YES (/home/ramiro/Downloads/glib-2.76.1/_build/gio/gdbus-2.0/codegen/gdbus-codegen)
Configuring config.py using configuration
Run-time dependency libelf found: NO (tried pkgconfig and cmake)
Library elf found: NO
Has header "pty.h" : YES
Checking for function "openpty" : YES
Configuring gdbus-example-objectmanager-visibility.h with command
Program gengiotypefuncs.py found: YES (/usr/bin/python3 /home/ramiro/Downloads/glib-2.76.1/gio/tests/gengiotypefuncs.py)
Run-time dependency dbus-1 found: NO (tried pkgconfig and cmake)
Program dbus-daemon found: YES (/usr/bin/dbus-daemon)
Program msgfmt found: YES (/usr/bin/msgfmt)
Configuring appinfo-test-gnome.desktop using configuration
Configuring appinfo-test-notgnome.desktop using configuration
Configuring appinfo-test-path.desktop using configuration
Configuring appinfo-test.desktop using configuration
Configuring appinfo-test2.desktop using configuration
Program objcopy found: YES (/usr/bin/objcopy)
Program ld found: YES (/usr/bin/ld)
Configuring org.freedesktop.portal.Documents.service using configuration
Configuring org.gtk.GDBus.FakeService.service using configuration
Compiler for C supports arguments -Werror=unused-function: YES
Library FuzzingEngine skipped: feature oss_fuzz disabled
Program xgettext found: YES (/usr/bin/xgettext)
Configuring config.h using configuration
Program rst2html5 rst2html5.py found: NO
Build targets in project: 565

glib 2.76.1

Build environment
host cpu : x86_64
host endian : little
host system : linux
C Compiler : gcc
C++ Compiler : gcc
shared build : True
static build : False

Directories
prefix : /usr/local
bindir : /usr/local/bin
libexecdir : /usr/local/libexec
pkgdatadir : /usr/local/share/glib-2.0
datadir : /usr/local/share
includedir : /usr/local/include/glib-2.0
giomodulesdir : /usr/local/lib/x86_64-linux-gnu/gio/modules
localstatedir : /var/local
runstatedir : /run

Options
selinux : False
libmount : False
xattr : False
man : False
dtrace : False
systemtap : False
sysprof : False
gtk_doc : False
bsymbolic_functions: True
force_posix_threads: False
tests : True
installed_tests : False
nls : auto
oss_fuzz : disabled
glib_debug : auto
glib_assert : True
glib_checks : True
libelf : auto
multiarch : False

Subprojects
gvdb : YES
Well I am working on that just to be sure that glib are going to work fine.
Regards

from lepton-eda.

graahnul-grom avatar graahnul-grom commented on May 28, 2024

@leguizar
The messages you emphasized are harmless.
The question is why are you building glib yourself,
in the first place? Your distribution (Ubuntu 22.04.2)
provides the glib 2.72.4 package, which is OK for Lepton.
Do you have any problems installing it from Ubuntu repositories? Or with lepton-eda installation?
Did you try to run lepton-schematic in gdb using the commands I suggested in my previous message, i.e.:

(gdb) handle SIGSEGV SIGBUS nostop noprint
(gdb) run

from lepton-eda.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.