[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: gnetlist crash



On Sat, 13 Nov 2010 01:19:18 +0100
Levente Kovacs <leventelist@xxxxxxxxx> wrote:

> I'm trying to build gEDA from sources. I successfully installed it,
> but it keep searching for *.scm files in old places. When I run
> gnetlist I get:
> 
> Invalid path [/usr/share/gEDA/bitmap] passed to bitmap-directory
> Loading schematic
> [/home/leva/git/lbus/hardware/concentrator/if_card/sch/if_card.sch]
> Loading schematic
> [/home/leva/git/lbus/hardware/concentrator/if_card/sch/ps.sch] Failed
> to read init scm file [/usr/share/gEDA/scheme/gnetlist.scm] Failed to
> read drc2 scm file [/usr/share/gEDA/scheme/gnet-drc2.scm]
> 
> How can I get the system to find the /usr/local/* stuff?

Ok, this is solved. There was some stuff left over from the former
installation of gEDA.

Now... back to the story.

It is a hierarchical design. Now I run the following:

gdb --args /usr/local/bin/gnetlist -v -g drc2 -o drc2_out.txt if_card.sch ps.sch

and I get some very funny output:

GNU gdb (GDB) 7.0.1-debian
Copyright (C) 2009 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".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/local/bin/gnetlist...done.
(gdb) run
Starting program: /usr/local/bin/gnetlist -v -g drc2 -o drc2_out.txt if_card.sch ps.sch
[Thread debugging using libthread_db enabled]
Loading schematic [/home/leva/git/lbus/hardware/concentrator/if_card/sch/if_card.sch]
Loading schematic [/home/leva/git/lbus/hardware/concentrator/if_card/sch/ps.sch]


------------------------------------------------------
Verbose mode legend

n : Found net
C : Found component (staring to traverse component)
p : Found pin (starting to traverse pin / or examining pin)
P : Found end pin connection (end of this net)
R : Starting to rename a net
v : Found source attribute, traversing down
^ : Finished underlying source, going back up
u : Found a refdes which needs to be demangle
U : Found a connected_to refdes which needs to be demangle
------------------------------------------------------

- Starting internal netlist creation
 C CpnnnnPnnPpnnnnPPpnnnnPPpnnPpnnPpnnPpnnPpnnPpnnPpnnPpnnPpnnPpnnPpnnP CpnnP Cpn
nP CpnnP CpnnP CpnnPpnPpnnPpnnnnnnPpnnPpnPpnnPpnnnnPPpnnnnPnPpnnnnPnPpnnnnPnPpnn
nnPpnnnnPpnnnnP CpnnP CpnP CpnP CpnPpnnnPnnP CpnPpnnnPnnP CpnP CpnP CpnP CpnP CpnnP Cpnn
P CpnnP CpnnP CpnnPnP CpnP CpnP CpnPpnnPnP CpnP CpnPpnnnnnPnPpnnPpnnPpnnPpnP CpnnP Cpnn
P CpnnP CpnP CpnP CpnnPpnnnnnPnP CpnnP CpnPpnPpnPpnnnnnnPPnPpnnnnPPpnnnnPP CpnPpnnPn
nP CpnPpnnPnnP CpnP CpnP CpnP CpnP CpnP CpnnPpnPpnPpnPpnnPnPnnnnPpnnnnPpnnnnPpnPpnPp
nnPnPnnnnPpnnPpnPpnPpnPpnnnnPpnnnnPpnPpnP CpnnP CpnnnnP CpnnnnP CpnnPpnnnPPnnnnP C
pnnPpnnP CpnnP CpnnPpnnnnPpnnnnnnPpnnnPPpnnP CpnP CpnP CpnP CpnP CpnP CpnP CpnnPPnnPnP
nPnPPnPpnnPPnnPnPnPnPPnP CpnnPPnnPnPnPnPPnPpnnPPnnPnPnPnPPnP CpnnPPnnPnPnPnPPnP
pnnPPnnPnPnPnPPnP CpnnnPPPnnPnPnPPnPpnnnPPPnnPnPnPPnP CpnnnPPPnnPnPnPPnPpnnnPPP
nnPnPnPPnP CpnnnPPPnnPnPnPPnPpnnnPPPnnPnPnPPnP CpnnnnPPPnPnPnPPnP CpnnnnPPPnPnPnPPnP CpnnnnP CpnnP CpnnnnP CpnnPpnnnnPpnnPpnnnnPpnnPpnnnnPpnnPpnnPpnnPpnnnnPnPpnn
nnPnPpnPpnPpnP CpnPpnnnnPnP CpnP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PnPnPnPnPpnnnPnPnPnPnPnPpnnPnnPnPnPnPnPpnPpnP CpnnnPnPnPnPnPnP CpnnP
 CpnnP CpnnP CpnnP CpnnP CpnnP CpnnP CpnnP CpnnP CpnnP CpnP CpnP CpnP CpnP CpnP CpnP CpnP CpnP
 CpnP CpnP CpnP CpnP CpnnnPnPnPnPnPnP CpnP CpnP CpnP CpnP CpnP CpnP CpnP CpnP CpnP CpnP CpnP C
pnP CpnP CpnP CpnP CpnP CpnP CpnP CpnP CpnP CpnP CpnP CpnP CpnP CpnP CpnP CpnnPpnnPpnnPpnnPp
nnPpnPpnPpnPv
- Starting internal netlist creation
 CpnP CpnPpnnPnnPnPnP CpnP CpnnPP CpnnPnnPnnPpnnnnPnnnnPnnPpnnnnPnPnPpnnPnPnPpnnnn
nnPnnPpnnnnnnPnnPpnnPnnPnPnPpnP CpnnnnPnnPPpnnnnPnnPPpnnPnPnPpnnnnPnnnnPnnPpnn
PnnPnnPpnnnnPnPnPpnnPPpnnPP CpnnnnnPPPnPpnnnnnPPnP CpnnnPPnPpnP CpnnnnnPPnPpnnnP

Program received signal SIGSEGV, Segmentation fault.
__strcmp_sse2 () at ../sysdeps/x86_64/multiarch/../strcmp.S:99
99      ../sysdeps/x86_64/multiarch/../strcmp.S: No such file or directory.
        in ../sysdeps/x86_64/multiarch/../strcmp.S
Current language:  auto
The current source language is "auto; currently asm".
(gdb) where
#0  __strcmp_sse2 () at ../sysdeps/x86_64/multiarch/../strcmp.S:99
#1  0x00007ffff7b97b9d in g_get_attrib_value_by_attrib_name (object_smob=<value optimized out>, scm_attrib_name=<value optimized out>) at g_smob.c:581
#2  0x00007ffff78c1f1c in ?? () from /usr/lib/libguile.so.17
#3  0x00007ffff78c15e4 in ?? () from /usr/lib/libguile.so.17
#4  0x00007ffff78c1b68 in ?? () from /usr/lib/libguile.so.17
#5  0x00007ffff78c4456 in scm_eval () from /usr/lib/libguile.so.17
#6  0x00007ffff7913c9f in scm_c_catch () from /usr/lib/libguile.so.17
#7  0x00007ffff7b9436d in g_scm_eval_protected (exp=<value optimized out>, module_or_state=<value optimized out>) at g_basic.c:163
#8  0x0000000000407370 in s_traverse_sheet (pr_current=0x64fbc0, obj_list=0x8ef600, hierarchy_tag=0x8d0130 "SC100") at s_traverse.c:196
#9  0x0000000000405701 in s_hierarchy_traverse (pr_current=0x64fbc0, o_current=<value optimized out>, netlist=0x8d00e0) at s_hierarchy.c:115
#10 0x00000000004073f9 in s_traverse_sheet (pr_current=0x64fbc0, obj_list=0x834980, hierarchy_tag=0x0) at s_traverse.c:254
#11 0x000000000040753e in s_traverse_start (pr_current=0x64fbc0) at s_traverse.c:131
#12 0x0000000000404528 in main_prog (closure=<value optimized out>, argc=<value optimized out>, argv=<value optimized out>) at gnetlist.c:283
#13 0x00007ffff78d7dff in ?? () from /usr/lib/libguile.so.17
#14 0x00007ffff78ae93a in ?? () from /usr/lib/libguile.so.17
#15 0x00007ffff7913c9f in scm_c_catch () from /usr/lib/libguile.so.17
#16 0x00007ffff78aedab in scm_i_with_continuation_barrier () from /usr/lib/libguile.so.17
#17 0x00007ffff78aee40 in scm_c_with_continuation_barrier () from /usr/lib/libguile.so.17
#18 0x00007ffff7912d04 in scm_i_with_guile_and_parent () from /usr/lib/libguile.so.17
#19 0x00007ffff78d7db5 in scm_boot_guile () from /usr/lib/libguile.so.17
#20 0x0000000000403f93 in main (argc=8, argv=0x7fffffffe488) at gnetlist.c:326


So this is it. I have other hierarchical design, which works just fine. Any
help to track down the bug, or the error in the schematics would be
appreciated. 

Thank you,
Levente

-- 
Levente Kovacs
http://levente.logonex.eu




_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user