Opened 12 years ago
Closed 10 years ago
#1567 closed defect (needsinfo)
[NEEDS INFO] Model mapping patch triggers OS X Window manager event handling errors
Reported by: | Doménique | Owned by: | |
---|---|---|---|
Priority: | If Time Permits | Milestone: | |
Component: | Core engine | Keywords: | osx events sdl |
Cc: | myconid@… | Patch: |
Description
On OS X the modelmapping patch by Myconid triggers non-fatal errors relating to the Window manager. The errors generally occur after playing a game for 10 to 15 minutes, and stop after ±20 errors are generated. No negative side effects seem to pop up.
Errors look like this on the console:
pyrogenesis[36019] <Error>: kCGErrorTypeCheck: CGSDispatchDatagramsFromStream : Bad datagram type 50331648 pyrogenesis[36019] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged. pyrogenesis[36019] <Error>: kCGErrorIllegalArgument: CGSGetPortStreamData pyrogenesis[36019] <Error>: kCGErrorRangeCheck: CGSDispatchDatagramsFromStream : Preposterous datagram length 926941440 pyrogenesis[36019] <Error>: kCGErrorIllegalArgument: CGSGetPortStreamData pyrogenesis[36019] <Error>: kCGErrorTypeCheck: CGSDispatchDatagramsFromStream : Bad datagram type 83886080
See also the discussion on this in the forum, in particular for gdb backtracing output and Myconid's response to that (short version here):
"It appears these aren't graphics-related errors, but event handling errors from the window manager. They seem to be caused by either SDL or OSX, not Pyrogenesis. – Why are these triggered by my changes? Good question, as there's nothing in my code that relates to event handling! The main difference from an event-handling perspective is that the drawing phase takes longer than before, so maybe this forces an unexpected SDL or OSX bug to the surface."
Change History (5)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Cc: | added |
---|---|
Keywords: | events sdl added |
comment:3 by , 11 years ago
Keywords: | osx, events, sdl → osx events sdl |
---|
comment:5 by , 10 years ago
Milestone: | Backlog |
---|---|
Resolution: | → needsinfo |
Status: | new → closed |
Summary: | Model mapping patch triggers OS X Window manager event handling errors → [NEEDS INFO] Model mapping patch triggers OS X Window manager event handling errors |
(hmm, I cannot edit the original text?) Myconid's response can be found here. The errors started after applying his patch of 2012-07-28 (posted here).