gschem git head (commit b4ed5e92d203c7449b7d33e924a41b093e1de930) seg
faults on exit:

1) Run gschem with at least two schematics on the command line
   (any schematics; they can even be just empty files)
2) Exit gschem
3) observe core dump at:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb720f720 (LWP 22652)]
0xb7ef7b88 in s_delete_object (toplevel=0x80cbdf8, o_current=0x83cd510)
    at s_basic.c:325
325         if (toplevel->page_current->object_lastplace == o_current) {
(gdb) l
320     
321           /* do the actual remove */
322           o_attrib_remove(&o_current->attached_to->attribs, o_current);
323         }
324     
325         if (toplevel->page_current->object_lastplace == o_current) {
326           toplevel->page_current->object_lastplace = NULL;
327         }
328     
329         if (o_current->line) {
(gdb) where
#0  0xb7ef7b88 in s_delete_object (toplevel=0x80cbdf8, o_current=0x83cd510)
    at s_basic.c:325
#1  0xb7ef7dde in s_delete (toplevel=0x80cbdf8, o_current=0x83cd510)
    at s_basic.c:437
#2  0xb7ef7e28 in s_delete_list_fromstart (toplevel=0x80cbdf8, start=0x83cc468)
    at s_basic.c:459
#3  0xb7efcd0a in s_page_delete (toplevel=0x80cbdf8, page=0x83cc8c8)
    at s_page.c:169
#4  0xb7efce91 in s_page_delete_list (toplevel=0x80cbdf8) at s_page.c:222
#5  0xb7efeed7 in s_toplevel_delete (toplevel=0x80cbdf8) at s_toplevel.c:185
#6  0x0809551f in x_window_close (w_current=0x80cbba8) at x_window.c:698
#7  0x080955ad in x_window_close_all (w_current=0x80cbba8) at x_window.c:722
#8  0x08059c10 in g_keys_file_quit (rest=0xb70e5cd0) at g_keys.c:220

Also:

1) Run gschem on a non-existant schematic and observe the pop up dialog that
   says:

Cannot find file /home/ahvezda/3.sch: Interrupted system call

"Interrupt system call"?  A non-existant schematic causes an interrupted
system call.  Okay...

-Ales



_______________________________________________
geda-dev mailing list
[email protected]
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev

Reply via email to