delorie.com/archives/browse.cgi   search  
Mail Archives: geda-help/2021/03/02/10:48:33

X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f
X-Recipient: geda-help AT delorie DOT com
X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.7+dev
X-Exmh-Isig-CompType: repl
X-Exmh-Isig-Folder: inbox
From: "karl AT aspodata DOT se [via geda-help AT delorie DOT com]" <geda-help AT delorie DOT com>
To: geda-help AT delorie DOT com
Subject: [geda-help] Re: Gschem segfaults
In-reply-to: <20210302145834.24761.qmail@stuge.se>
References: <xnh7nchcyj DOT fsf AT envy DOT delorie DOT com> <4b1d3d85-7f93-9eac-c4eb-9f84f2a47e61 AT bitflipper DOT ca> <CAMw9acBn7xNo5jvrvS6Dof6JtYgOOLVKJwFFTu93S+CoPszjHw AT mail DOT gmail DOT com> <20210225212042 DOT 16269 DOT qmail AT stuge DOT se> <20210226140333 DOT 7D5E78248737 AT turkos DOT aspodata DOT se> <20210226203024 DOT 8107 DOT qmail AT stuge DOT se> <20210226220140 DOT D69CD824873C AT turkos DOT aspodata DOT se> <20210302145834 DOT 24761 DOT qmail AT stuge DOT se>
Comments: In-reply-to "Peter Stuge (peter AT stuge DOT se) [via geda-help AT delorie DOT com]" <geda-help AT delorie DOT com>
message dated "Tue, 02 Mar 2021 14:58:34 +0000."
Mime-Version: 1.0
Message-Id: <20210302154815.39C3682475BD@turkos.aspodata.se>
Date: Tue, 2 Mar 2021 16:48:15 +0100 (CET)
X-Virus-Scanned: ClamAV using ClamSMTP
Reply-To: geda-help AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-help AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Peter:
> Hi Karl, thanks for bumping the thread, and for providing good details!

My pleasure...

> karl AT aspodata DOT se [via geda-help AT delorie DOT com] wrote:
> > $ /usr/local/bin/gschem regulator.sch
> > 
> > (gschem:3889): Gdk-CRITICAL **: 22:52:13.828: IA__gdk_cairo_create: assertion 'GDK_IS_DRAWABLE (drawable)' failed
> > Segmentation fault
> > $
> 
> It looks like this assertion is showing us the reason for the segfault.
> But it's not clear to me why the assertion triggers.
> 
> Does the reverse situation ever happen? Ie. that the system-installed
> version segfaults, but a version in /usr/local works?

Not what I can remember, not sure.

> And would you be willing to download the 1.10.2 tarball and see if
> that behaves the same as git master when built and installed into
> /usr/local ?

Using
 http://ftp.geda-project.org/geda-gaf/stable/v1.10/1.10.2/geda-gaf-1.10.2.tar.gz

$ cd /Net/git/geda-gaf
$ make uninstall
...
$ cd <download dir>
$ tar zxf geda-gaf-1.10.2.tar.gz
$ cd geda-gaf-1.10.2
$ ./autogen.sh 
...
$ ./configure --enable-doxygen --disable-update-xdg-database --without-libfam
...
$ make
...
$ make install
...
$ /usr/local/bin/gschem 

(gschem:14119): Gdk-CRITICAL **: 16:37:04.872: IA__gdk_drawable_get_size: assertion 'GDK_IS_DRAWABLE (drawable)' failed

(gschem:14119): Gdk-CRITICAL **: 16:37:04.872: IA__gdk_cairo_create: assertion 'GDK_IS_DRAWABLE (drawable)' failed
Segmentation fault (core dumped)
$ /usr/local/bin/gschem regulator.sch

(gschem:14432): Gdk-CRITICAL **: 16:38:05.293: IA__gdk_cairo_create: assertion 'GDK_IS_DRAWABLE (drawable)' failed
Segmentation fault (core dumped)

  Removing the guile cache, gives me a little differnt error message, 
  but just the first time after guile auto compile.

$ rm -rf ~/.cache/guile/ccache/2.0-LE-8-2.0/
$ /usr/local/bin/gschem 
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
...
;;; compiled /home/karl/.cache/guile/ccache/2.0-LE-8-2.0/home/local/share/gEDA/scheme/auto-place-netname.scm.go

(gschem:16751): Gdk-CRITICAL **: 16:45:46.738: IA__gdk_drawable_get_size: assertion 'GDK_IS_DRAWABLE (drawable)' failed

** (gschem:16751): CRITICAL **: 16:45:46.738: gschem_page_geometry_set_values: assertion 'screen_width > 0' failed

(gschem:16751): Gdk-CRITICAL **: 16:45:46.738: IA__gdk_cairo_create: assertion 'GDK_IS_DRAWABLE (drawable)' failed
Segmentation fault (core dumped)
$

Btw, the main window (I guess) is mapped, and then immediately (it
feels like 1/3 of a second) unmapped.

Regards,
/Karl Hammar


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019