[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-bug: Core dump during undo
Hi,
Firstly, many thanks for all the work on the PCB design package.
I have been having some problems with pcb-20091103.tar.gz: the bounding
box message when moving text and some core dumps. I downloaded pcb
from the git repository (on 7th July 2010) and built it with debugging
symbols (CFLAGS=-g) on FreeBSD (an up-to-date 8.1-PRERELEASE). It
reports version 1.99z. The following core dump occurred during an undo:
GNU gdb (GDB) 7.1
Copyright (C) 2010 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 "i386-unknown-freebsd8.1".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/local/bin/pcb...done.
[New Thread 100144]
Reading symbols from /lib/libm.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.5
Reading symbols from /usr/local/lib/libdbus-1.so.3...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libdbus-1.so.3
Reading symbols from /usr/local/lib/libXrender.so.1...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libXrender.so.1
Reading symbols from /usr/local/lib/libglib-2.0.so.0...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libglib-2.0.so.0
Reading symbols from /usr/local/lib/libgtk-x11-2.0.so.0...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libgtk-x11-2.0.so.0
Reading symbols from /usr/local/lib/libgdk-x11-2.0.so.0...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libgdk-x11-2.0.so.0
Reading symbols from /usr/local/lib/libatk-1.0.so.0...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libatk-1.0.so.0
Reading symbols from /usr/local/lib/libgdk_pixbuf-2.0.so.0...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libgdk_pixbuf-2.0.so.0
Reading symbols from /usr/local/lib/libpangocairo-1.0.so.0...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libpangocairo-1.0.so.0
Reading symbols from /usr/local/lib/libXext.so.6...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libXext.so.6
Reading symbols from /usr/local/lib/libXinerama.so.1...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libXinerama.so.1
Reading symbols from /usr/local/lib/libXi.so.6...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libXi.so.6
Reading symbols from /usr/local/lib/libXrandr.so.2...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libXrandr.so.2
Reading symbols from /usr/local/lib/libXcursor.so.1...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libXcursor.so.1
Reading symbols from /usr/local/lib/libXcomposite.so.1...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libXcomposite.so.1
Reading symbols from /usr/local/lib/libXdamage.so.1...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libXdamage.so.1
Reading symbols from /usr/local/lib/libpangoft2-1.0.so.0...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libpangoft2-1.0.so.0
Reading symbols from /usr/local/lib/libgio-2.0.so.0...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libgio-2.0.so.0
Reading symbols from /usr/local/lib/libXfixes.so.3...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libXfixes.so.3
Reading symbols from /usr/local/lib/libcairo.so.2...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libcairo.so.2
Reading symbols from /usr/local/lib/libX11.so.6...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libX11.so.6
Reading symbols from /usr/local/lib/libpango-1.0.so.0...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libpango-1.0.so.0
Reading symbols from /usr/local/lib/libfreetype.so.9...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libfreetype.so.9
Reading symbols from /usr/local/lib/libfontconfig.so.1...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libfontconfig.so.1
Reading symbols from /usr/local/lib/libgobject-2.0.so.0...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libgobject-2.0.so.0
Reading symbols from /usr/local/lib/libgmodule-2.0.so.0...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libgmodule-2.0.so.0
Reading symbols from /usr/local/lib/libgthread-2.0.so.0...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libgthread-2.0.so.0
Reading symbols from /usr/local/lib/libgd.so.4...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libgd.so.4
Reading symbols from /usr/local/lib/libintl.so.9...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libintl.so.9
Reading symbols from /lib/libthr.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib/libthr.so.3
Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /usr/local/lib/libiconv.so.3...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libiconv.so.3
Reading symbols from /usr/local/lib/libpcre.so.0...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libpcre.so.0
Reading symbols from /usr/local/lib/libpixman-1.so.9...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libpixman-1.so.9
Reading symbols from /usr/local/lib/libpng.so.6...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libpng.so.6
Reading symbols from /usr/local/lib/libxcb-render-util.so.0...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libxcb-render-util.so.0
Reading symbols from /usr/local/lib/libxcb-render.so.0...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libxcb-render.so.0
Reading symbols from /usr/local/lib/libxcb.so.2...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libxcb.so.2
Reading symbols from /usr/local/lib/libXau.so.6...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libXau.so.6
Reading symbols from /usr/local/lib/libXdmcp.so.6...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libXdmcp.so.6
Reading symbols from /usr/local/lib/libpthread-stubs.so.0...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libpthread-stubs.so.0
Reading symbols from /usr/lib/librpcsvc.so.5...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/librpcsvc.so.5
Reading symbols from /lib/libz.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/libz.so.5
Reading symbols from /usr/local/lib/libexpat.so.6...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libexpat.so.6
Reading symbols from /usr/local/lib/libjpeg.so.11...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libjpeg.so.11
Reading symbols from
/usr/local/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so...(no
debugging symbols found)...done.
Loaded symbols for
/usr/local/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so
Reading symbols from
/usr/local/lib/gtk-2.0/2.10.0/engines/libxfce.so...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/gtk-2.0/2.10.0/engines/libxfce.so
Reading symbols from
/usr/local/lib/pango/1.6.0/modules/pango-basic-fc.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/pango/1.6.0/modules/pango-basic-fc.so
Reading symbols from /usr/local/lib/gio/modules/libgvfsdbus.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/lib/gio/modules/libgvfsdbus.so
Reading symbols from /usr/local/lib/libgvfscommon.so.0...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libgvfscommon.so.0
Reading symbols from /lib/libutil.so.8...(no debugging symbols
found)...done.
Loaded symbols for /lib/libutil.so.8
Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols
found)...done
Loaded symbols for /libexec/ld-elf.so.1
Core was generated by `pcb'.
Program terminated with signal 11, Segmentation fault.
#0 0x0806f431 in ActionUndo (argc=0, argv=0x0, x=0, y=0) at action.c:6254
6254 Crosshair.AttachedLine.Point2.X = ptr2->Point1.X;
(gdb) bt
#0 0x0806f431 in ActionUndo (argc=0, argv=0x0, x=0, y=0) at action.c:6254
#1 0x0810368e in hid_actionv (name=0x29a240c8 "Undo", argc=0, argv=0x0)
at hid/common/actions.c:246
#2 0x0810389e in hid_parse_actionstring (rstr=0x29a626c8 "Undo()",
require_parens=1 '\001') at hid/common/actions.c:330
#3 0x08103b59 in hid_parse_actions (str_=0x29a626c8 "Undo()")
at hid/common/actions.c:418
#4 0x0813a18d in ghid_menu_cb (action=0x2905ca50, data=0x81e93c0)
at hid/gtk/gui-top-window.c:634
#5 0x28b3daff in g_cclosure_marshal_VOID__VOID ()
from /usr/local/lib/libgobject-2.0.so.0
#6 0x28b30679 in g_closure_invoke () from
/usr/local/lib/libgobject-2.0.so.0
#7 0x28b44d84 in ?? () from /usr/local/lib/libgobject-2.0.so.0
#8 0x28b46e80 in g_signal_emit_valist ()
from /usr/local/lib/libgobject-2.0.so.0
#9 0x28b471c9 in g_signal_emit () from /usr/local/lib/libgobject-2.0.so.0
#10 0x2838b315 in ?? () from /usr/local/lib/libgtk-x11-2.0.so.0
#11 0x2838dd84 in ?? () from /usr/local/lib/libgtk-x11-2.0.so.0
#12 0x28b30679 in g_closure_invoke () from
/usr/local/lib/libgobject-2.0.so.0
#13 0x28b44d84 in ?? () from /usr/local/lib/libgobject-2.0.so.0
#14 0x28b46b96 in g_signal_emit_valist ()
from /usr/local/lib/libgobject-2.0.so.0
#15 0x28b471c9 in g_signal_emit () from /usr/local/lib/libgobject-2.0.so.0
#16 0x28386fa7 in gtk_accel_group_activate ()
from /usr/local/lib/libgtk-x11-2.0.so.0
#17 0x283870ba in gtk_accel_groups_activate ()
from /usr/local/lib/libgtk-x11-2.0.so.0
#18 0x2859943c in gtk_window_activate_key ()
from /usr/local/lib/libgtk-x11-2.0.so.0
#19 0x2859949c in ?? () from /usr/local/lib/libgtk-x11-2.0.so.0
#20 0x2845efc4 in ?? () from /usr/local/lib/libgtk-x11-2.0.so.0
#21 0x28b2ef49 in ?? () from /usr/local/lib/libgobject-2.0.so.0
#22 0x28b30679 in g_closure_invoke () from
/usr/local/lib/libgobject-2.0.so.0
#23 0x28b44f5e in ?? () from /usr/local/lib/libgobject-2.0.so.0
#24 0x28b46b96 in g_signal_emit_valist ()
from /usr/local/lib/libgobject-2.0.so.0
#25 0x28b471c9 in g_signal_emit () from /usr/local/lib/libgobject-2.0.so.0
#26 0x28584b86 in ?? () from /usr/local/lib/libgtk-x11-2.0.so.0
#27 0x28457c9f in gtk_propagate_event ()
from /usr/local/lib/libgtk-x11-2.0.so.0
#28 0x28459012 in gtk_main_do_event () from
/usr/local/lib/libgtk-x11-2.0.so.0
#29 0x28738dca in ?? () from /usr/local/lib/libgdk-x11-2.0.so.0
#30 0x28296817 in g_main_context_dispatch ()
---Type <return> to continue, or q <return> to quit---
#31 0x2829a05e in ?? () from /usr/local/lib/libglib-2.0.so.0
#32 0x2829a467 in g_main_loop_run () from /usr/local/lib/libglib-2.0.so.0
#33 0x28459494 in gtk_main () from /usr/local/lib/libgtk-x11-2.0.so.0
#34 0x0813f37d in ghid_do_export (options=0x0) at
hid/gtk/gui-top-window.c:2716
#35 0x080bb2dd in main (argc=2, argv=0xbfbfd900) at main.c:1062
(gdb) fr 0
#0 0x0806f431 in ActionUndo (argc=0, argv=0x0, x=0, y=0) at action.c:6254
6254 Crosshair.AttachedLine.Point2.X = ptr2->Point1.X;
(gdb) p ptr2
$1 = (LineTypePtr) 0x4
(gdb) l 6250
6245 LineTypePtr ptr2;
6246 /* this search is guaranteed to succeed */
6247 SearchObjectByLocation (LINE_TYPE | RATLINE_TYPE, &ptr1,
6248 &ptrtmp, &ptr3,
6249 Crosshair.AttachedLine.Point1.X,
6250 Crosshair.AttachedLine.Point1.Y, 0);
6251 ptr2 = (LineTypePtr) ptrtmp;
6252
6253 /* save both ends of line */
6254 Crosshair.AttachedLine.Point2.X = ptr2->Point1.X;
(gdb) p Crosshair.AttachedLine.Point1
$2 = {X = 150000, Y = 242500, X2 = 0, Y2 = 0, ID = 0}
(gdb)
I will keep the core-dump.
Best regards,
Rob Jenssen
_______________________________________________
geda-bug mailing list
geda-bug@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-bug