Hi, I've been having a lot of problems with install shield and BadDrawables.
1: Does anyone know what's causing the problem? 2: Are there any plans to implement XSetErrorHandler and manager the errors better, even if it's an int3 that winedbg can catch.
e.g.
int myXErrorHandler(Display *display, XErrorEvent *xError){ switch(xError->type){ case BadDrawable:
break; default: int3(); return XErrorHandler(NULL); } Xerror = xError->error_code; return 0; /* return value ignored */ }
oid setErrorHandler(void){ XSetErrorHandler(myXErrorHandler); }
void dosomething(void){
Xerror = 0; SomeXCall(); if(Xerror){ /* call failed, take appropriate action */ } }
Some examples are....
http://www.download.com/Aliens-vs-Predator-2-single-player-demo/3000-7563_4-...
fixme:sync:SetNamedPipeHandleState 0xa8 0xb5bd50d4 (nil) (nil) wine: Unhandled exception (thread 002f), starting debugger... WineDbg starting on pid 0x11 X Error of failed request: BadDrawable (invalid Pixmap or Window parameter) Major opcode of failed request: 67 (X_PolyRectangle) Resource id in failed request: 0x6200007 Serial number of failed request: 989 Current serial number in output stream: 1049
http://games.softpedia.com/get/Games-Demo/Crazy-Taxi-Demo.shtml X Error of failed request: BadDrawable (invalid Pixmap or Window parameter) Major opcode of failed request: 62 (X_CopyArea) Resource id in failed request: 0x6000007 Serial number of failed request: 3252 Current serial number in output stream: 3258
http://www.download.com/1503-A-D-The-New-World-demo/3000-7485_4-10228730.htm... fixme:x11drv:X11DRV_SetWindowRgn not supported on other thread window 0x3002e X Error of failed request: BadDrawable (invalid Pixmap or Window parameter) Major opcode of failed request: 62 (X_CopyArea) Resource id in failed request: 0x5a00007 Serial number of failed request: 3152 Current serial number in output stream: 3158
http://www.download.com/Colin-McRae-Rally-2005-demo/3000-7531_4-10312485.htm... crashes at the end with fixme:propsheet:PROPSHEET_UnImplementedFlags PSH_RTLREADING X Error of failed request: BadDrawable (invalid Pixmap or Window parameter) Major opcode of failed request: 62 (X_CopyArea) Resource id in failed request: 0x6600007 Serial number of failed request: 28770 Current serial number in output stream: 28799
On Tue, Mar 29, 2005 at 03:19:42PM +0100, Oliver Stieber wrote:
Hi, I've been having a lot of problems with install shield and BadDrawables.
1: Does anyone know what's causing the problem? 2: Are there any plans to implement XSetErrorHandler and manager the errors better, even if it's an int3 that winedbg can catch.
Are you using desktop mode?
InstallShield works fine in Managed mode...
Oh, and there is a X Errorhandler, just enabled Synchronous mode to get a backtrace.
Ciao, Marcus
On Tuesday 29 March 2005 16:04, Marcus Meissner wrote:
On Tue, Mar 29, 2005 at 03:19:42PM +0100, Oliver Stieber wrote:
Hi, I've been having a lot of problems with install shield and BadDrawables.
1: Does anyone know what's causing the problem? 2: Are there any plans to implement XSetErrorHandler and manager the errors better, even if it's an int3 that winedbg can catch.
Are you using desktop mode?
InstallShield works fine in Managed mode...
Turning of desktop mode fixed the problem.
Oh, and there is a X Errorhandler, just enabled Synchronous mode to get a backtrace.
Ciao, Marcus