[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-user: PCB segfaults when the "Route style" button is clicked
Hello,
I'm using PCB from git master (9dde48253c..) and it segfaults
when the "Route Styles" button is clicked. Here's how to reproduce:
1. use PCB to make an empty pcb file
2. start PCB again and load the empty file with "File -> Load layout"
3. choose "Power" route style, then click on the "Route Styles" button
to bring up the dialog; close the dialog
4. choose "Signal" route style, then click on the "Route Styles" button
to bring up the dialog; close the dialog
5. repeat steps 3 and 4 in order, until PCB segfaults
Here is the backtrace:
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff38fc90a in strcmp () from /lib/libc.so.6
(gdb) bt
#0 0x00007ffff38fc90a in strcmp () from /lib/libc.so.6
#1 0x00007ffff669347f in gtk_entry_set_text () from /usr/lib/libgtk-x11-2.0.so.0
#2 0x0000000000527e64 in dialog_style_changed_cb (combo=0x16d1170, dialog=0x7fffffffd4c0)
at hid/gtk/ghid-route-style-selector.c:127
#3 0x00007ffff4b6f1fe in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#4 0x00007ffff4b8008b in ?? () from /usr/lib/libgobject-2.0.so.0
#5 0x00007ffff4b897aa in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#6 0x00007ffff4b89952 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#7 0x00007ffff6675fea in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#8 0x00007ffff667aab9 in gtk_combo_box_set_active_iter () from /usr/lib/libgtk-x11-2.0.so.0
#9 0x0000000000528776 in ghid_route_style_selector_edit_dialog (rss=0xb4c510)
at hid/gtk/ghid-route-style-selector.c:237
#10 0x0000000000528aa6 in edit_button_cb (btn=0xb4b490, rss=0xb4c510)
at hid/gtk/ghid-route-style-selector.c:296
#11 0x00007ffff4b6f1fe in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#12 0x00007ffff4b8008b in ?? () from /usr/lib/libgobject-2.0.so.0
#13 0x00007ffff4b897aa in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#14 0x00007ffff4b89952 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#15 0x00007ffff66574e5 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#16 0x00007ffff4b6f1fe in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#17 0x00007ffff4b7f815 in ?? () from /usr/lib/libgobject-2.0.so.0
#18 0x00007ffff4b897aa in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#19 0x00007ffff4b89952 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#20 0x00007ffff665630d in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#21 0x00007ffff67000d8 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#22 0x00007ffff4b6f1fe in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#23 0x00007ffff4b7fe9d in ?? () from /usr/lib/libgobject-2.0.so.0
#24 0x00007ffff4b8956b in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#25 0x00007ffff4b89952 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#26 0x00007ffff6819081 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#27 0x00007ffff66fe2d3 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#28 0x00007ffff66fe633 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#29 0x00007ffff637384c in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#30 0x00007ffff6c3a29d in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#31 0x00007ffff6c3aa78 in ?? () from /usr/lib/libglib-2.0.so.0
#32 0x00007ffff6c3b0ba in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#33 0x00007ffff66fd687 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#34 0x000000000051bfaa in ghid_do_export (options=0x0) at hid/gtk/gui-top-window.c:1708
#35 0x0000000000487bce in main (argc=1, argv=0x7fffffffe618) at main.c:1948
Some information you might find useful:
#2 0x0000000000527e64 in dialog_style_changed_cb (combo=0x16d1170, dialog=0x7fffffffd4c0)
at hid/gtk/ghid-route-style-selector.c:127
127 gtk_entry_set_text (GTK_ENTRY (dialog->name_entry), style->rst->Name);
(gdb) p *style->rst
$1 = {Thick = 0, Diameter = 9424144, Hole = 0, Keepaway = 38654705664,
Name = 0x670000034c <Address 0x670000034c out of bounds>, index = 46}
(gdb) p *style
$2 = {temporary = 0, action = 0xb4b550, button = 0xb4c6b0, menu_item = 0xb753c0, rref = 0x9e0580,
rst = 0x8fcd78, sig_id = 1625}
--
Ivan Stankovic, pokemon@xxxxxxxxxxxxxx
"Protect your digital freedom and privacy, eliminate DRM,
learn more at http://www.defectivebydesign.org/what_is_drm"
_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user