[Bug 9809] Autodesk Revit Architecture 2008 install fails

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Feb 22 01:31:28 CST 2008


http://bugs.winehq.org/show_bug.cgi?id=9809





--- Comment #16 from Louis Lenders <xerox_xerox2000 at yahoo.co.uk>  2008-02-22 01:31:26 ---
Hi, just a followup on this bug:

After applying the patch for shell32 bug I now get a crash in user32:

err:cursor:DIB_GetBitmapInfo (1633746944): unknown/wrong size for header
err:cursor:DIB_GetBitmapInfo (1633746944): unknown/wrong size for header
X Error of failed request:  BadValue (integer parameter out of range for
operation)
  Major opcode of failed request:  53 (X_CreatePixmap)
  Value in failed request:  0x0
  Serial number of failed request:  45080
  Current serial number in output stream:  45084


Stupid hack below got me around that bug. Then i got i nice crash in msi:

Backtrace:
=>1 0x6ec6c27a move_files_wildcard+0x39a(source=0x2106fd8, dest=0x21074b0,
options=0x0) [/sda6/wine-git/dlls/msi/action.c:5284] in msi (0x61f33374)
  2 0x6ec6ca08 ITERATE_MoveFiles+0x4f8(rec=0x2106de8, param=0x1c00028)
[/sda6/wine-git/dlls/msi/action.c:5405] in msi (0x61f333b4)
  3 0x6eca4811 MSI_IterateRecords+0x91(view=0x2094e58, count=0x0,
func=0x6ec6c510, param=0x1c00028) [/sda6/wine-git/dlls/msi/msiquery.c:190] in
msi (0x61f333f4)
  4 0x6ec63920 ACTION_MoveFiles+0x60(package=<register EDI not in topmost
frame>) [/sda6/wine-git/dlls/msi/action.c:5429] in msi (0x61f33434)


I also hacked around this, installer completed, but because of hack, the main
app complained about a bad install, so pity here. looks like there are three
bugs to fix atm







stupid hack:
diff --git a/dlls/user32/cursoricon.c b/dlls/user32/cursoricon.c
index 0ec5b32..771d568 100644
--- a/dlls/user32/cursoricon.c
+++ b/dlls/user32/cursoricon.c
@@ -342,7 +342,14 @@ static int DIB_GetBitmapInfo( const BITMAPINFOHEADER
*header, LONG *width,
         return 5;
     }
     ERR("(%d): unknown/wrong size for header\n", header->biSize );
-    return -1;
+       {
+        *width  = header->biWidth;
+        *height = header->biHeight;
+        *bpp    = header->biBitCount;
+        *compr  = header->biCompression;
+        return 1;
+    }
+
 }


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list