www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-help/2021/02/26/17:02:08

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: Gschem segfaults (was Re: [geda-help] How to get element outline off-board)
In-reply-to: <20210226203024.8107.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>
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 "Fri, 26 Feb 2021 20:30:24 +0000."
Mime-Version: 1.0
Message-Id: <20210226220140.D69CD824873C@turkos.aspodata.se>
Date: Fri, 26 Feb 2021 23:01:40 +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:
> karl AT aspodata DOT se [via geda-help AT delorie DOT com] wrote:
> > Unfortunately I don't seem to be able test old and new gschem i
> > parallell (having both installed gives me segfaults, in /usr/bin
> > and /usr/local/bin) makeing it hard for me to show this.
> 
> I'll help fix the segfaults if you like?

I'd appreciate that, thanks.

> I suppose they happen because libraries from the other version get used.
> Can you describe what you installed where and show the segfault?

This is gentoo system installed geda:

$ emerge -s geda
...
*  sci-electronics/geda
      Latest version available: 1.9.2-r1
      Latest version installed: 1.9.2-r1
...
$ /usr/bin/gschem --version
gEDA 1.9.2 (g7b0ee03)
...
$ /usr/bin/gschem regulator.sch
...
Seems to work fine.

///

This from git:

$ git remote -v 
origin  git://git.geda-project.org/geda-gaf.git (fetch)
origin  git://git.geda-project.org/geda-gaf.git (push)
$ git branch -v
* master c5e4da043 Merge branch 'stable-1.10'
$ /usr/local/bin/gschem  --version
gEDA 1.10.2 (gc5e4da0)
...
$ /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
$

...

$ make uninstall
...
$ rm -rf ~/.cache/guile/
$ make install
...
$ cd xxxx
$ /usr/local/bin/gschem regulator.sch
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /usr/local/share/gEDA/scheme/gschem/keymap.scm
;;; compiling /usr/local/share/gEDA/scheme/gschem/core/gettext.scm

...

;;; compiled /home/karl/.cache/guile/ccache/2.0-LE-8-2.0/home/local/share/gEDA/scheme/auto-place-attribs.scm.go
;;; compiling /usr/local/share/gEDA/scheme/auto-place-netname.scm
;;; compiled /home/karl/.cache/guile/ccache/2.0-LE-8-2.0/home/local/share/gEDA/scheme/auto-place-netname.scm.go

(gschem:10279): Gdk-CRITICAL **: 22:54:41.046: IA__gdk_cairo_create: assertion 'GDK_IS_DRAWABLE (drawable)' failed
Segmentation fault
$ /usr/local/bin/gschem regulator.sch

(gschem:11051): Gdk-CRITICAL **: 22:57:10.762: IA__gdk_cairo_create: assertion 'GDK_IS_DRAWABLE (drawable)' failed
Segmentation fault
$ /usr/local/bin/gschem regulator.sch

(gschem:11125): Gdk-CRITICAL **: 22:57:25.183: IA__gdk_cairo_create: assertion 'GDK_IS_DRAWABLE (drawable)' failed
Segmentation fault
$ /usr/local/bin/gschem regulator.sch

(gschem:11141): Gdk-CRITICAL **: 22:57:26.817: IA__gdk_cairo_create: assertion 'GDK_IS_DRAWABLE (drawable)' failed
Segmentation fault
$

Thoose numbers (gschem:<number>), seems to be ever increasing.

Regards,
/Karl Hammar


- Raw text -


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