Mail Archives: geda-help/2011/10/11/13:11:20
Op dinsdag 11-10-2011 om 10:42 uur [tijdzone -0400], schreef DJ Delorie:
> I have panels with over 800 elements on them, and an individual board
> with 412. There are no hard-coded limits in PCB that would affect the
> number of elements.
>
> When you build pcb, there's a pcbtest.sh script in src/ that accepts a
> -gdb option, which runs pcb in a debugger. Once it crashes, type
> "where" to find out *where* it crashed.
OK, found pcbtest.sh, and here's what happens:
Loading schematic [/home/richard/electron/myproject-page1.sch]
Loading schematic [/home/richard/electron/myproject-page2.sch]
Loading schematic [/home/richard/electron/myproject-page3.sch]
Loading schematic [/home/richard/electron/myproject-page4.sch]
Loading schematic [/home/richard/electron/myproject-page5.sch]
Loading schematic [/home/richard/electron/myproject-page6.sch]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1221482816 (LWP 7119)]
0xb75a7338 in strcmp () from /lib/i686/libc.so.6
(gdb) where
#0 0xb75a7338 in strcmp () from /lib/i686/libc.so.6
#1 0x0806268f in find_element_by_refdes (refdes=0x89a6bc9 "L305")
at action.c:6944
#2 0x08062b49 in ActionElementList (argc=4, argv=<value optimized out>, x=0,
y=0) at action.c:7173
#3 0x080d8a5f in hid_actionv (name=0x89a6bb8 "ElementList", argc=4,
argv=0x8994318) at hid/common/actions.c:246
#4 0x080d8dcd in hid_parse_actionstring (
rstr=0xbfc2fb00 "ElementList(Need,\"L305\",\"COIL_3\",\"4.7uH\")",
require_parens=1 '\001') at hid/common/actions.c:330
#5 0x0806a4be in ActionExecuteFile (argc=1, argv=0x8481338, x=0, y=0)
at action.c:6911
#6 0x0806ab2a in ActionImport (argc=0, argv=0x0, x=0, y=0) at action.c:7782
#7 0x080d8a5f in hid_actionv (name=0x83dd468 "Import", argc=0, argv=0x0)
at hid/common/actions.c:246
#8 0x080d8dcd in hid_parse_actionstring (rstr=0x8359bb8 "Import()",
require_parens=1 '\001') at hid/common/actions.c:330
#9 0x0810fd0a in ghid_menu_cb (action=0x81d4b48, data=0x8181b60)
at hid/gtk/gui-top-window.c:632
#10 0xb78f3585 in g_cclosure_marshal_VOID__VOID ()
from /usr/lib/libgobject-2.0.so.0
#11 0xb78e5f9d in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#12 0xb78fa2a0 in g_str_equal () from /usr/lib/libgobject-2.0.so.0
#13 0xb78fbeee in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#14 0xb78fc22b in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#15 0xb7af23e6 in g_str_equal () from /usr/lib/libgtk-x11-2.0.so.0
#16 0xb7af33a1 in gtk_action_activate () from /usr/lib/libgtk-x11-2.0.so.0
#17 0xb78f3585 in g_cclosure_marshal_VOID__VOID ()
from /usr/lib/libgobject-2.0.so.0
#18 0xb78e5f9d in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#19 0xb78fa2a0 in g_str_equal () from /usr/lib/libgobject-2.0.so.0
#20 0xb78fbeee in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#21 0xb78fc22b in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#22 0xb7d14c36 in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0
#23 0xb7bf6b11 in gtk_menu_shell_activate_item ()
from /usr/lib/libgtk-x11-2.0.so.0
#24 0xb7bf8719 in g_str_equal () from /usr/lib/libgtk-x11-2.0.so.0
#25 0xb7bef2be in g_str_equal () from /usr/lib/libgtk-x11-2.0.so.0
#26 0xb7be8e2c in g_str_equal () from /usr/lib/libgtk-x11-2.0.so.0
#27 0xb78e47ce in g_str_equal () from /usr/lib/libgobject-2.0.so.0
#28 0xb78e5f9d in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#29 0xb78fa439 in g_str_equal () from /usr/lib/libgobject-2.0.so.0
#30 0xb78fbc14 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#31 0xb78fc22b in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#32 0xb7d0ff03 in g_str_equal () from /usr/lib/libgtk-x11-2.0.so.0
#33 0xb7be1bb9 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#34 0xb7be2e5c in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#35 0xb7a50c08 in g_str_equal () from /usr/lib/libgdk-x11-2.0.so.0
#36 0xb7ea2a40 in g_main_context_dispatch ()
from /usr/lib/libglib-2.0.so.0
#37 0xb7ea5d15 in g_str_equal () from /usr/lib/libglib-2.0.so.0
#38 0xb7ea6058 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#39 0xb7be32bf in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#40 0x0810fc0d in ghid_do_export (options=0x0) at
hid/gtk/gui-top-window.c:2726
#41 0x080a4150 in main (argc=Cannot access memory at address 0x1fa43
) at main.c:1091
I really have no clue if this offers any more information; and oh,
what's more: someone also involved in this project doesn't experience
any crashes with the exact same files and PCB version (pcb-20100929).
The main difference is that he's running a more recent Ubuntu
installation, whereas I'm still on an old Mandriva 2008.1 installation.
> You can run "gnetlist -g pcbfwd" on your schematics to make the script
> file that pcb is running; at least if you want someone else to look at
> the problem it's fewer files you need to share (you'd still need to
> share the pcb and any custom footprints it might need to load)
>
> Also, make sure you're testing the latest git version of pcb incase
> it's something that's already been fixed ;-)
As I said, I'm running version 20100929 -- I just pulled in the latest
git version, but compiling it fails because of a missing OpenGL GLU
library, which apparently isn't available for my ancient Mandriva
version. Perhaps I should no longer postpone the major Linux upgrade :-/
But thanks for the help so far, hopefully the problem can be solved
without reinstalling pcb (or my complete Linux version ...)
Best regards,
Richard Rasker
- Raw text -