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

Re: gEDA-user: problems with PCB and large board



Sorry to not get back last night - this time I crashed :)

Let's see if I can hit on all these points:

 >Gene, you can send a test file to one or more the developers (Dan, DJ,
 >Ben, myself) privately, if you don't want to make it publicly >available.

Maybe - I have to think about that.  This represents a great deal of 
work on my part so I'm just a tad jumpy about it.  But if I can't move 
forward then I really have little choice.  Would you need just the .pcb 
file or also the schematic?

 > Definitely.  The rats nest optimizer should never crash.

Yes, it's the rats nest optimizer (keyboard shortcut "o". Executing the 
"load netlist" works. Optimize Netlist resuts in the sementation fault. 
  I just wanted to see all the rats become visible.

 >> Another good test, is to run pcb under valgrind (slow), and send us 
the output.

I see that valgrind is some sort of forensic tool set - never heard of 
it before now.  Regardless, I don't currently have it.  However, I tried 
loading pcb in gdb (I am less than novice on this, so sort of winging 
it). Running the same sequence as before, gdb reports the segmentation 
fault as:
(gdb) run
Starting program: /usr/local/bin/pcb

Program received signal SIGSEGV, Segmentation fault.
LOCtoPadRat_callback (b=0xb70498a8, cl=0xbfd8b720) at find.c:2217
2217      if (!TEST_FLAG (TheFlag, rat))
(gdb) bt
#0  LOCtoPadRat_callback (b=0xb70498a8, cl=0xbfd8b720) at find.c:2217
#1  0x080ba88d in __r_search (node=0x959cf40, query=0xbfd8b77c, 
arg=0xbfd8b6cc)
     at rtree.c:539
#2  0x080ba8e3 in __r_search (node=0x95feba0, query=0xbfd8b77c, 
arg=0xbfd8b6cc)
     at rtree.c:589
#3  0x080ba8e3 in __r_search (node=0x98fee40, query=0xbfd8b77c, 
arg=0xbfd8b6cc)
     at rtree.c:589
#4  0x080ba8e3 in __r_search (node=0x9653bb0, query=0xbfd8b77c, 
arg=0xbfd8b6cc)
     at rtree.c:589
#5  0x080ba8e3 in __r_search (node=0x97c6aa0, query=0xbfd8b77c, 
arg=0xbfd8b6cc)
     at rtree.c:589
#6  0x080ba8e3 in __r_search (node=0x9567d38, query=0xbfd8b77c, 
arg=0xbfd8b6cc)
     at rtree.c:589
#7  0x080ba95e in r_search (rtree=0x8e88078, query=0xbfd8b720, 
check_region=0,
     found_rectangle=0x808ae90 <LOCtoPadRat_callback>, cl=0xbfd8b720) at 
rtree.c:625
#8  0x0808e198 in LookupLOConnectionsToPad (Pad=0x8b41d88, LayerGroup=1) 
at find.c:2272
#9  0x08090761 in DoIt (AndRats=1 '\001', AndDraw=0 '\0') at find.c:869
#10 0x08091b96 in RatFindHook (type=512, ptr1=0xb6fe2ba8, 
ptr2=0x8b41d88, ptr3=0x8b41d88,
     undo=0 '\0', AndRats=1 '\001') at find.c:3247
#11 0x080b2f12 in GatherSubnets (Netl=0x8ec23f0, NoWarn=0 '\0',
     AndRats=<value optimized out>) at rats.c:469
#12 0x080b41bd in AddAllRats (SelectedOnly=-88 '¨', funcp=0) at rats.c:740
#13 0x08062841 in ActionAddRats (argc=1, argv=0x905a000, x=0, y=0) at 
action.c:3628
#14 0x080c81a4 in hid_actionv (name=0x8775470 "AddRats", argc=1, 
argv=0x905a000)
     at hid/common/actions.c:219
#15 0x080c7db0 in hid_parse_actions (rstr=0x8332950 "AddRats(AllRats)",
     function=0x80c80c0 <hid_actionv>) at hid/common/actions.c:287
#16 0x080e28cb in ghid_menu_cb (action=0x8357df8, data=0x8126480)
     at hid/gtk/gui-top-window.c:633
#17 0xb7a121df in g_cclosure_marshal_VOID__VOID () from 
/usr/lib/libgobject-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#18 0xb7a04e69 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#19 0xb7a1961b in g_signal_handler_disconnect () from 
/usr/lib/libgobject-2.0.so.0
#20 0xb7a1b2af in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#21 0xb7a1b5f9 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#22 0xb7be2985 in gtk_widget_get_action () from /usr/lib/libgtk-x11-2.0.so.0
#23 0xb7be4d44 in gtk_action_new () from /usr/lib/libgtk-x11-2.0.so.0
#24 0xb7a04e69 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#25 0xb7a1961b in g_signal_handler_disconnect () from 
/usr/lib/libgobject-2.0.so.0
#26 0xb7a1afd7 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#27 0xb7a1b5f9 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#28 0xb7bde85f in gtk_accel_group_activate () from 
/usr/lib/libgtk-x11-2.0.so.0
#29 0xb7bde96a in gtk_accel_groups_activate () from 
/usr/lib/libgtk-x11-2.0.so.0
#30 0xb7e05662 in gtk_window_activate_key () from 
/usr/lib/libgtk-x11-2.0.so.0
#31 0xb7e056fc in gtk_window_activate_key () from 
/usr/lib/libgtk-x11-2.0.so.0
#32 0xb7cd2154 in gtk_marshal_BOOLEAN__VOID () from 
/usr/lib/libgtk-x11-2.0.so.0
#33 0xb7a03789 in g_value_set_static_boxed () from 
/usr/lib/libgobject-2.0.so.0
#34 0xb7a04e69 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#35 0xb7a197aa in g_signal_handler_disconnect () from 
/usr/lib/libgobject-2.0.so.0
#36 0xb7a1afd7 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#37 0xb7a1b5f9 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#38 0xb7df0db7 in gtk_widget_get_default_style () from 
/usr/lib/libgtk-x11-2.0.so.0
#39 0xb7ccb48d in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#40 0xb7ccc608 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#41 0xb7b4e0ea in gdk_add_client_message_filter () from 
/usr/lib/libgdk-x11-2.0.so.0
#42 0xb7961146 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#43 0xb79644f3 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#44 0xb79648d7 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#45 0xb7cccae4 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#46 0x080e27d0 in ghid_do_export (options=0x0) at 
hid/gtk/gui-top-window.c:2735
#47 0x08096717 in main (argc=Cannot access memory at address 0xb70498a8
) at main.c:1031
(gdb)



Does that help?

regards,

gene


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