gEDA-dev: Another autosave crash....

Peter Clifton pcjc2 at cam.ac.uk
Sat Sep 2 07:58:55 EDT 2006


Can people try to repeat this on CVS head and the latest release for me.

Steps _I_ took to trigger the bug (I did it twice this way, but its not
always reproducable).

1. Start gschem
2. Place a few components
3. Close schemetic page
4. Click "Discard changes" when prompted at the save dialog
5. Place a few components on the new page
6. Wait for autosave crash.


I'm getting the following backtrace:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1220938064 (LWP 3914)]
0xb7f13ba0 in s_page_autosave (toplevel=0x825a800) at s_page.c:553
553       if ( (toplevel->page_head == NULL) ||
(gdb) bt
#0  0xb7f13ba0 in s_page_autosave (toplevel=0x825a800) at s_page.c:553
#1  0xb7b55acd in g_timeout_dispatch () from /usr/lib/libglib-2.0.so.0
#2  0xb7b519b3 in g_main_dispatch () from /usr/lib/libglib-2.0.so.0
#3  0xb7b54110 in g_main_context_iterate ()
from /usr/lib/libglib-2.0.so.0
#4  0xb7b5449a in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#5  0xb78e1685 in IA__gtk_main () at gtkmain.c:1003
#6  0x0805a5d1 in main_prog (closure=0x0, argc=1, argv=0xbfe53cf4)
    at gschem.c:353
#7  0xb7e8681a in scm_boot_guile () from /usr/lib/libguile.so.12
#8  0x0805a7ae in main (argc=65535, argv=0xffff) at gschem.c:378
(gdb) print toplevel
$1 = (TOPLEVEL *) 0x825a800
(gdb) print toplevel->page_head
$2 = (PAGE *) 0xffff
(gdb)


I hope we can track down a way to reproduce this, as that should very
quickly lead to a fix.


Regards

Peter C.




More information about the geda-dev mailing list