Patch: -base: fix threads on OpenBSD.

2006-03-08 Thread Andrew Sveikauskas

Hello,

Attached is a small patch to gnustep-base that fixes threads on 
OpenBSD.


I hope that something like it will be applied.

Thanks,
Andrew Sveikauskas



gnustep-base-obsd.diff
Description: Binary data
___
Bug-gnustep mailing list
Bug-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnustep


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

2006-03-08 Thread Fred Kiefer

Follow-up Comment #1, bug #16031 (project gnustep):

I don't quite see how the behaviour you describe could happen. Within the
LeaveNotify case the processEvent: method does only assign to the variable
generic.cachedWindow. How could this ever cause a segmentation fault?
No idea who to go ahead from here. Do you have the skill to track down this
bug a bit further?



___

Reply to this item at:

  

___
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/



___
Bug-gnustep mailing list
Bug-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnustep


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

2006-03-08 Thread Andrew Sveikauskas

Follow-up Comment #2, bug #16031 (project gnustep):

No, it is also accessing it.  Note that cWin is a macro for
generic.cachedWindow.  It then accesses cWin->number.  After preprocessing
this is generic.cachedWindow->number.  Invalid pointer dereference...  As for
chasing the bug further, not sure.  I'm not familiar with the way -back is
organized nor very familiar with Xlib.  But the problem seems to be that the
structure is freed before any calls to NSMapRemove() (it seems to me like
XGServerWindow-termwindow: does this.)

___

Reply to this item at:

  

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



___
Bug-gnustep mailing list
Bug-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnustep


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

2006-03-08 Thread Fred Kiefer

Follow-up Comment #3, bug #16031 (project gnustep):

Thank you for pointing this out to me. I have a further look, but what you
wrote may already be the problem.

___

Reply to this item at:

  

___
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/



___
Bug-gnustep mailing list
Bug-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnustep