ppython[394] <Error>: kCGErrorIllegalArgument: CGSCopyRegion : Null pointer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Panda3D |
Fix Released
|
High
|
David Rose | ||
1.7.x |
Fix Released
|
High
|
rdb |
Bug Description
All of the demos I have tried show the following errors on my MacBook Pro (2009 15" i7 model):
ppython Tut-Fireflies.py
DirectStart: Starting the game.
Known pipe types:
osxGraphicsPipe
(all display modules loaded.)
Wed Mar 2 11:49:25 Mike-Stoddarts-
Wed Mar 2 11:49:25 Mike-Stoddarts-
:display:
:display:
Wed Mar 2 11:49:30 Mike-Stoddarts-
Wed Mar 2 11:49:30 Mike-Stoddarts-
That particular demo still runs.
tags: | added: osx |
Changed in panda3d: | |
milestone: | none → 1.7.2 |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in panda3d: | |
status: | Fix Committed → Fix Released |
This code spews an error every frame:
import direct. directbase. DirectStart makeTextureBuff er('break' , 1, 1)
buffer = base.win.
run()
Fri Mar 11 18:40:34 CraigsBook.local Python[4509] <Error>: kCGErrorIllegal Argument: CGSCopyRegion : Null pointer
Every frame I get these from my active back buffer (as in the example code) for water reflections. I also get a bunch of the same errors when doing other stuff with buffers I only activate for a single (or a few) frames.
Entire error report from my example code:
DirectStart: Starting the game. Argument: CGSCopyRegion : Null pointer Argument: CGSCopyRegion : Null pointer Argument: CGSCopyRegion : Null pointer Argument: CGSCopyRegion : Null pointer Argument: CGSCopyRegion : Null pointer Argument: CGSCopyRegion : Null pointer Argument: _CGSFindSharedW indow: WID 295 Argument: CGSRemoveSurface: Invalid window 0x127
Known pipe types:
osxGraphicsPipe
(all display modules loaded.)
Fri Mar 11 18:40:34 CraigsBook.local Python[4509] <Error>: kCGErrorIllegal
Fri Mar 11 18:40:34 CraigsBook.local Python[4509] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
Fri Mar 11 18:40:34 CraigsBook.local Python[4509] <Error>: kCGErrorIllegal
Fri Mar 11 18:40:34 CraigsBook.local Python[4509] <Error>: kCGErrorIllegal
...
Fri Mar 11 18:40:35 CraigsBook.local Python[4509] <Error>: kCGErrorIllegal
Fri Mar 11 18:40:35 CraigsBook.local Python[4509] <Error>: kCGErrorIllegal
Fri Mar 11 18:40:35 CraigsBook.local Python[4509] <Error>: kCGErrorIllegal
Fri Mar 11 18:40:35 CraigsBook.local Python[4509] <Error>: kCGErrorIllegal
Fri Mar 11 18:40:35 CraigsBook.local Python[4509] <Error>: kCGErrorIllegal
I have seen this error before in 1.7.0, however I do not think the case of it showing up every single frame occurred before, like it does in 1.7.1