From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Luis Felipe Newsgroups: gmane.lisp.guile.user Subject: Guile-GI: builder:new-from-file: Segmentation fault Date: Sat, 24 Apr 2021 20:46:08 +0000 Message-ID: Reply-To: Luis Felipe Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35992"; mail-complaints-to="usenet@ciao.gmane.io" To: "guile-user@gnu.org" Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Sat Apr 24 22:46:32 2021 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1laPAd-0009Di-Ga for guile-user@m.gmane-mx.org; Sat, 24 Apr 2021 22:46:31 +0200 Original-Received: from localhost ([::1]:44036 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1laPAc-00021o-Kb for guile-user@m.gmane-mx.org; Sat, 24 Apr 2021 16:46:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40474) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1laPAS-00021d-5B for guile-user@gnu.org; Sat, 24 Apr 2021 16:46:20 -0400 Original-Received: from mail-40132.protonmail.ch ([185.70.40.132]:37701) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1laPAP-0000Ka-GR for guile-user@gnu.org; Sat, 24 Apr 2021 16:46:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1619297172; bh=bk367K+jTkYCv9m6dNZjJYkz3bUf5CcJZYucDtxDLj0=; h=Date:To:From:Reply-To:Subject:From; b=XYXKqCSrVAOjMEjJ7RbQuw2mZQy1x+pexa0Py4YNA0SzsigAtj7+6sgG1DLoA0l9c 02ucumFG0rtdJyF6S5HtxuXRdDDD7NIbp9UpFEXReZ5SGbZoM9F4IPayQ7SshYJQNu RF/nZYjYG1VxMkxWsYcv8yIWjfHMNXYotDc1PxS4= Received-SPF: pass client-ip=185.70.40.132; envelope-from=luis.felipe.la@protonmail.com; helo=mail-40132.protonmail.ch X-Spam_score_int: 2 X-Spam_score: 0.2 X-Spam_bar: / X-Spam_report: (0.2 / 5.0 requ) AC_FROM_MANY_DOTS=2.999, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:17447 Archived-At: Hi, I'm trying to learn some Guile-GI, but I just hit a segfault. I was trying = to create a GTK Builder from a file: =E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85= =E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85= =E2=98=85=E2=98=85=E2=98=85=E2=98=85 $ guile GNU Guile 3.0.5 Copyright (C) 1995-2021 Free Software Foundation, Inc. Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'. This program is free software, and you are welcome to redistribute it under certain conditions; type `,show c' for details. Enter `,help' for help. scheme@(guile-user)> (use-modules (gi) (gi repository)) scheme@(guile-user)> (require "Gio" "2.0") scheme@(guile-user)> (require "Gtk" "3.0") scheme@(guile-user)> (load-by-name "Gtk" "Builder") $1 =3D (translation-domain builder:translation-domain value-from-string-typ= e! builder:value-from-string-type! value-from-string! builder:value-from-st= ring! set-translation-domain builder:set-translation-domain set-application= builder:set-application get-type-from-name builder:get-type-from-name get-= translation-domain builder:get-translation-domain get-objects builder:get-o= bjects get-object builder:get-object get-application builder:get-applicatio= n extend-with-template builder:extend-with-template expose-object builder:e= xpose-object connect-signals-full builder:connect-signals-full connect-sign= als builder:connect-signals add-objects-from-string builder:add-objects-fro= m-string add-objects-from-resource builder:add-objects-from-resource add-ob= jects-from-file builder:add-objects-from-file add-from-string builder:add-f= rom-string add-from-resource builder:add-from-resource add-from-file builde= r:add-from-file add-callback-symbol builder:add-callback-symbol builder:new= -from-string builder:new-from-resource builder:new-from-file builder:new ) scheme@(guile-user)> (builder:new-from-file "app.ui") (process:13659): Gtk-CRITICAL **: 15:12:12.366: _gtk_style_provider_private= _get_settings: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed (process:13659): Gtk-CRITICAL **: 15:12:12.366: _gtk_style_provider_private= _get_settings: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed (process:13659): Gtk-CRITICAL **: 15:12:12.366: _gtk_style_provider_private= _get_settings: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed Violaci=C3=B3n de segmento =E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85= =E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85= =E2=98=85=E2=98=85=E2=98=85=E2=98=85 I don't have a GitHub account (https://github.com/spk121/guile-gi), so I'm = reporting here instead. This is the UI file I used: https://luis-felipe.gitlab.io/downloads/temp/ap= p.ui. I'm on Guix System, using guile-gi 0.3.1. --- Luis Felipe L=C3=B3pez Acevedo https://luis-felipe.gitlab.io/