gschem segfaults on start

Bug #4440 reported by Trouilliez vincent
16
Affects Status Importance Assigned to Milestone
geda-gschem (Ubuntu)
Fix Released
Medium
MOTU

Bug Description

In Breeezy, 'gschem', which is part of gEDA does not work but it worked in previous versions of Ubuntu. For example, when starting gschem (the schematic capture tool) the following occurs:

Error : system-error [C:58 L:24] in /etc/gEDA/system-gschemrc
Most recently read form: (#@load (#@string-append #@gedadatarc
/etc/gEDA/system-gafrc))
Failed to read init scm file [(null)/gschem.scm]
Segmentation fault

This can be reproduced by running 'gschem' from a shell or by running 'geda' from a shell and then selecting the schematic tool.

Changed in geda-gschem:
assignee: nobody → motu
Revision history for this message
Ruudiculus (ruudbeukema) wrote : Slightly different error message

Here's my slightly different error message;

---

Errno was: 13

Error : system-error [C:52 L:25] in /etc/gEDA/system-gschemrc
Most recently read form: (#@load (#@string-append #@gedadatarc /system-commonrc))
Failed to read init scm file [(null)/gschem.scm]
Segmentation fault

---

The system-commonrc file doesn't contain any line which loads "system-gafrc". The result is te same though: not loading gschem.

It may help solving the problem...

Revision history for this message
daller (daniel-dallerweb) wrote : Re: 'gschem'

I can only confirm this behaviour!

This is the output I get:

daniel@ubuntu:~$ gschem
gEDA/gschem version 20040111
gEDA/gschem comes with ABSOLUTELY NO WARRANTY; see COPYING for more details.
This is free software, and you are welcome to redistribute it under certain
conditions; please see the COPYING file for more details.

Error : system-error [C:52 L:25] in /etc/gEDA/system-gschemrc
Most recently read form: (#@load (#@string-append #@gedadatarc /system-commonrc))
Failed to read init scm file [(null)/gschem.scm]

Changed in geda-gschem:
status: Unconfirmed → Confirmed
Revision history for this message
frans (fransschreuder) wrote :

I have the same in Kubuntu 5.10:

gEDA/gschem version 20040111
gEDA/gschem comes with ABSOLUTELY NO WARRANTY; see COPYING for more details.
This is free software, and you are welcome to redistribute it under certain
conditions; please see the COPYING file for more details.

Read system-gschemrc file [/etc/gEDA/system-gschemrc]
Did not find optional ~/.gEDA/gschemrc file [/root/.gEDA/gschemrc]
Did not find optional local gschemrc file [./gschemrc]
Could not find [(null)/gschem.scm] for interpretion
Failed to read init scm file [(null)/gschem.scm]

Revision history for this message
frans (fransschreuder) wrote :

I just got it working by downloading the *.rpm packages from geda.seul.org and install them with alien -i
(just get alien with apt)

Revision history for this message
Aanjhan Ranganathan (aanjhan) wrote :

There is a work around.

gschem expects system-commonrc file on /etc/gEDA/
See whether it is there else put it in.
It works.

Revision history for this message
Barry deFreese (bddebian) wrote :

Uploaded new version in Dapper. Thanks.

Changed in geda-gschem:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.