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

gEDA-bug: [ geda-Bugs-1528080 ] gschem crashes when closing



Bugs item #1528080, was opened at 2006-07-24 20:13
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=818426&aid=1528080&group_id=161080

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: gschem
Group: None
Status: Open
Resolution: None
Priority: 9
Submitted By: Ales Hvezda (ahvezda)
Assigned to: Nobody/Anonymous (nobody)
Summary: gschem crashes when closing

Initial Comment:
See debug output below,
Can someone check if "w_current->prev->prev" is the
correct test on line
997.

In the case I observed (after opening gschem, 
doing nothing with the schematic, then clicking "X" 
(window-manager close button), I got the following
crash..

w_current->prev is NULL. - This should perhaps be
tested for - see line 997. I've not worked out if thes
w_current->prev->prev test is infact a
typo for w_current->prev, or if that is the desired test.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1220995408 (LWP 20737)]
0x0808aa0a in x_window_close (w_current=0x812e578) at
x_window.c:997
997       if (w_current->next == NULL &&
w_current->prev->prev == NULL)
{
(gdb) bt
#0  0x0808aa0a in x_window_close (w_current=0x812e578)
at x_window.c:997

Originally reported by Peter Clifton.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=818426&aid=1528080&group_id=161080


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