VeZA routeplanner: X_CreatePixmap error

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Gert van den Berg

VeZA routeplanner: X_CreatePixmap error

Post by Gert van den Berg »

Hi

I'm having trouble running VeZA route planner under Wine 1.1.10 under
Gentoo (x86).

mohag@mohagpc ~/.wine_veza/drive_c/Program Files/VeZA Route planner $
WINEPREFIX=~/.wine_veza wine routeplan.exe
X Error of failed request: BadAlloc (insufficient resources for operation)
Major opcode of failed request: 53 (X_CreatePixmap)
Serial number of failed request: 1982
Current serial number in output stream: 1986

Do anyone have a idea what the problem might be?

http://bugs.winehq.org/show_bug.cgi?id=14664
http://appdb.winehq.org/objectManager.p ... &iId=13123

(Demo download link on both AppDb and bug)

XOrg version: 1.5.2 (No config, everything is autodetecting)
Display driver: xf86-video-intel 2.5.1

Possibly related bugs:
http://bugs.winehq.org/show_bug.cgi?id=10332
http://bugs.winehq.org/show_bug.cgi?id=5241
http://bugs.winehq.org/show_bug.cgi?id=15681
http://bugs.winehq.org/show_bug.cgi?id=11217

Gert
Gert van den Berg

VeZA routeplanner: X_CreatePixmap error

Post by Gert van den Berg »

Thank you Austin for confirming the bug.

There seem to be a huge (32759x32759 32 bpp) bitmap / pixmap / image
involved (someone that knows X11 might help me out with the
terminology?). The immediate cause of the crash would seem to be a X
error (and the real issue that Wine does not work around the
limitation...), do anyone know a possible workaround, maybe involving
the Xorg config? (Info on how to work with Xorg.conf (without totally
destroying the auto-detection) in a recent X.org would be nice as
well, but that is almoust certainly OT)

For those not following the bug as well: A WINEDBUG=+x11drv log:
http://bugs.winehq.org/attachment.cgi?id=17915

Just wondering: Is this by any chance the kind of issue that might be
addressed by the DIB engine?

(I had a look at my Wine-git source code, found it interesting and
decided that my mostly embedded C / Windows C++ knowledge Is probably
not really relevant for Wine's X11 code... All I managed to figure out
is that this is probably where the error comes from:
http://tronche.com/gui/x/xlib/pixmap-an ... ixmap.html )

Gert
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: VeZA routeplanner: X_CreatePixmap error

Post by vitamin »

Gert van den Berg wrote:There seem to be a huge (32759x32759 32 bpp) bitmap / pixmap / image
involved (someone that knows X11 might help me out with the
terminology?). The immediate cause of the crash would seem to be a X
error (and the real issue that Wine does not work around the
limitation...), do anyone know a possible workaround, maybe involving
the Xorg config?
No, this is hardcoded "limitations" - a "security fix" that was done several years ago to not allow allocation of huge bitmaps like this.
Locked