http://bugs.winehq.org/show_bug.cgi?id=18930
Summary: Failing to allocate an enormous image Product: Wine Version: 1.1.21 Platform: Macintosh OS/Version: Mac OS X 10.5 Status: UNCONFIRMED Severity: normal Priority: P2 Component: winex11.drv AssignedTo: wine-bugs@winehq.org ReportedBy: rgovostes@gmail.com
I'm trying to run IDA Pro. However, Wine exits prematurely due to a BadAlloc error during a call to X_CreatePixmap. Debugging showed that the image it was trying to allocate was 39327 x 74239 x 32 -- nearly 3 gigapixels. I expect the error arises from trying to draw the code view or call graph.
I'm not sure what debugging information would be useful here so please advise what would be helpful.
http://bugs.winehq.org/show_bug.cgi?id=18930
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|winex11.drv |-unknown
--- Comment #1 from Ken Sharp kennybobs@o2.co.uk 2009-06-13 15:50:00 --- What version of IDA Pro?
http://bugs.winehq.org/show_bug.cgi?id=18930
--- Comment #2 from rgovostes@gmail.com 2009-06-13 15:58:06 --- An important detail I forgot. It's IDA 5.2.
http://bugs.winehq.org/show_bug.cgi?id=18930
--- Comment #3 from Austin English austinenglish@gmail.com 2009-06-13 16:21:34 --- This the program? http://www.hex-rays.com/idapro/idadown.htm
Does the 5.4 demo or the 4.9 free version have the same problem?
http://bugs.winehq.org/show_bug.cgi?id=18930
Yann Droneaud yann@droneaud.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |yann@droneaud.fr
--- Comment #4 from Yann Droneaud yann@droneaud.fr 2009-06-13 16:39:49 --- (In reply to comment #0)
I'm trying to run IDA Pro. However, Wine exits prematurely due to a BadAlloc error during a call to X_CreatePixmap. Debugging showed that the image it was trying to allocate was 39327 x 74239 x 32 -- nearly 3 gigapixels. I expect the error arises from trying to draw the code view or call graph.
I'm not sure what debugging information would be useful here so please advise what would be helpful.
Such Pixmap can't be created on a X11 server.
Afaik, Pixmap (as other drawable on X11) dimension are described as 16bits, so no more than 65536. See Xproto.h:
typedef struct { CARD8 reqType; CARD8 depth; CARD16 length B16; Pixmap pid B32; Drawable drawable B32; CARD16 width B16, height B16; } xCreatePixmapReq;
Additionnaly, Xlib happily truncate an unsigned int to a 16bits value, so in this case the X11 server should receive a request for a pixmap 39327 x 8703 x 32.
http://bugs.winehq.org/show_bug.cgi?id=18930
--- Comment #5 from rgovostes@gmail.com 2009-06-24 17:09:35 --- (In reply to comment #3)
This the program? http://www.hex-rays.com/idapro/idadown.htm
Does the 5.4 demo or the 4.9 free version have the same problem?
Version 5.5 has the same problem.
X Error of failed request: BadAlloc (insufficient resources for operation) Major opcode of failed request: 53 (X_CreatePixmap) Serial number of failed request: 162016 Current serial number in output stream: 162158
Please advise what further debug info would be useful.
http://bugs.winehq.org/show_bug.cgi?id=18930
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Platform|Macintosh |PC
http://bugs.winehq.org/show_bug.cgi?id=18930
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.hex-rays.com/ida | |pro/idadown.htm
http://bugs.winehq.org/show_bug.cgi?id=18930
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- OS/Version|Mac OS X 10.5 |Mac OS X
http://bugs.winehq.org/show_bug.cgi?id=18930
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #6 from joaopa jeremielapuree@yahoo.fr 2013-04-20 11:20:36 CDT --- still a bug in current wine?
http://bugs.winehq.org/show_bug.cgi?id=18930
Frédéric Delanoy frederic.delanoy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |frederic.delanoy@gmail.com Summary|Failing to allocate an |IDA Pro: Failing to |enormous image |allocate an enormous image
http://bugs.winehq.org/show_bug.cgi?id=18930
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #7 from Alexandre Julliard julliard@winehq.org 2013-06-25 10:39:30 CDT --- We no longer create X pixmaps for bitmaps, so assuming fixed.
http://bugs.winehq.org/show_bug.cgi?id=18930
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Alexandre Julliard julliard@winehq.org 2013-06-28 15:03:54 CDT --- Closing bugs fixed in 1.6-rc4.