bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #16031] -back: Segfault in XGServerEvent.m


From: Andrew Sveikauskas
Subject: [bug #16031] -back: Segfault in XGServerEvent.m
Date: Tue, 7 Mar 2006 22:55:30 +0000
User-agent: Mozilla/5.0 (X11; U; OpenBSD i386; en-US; rv:1.7.10) Gecko/20050904 Firefox/1.0.6

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=16031>

                 Summary: -back: Segfault in XGServerEvent.m
                 Project: GNUstep
            Submitted by: asveikau
            Submitted on: Tue 03/07/06 at 22:55
                Category: Backend
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open

    _______________________________________________________

Details:

On OpenBSD, I occasionally get segfaults when I close an NSWindow.  According
to GDB this occurs in XGServerEvent-processEvent: with xEvent.type set to
LeaveNotify.  GDB also says that generic.cachedWindow is not a valid pointer.
 (The address looks like something on the heap, but GDB can't dereference it. 
My guess is that it's being accessed after it's free()d.  On OpenBSD, free()
returns data back to the kernel with munmap(), thus the segfault trying to
access it later.)






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=16031>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]