Hi there,
We have a client that is using our application and is reporting a GPF. I've looked through the trace and it seems to be coming from CgPrinterJobAttributes class>>devModeDriver:devName:devMedium:flags:oldDeviceMode:
I'm not really sure but I wanted to post here to see if anyone else has experienced this and what they did to correct it.
The message we are getting is "Primitive failed in: PlatformFunction>>#callWith:with:with:with:with:with: due to General protection fault - read from invalid memory location". When I look at the implementation of devModeDriver:devName:devMedium:flags:oldDeviceMode: I see something that looks suspicious. There is a comment in the code that speaks of a bug in the Windows driver where the correct number of bytes may not be returned so the method pads OSdevmode by 10 bytes. This looks like it could be our problem. I'm curious to know if the extra 10 bytes is not enough in this case.
Has anyone else experienced anything similar?