From owner-freebsd-emulation@FreeBSD.ORG Sun Jul 11 15:11:31 2010 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B34FC1065675 for ; Sun, 11 Jul 2010 15:11:31 +0000 (UTC) (envelope-from mickael.maillot@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 4179A8FC08 for ; Sun, 11 Jul 2010 15:11:30 +0000 (UTC) Received: by wwe15 with SMTP id 15so1051702wwe.31 for ; Sun, 11 Jul 2010 08:11:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=aVqKrvh4jQyMX+GMQeZOeGvhFbTJon8JBdhwbBWwAEQ=; b=IQkGUNnGLoK3uE05R5AM4yFY64gwR+5kmd1rZdMp+0xDK4nrM7yaQfew9C+wPiLL4A U7YyX5C4sYJjbClhA9g4z93kRwmEfWDdSG+JFXJXg+YlTZPnjeO4hF5pAsYWDksUaEwP 3SctmKKcqNa3F5/MspjDMPgPBbBipNw7CxRio= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=G8nb1pD6hmXPaoufJD3vh9u8QUTxxrI7Z1UPEwi62bK+bmHNdZnCb26+5SKaBV6Ixk OdKcx4LX11PXUqwGg8ra2TkCKWBssixS66WB8po6GYhcNsRELDAM/DucXfrBtkfFhYQo PUDywKVzyRVF44x6X86AO5D70uBXPixKsiJKs= MIME-Version: 1.0 Received: by 10.227.158.1 with SMTP id d1mr2361062wbx.110.1278861090127; Sun, 11 Jul 2010 08:11:30 -0700 (PDT) Received: by 10.216.11.145 with HTTP; Sun, 11 Jul 2010 08:11:30 -0700 (PDT) In-Reply-To: <201007111607.07727.naylor.b.david@gmail.com> References: <201007111607.07727.naylor.b.david@gmail.com> Date: Sun, 11 Jul 2010 17:11:30 +0200 Message-ID: From: =?ISO-8859-1?Q?Micka=EBl_Maillot?= To: David Naylor Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-emulation@freebsd.org Subject: Re: sc2 with wine on amd64 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jul 2010 15:11:31 -0000 i disable nx protection in my BIOS and no change. 2010/7/11 David Naylor : > On Sunday 11 July 2010 12:17:23 Micka=EBl Maillot wrote: >> Hi >> >> i try to play StarCraft 2 with wine on my amd64 8-STABLE desktop. >> first there is a patch to get the game working: >> http://freelooser.fr/freebsd/patch-dlls__wined3d__swapchain_base.c >> see bug: http://bugs.winehq.org/show_bug.cgi?id=3D23556 >> >> now the problem related to amd64, when i start the game with windbg: > > If this is a problem related to amd64 (i.e. it does work under i386) then= you > could try to disable NX protection in your BIOS. > > I'm not sure of a way to only disable NX protection for wine under amd64. > >> WineDbg starting on pid 0019 >> First chance exception: page fault on write access to 0x00370000 in >> 32-bit code (0x7e66468f). >> Register dump: >> =A0CS:0033 SS:003b DS:003b ES:003b FS:0013 GS:001b >> =A0EIP:7e66468f ESP:0034f930 EBP:0034f9b8 EFLAGS:00010a02( =A0R- --O I = =A0 - - - >> ) EAX:00370000 EBX:7e75f32c ECX:00000003 EDX:00000067 >> =A0ESI:00000010 EDI:00000010 >> Stack dump: >> 0x0034f930: =A00000031c 00000000 00000000 00000010 >> 0x0034f940: =A000000010 00000000 00000000 00000010 >> 0x0034f950: =A000000010 7ea66a1c 00133cd0 00000000 >> 0x0034f960: =A000cc0020 7e80dbc4 80808081 00000000 >> 0x0034f970: =A000010020 00370000 00000000 00000010 >> 0x0034f980: =A000000010 00000040 00200001 00000000 >> Backtrace: >> =3D>0 0x7e66468f create_alpha_bitmap+0x2af(color=3D0x318, mask=3D0x314, >> src_info=3D0x133cd0, color_bits=3D0x7ea66a1c) >> [/usr/ports/emulators/wine/work/wine-1.2-rc7/dlls/user32/cursoricon.c:77= 1] >> in user32 (0x0034fa38) >> =A0 1 0x7e664ada create_icon_bitmaps+0x389(bmi=3D0x7ea669f4, width=3D0x0= 010, >> height=3D0x0010, color=3D0x34fa70, mask=3D0x34fa6c, alpha=3D0x34fa68) >> [/usr/ports/emulators/wine/work/wine-1.2-rc7/dlls/user32/cursoricon.c:83= 7] >> in user32 (0x0034fa98) >> =A0 2 0x7e664ecb CURSORICON_CreateIconFromBMI+0x23a(bmi=3D0x7ea669f4, >> hotspot=3D{x=3D0x0008, y=3D0x0008}, bIcon=3D0x0001, dwVersion=3D0x30000, >> width=3D0x0010, height=3D0x0010, cFlag=3D0x8000) >> [/usr/ports/emulators/wine/work/wine-1.2-rc7/dlls/user32/cursoricon.c:91= 7] >> in user32 (0x0034faf8) >> =A0 3 0x7e665914 CreateIconFromResourceEx+0x153(bits=3D"(", cbSize=3D0x0= 468, >> bIcon=3D0x0001, dwVersion=3D0x30000, width=3D0x0010, height=3D0x0010, >> cFlag=3D0x8000) >> [/usr/ports/emulators/wine/work/wine-1.2-rc7/dlls/user32/cursoricon.c:11= 59 >> ] in user32 (0x0034fb78) >> wineserver: file_set_error() can't map error: Bad address >> =A0 4 0x7e665f42 CURSORICON_Load+0x311(hInstance=3D0x7e950000, name=3D**= * >> invalid address 0x1 ***, width=3D0x0010, height=3D0x0010, depth=3D0x0020= , >> fCursor=3D0, loadflags=3D0x8000) >> [/usr/ports/emulators/wine/work/wine-1.2-rc7/dlls/user32/cursoricon.c:12= 92] >> in user32 (0x0034fbc8) >> wineserver: file_set_error() can't map error: Bad address >> =A0 5 0x7e6693cb LoadImageW+0x1fa(hinst=3D0x7e950000, name=3D*** invalid >> address 0x1 ***, type=3D0x0001, desiredx=3D0x0010, desiredy=3D0x0010, >> loadflags=3D0x8000) >> [/usr/ports/emulators/wine/work/wine-1.2-rc7/dlls/user32/cursoricon.c:23= 92] >> in user32 (0x0034fc68) >> wineserver: file_set_error() can't map error: Bad address >> =A0 6 0x7e668fed LoadImageA+0x4c(hinst=3D0x7e950000, name=3D*** invalid >> address 0x1 ***, type=3D0x0001, desiredx=3D0x0010, desiredy=3D0x0010, >> loadflags=3D0x8000) >> [/usr/ports/emulators/wine/work/wine-1.2-rc7/dlls/user32/cursoricon.c:23= 33] >> in user32 (0x0034fcc8) >> =A0 7 0x7e97119e SIC_Initialize+0x1bd() >> [/usr/ports/emulators/wine/work/wine-1.2-rc7/dlls/shell32/iconcache.c:41= 7] >> in shell32 (0x0034fd08) >> =A0 8 0x7e97e8c5 DllMain+0xe4(hinstDLL=3D0x7e950000, fdwReason=3D0x0001, >> fImpLoad=3D0x1) >> [/usr/ports/emulators/wine/work/wine-1.2-rc7/dlls/shell32/shell32_main.c= :1 >> 166] in shell32 (0x0034fd38) >> =A0 9 0x7e9c9e1a __wine_spec_dll_entry+0x69(inst=3D0x7e950000, >> reason=3D0x0001, reserved=3D0x1) >> [/usr/ports/emulators/wine/work/wine-1.2-rc7/dlls/winecrt0/dll_entry.c:4= 0] >> in shell32 (0x0034fd58) >> =A0 10 0x7e44a925 call_dll_entry_point+0x14() in ntdll (0x0034fe58) >> =A0 11 0x7e44ce77 MODULE_InitDLL+0x216(wm=3D0x1191e0, reason=3D0x0001, >> lpReserved=3D0x1) >> [/usr/ports/emulators/wine/work/wine-1.2-rc7/dlls/ntdll/loader.c:982] >> in ntdll (0x0034fec8) >> =A0 12 0x7e44d211 process_attach+0x190(wm=3D0x1191e0, lpReserved=3D0x1) >> [/usr/ports/emulators/wine/work/wine-1.2-rc7/dlls/ntdll/loader.c:1071] >> in ntdll (0x0034ff38) >> =A0 13 0x7e44d1c3 process_attach+0x142(wm=3D0x119130, lpReserved=3D0x1) >> [/usr/ports/emulators/wine/work/wine-1.2-rc7/dlls/ntdll/loader.c:1063] >> in ntdll (0x0034ffa8) >> =A0 14 0x7e44d1c3 process_attach+0x142(wm=3D0x1186f8, lpReserved=3D0x1) >> [/usr/ports/emulators/wine/work/wine-1.2-rc7/dlls/ntdll/loader.c:1063] >> in ntdll (0x0034ffe8) >> =A0 15 0x7e4515e4 attach_process_dlls+0x53(wm=3D0x1186f8) >> [/usr/ports/emulators/wine/work/wine-1.2-rc7/dlls/ntdll/loader.c:2541] >> in ntdll (0x00000000) >> 0x7e66468f create_alpha_bitmap+0x2af >> [/usr/ports/emulators/wine/work/wine-1.2-rc7/dlls/user32/cursoricon.c:77= 1] >> in user32: movb =A0 =A0 =A0 %dl,0x0(%eax) >> Unable to open file '' >> Wine-dbg> >> >> the cursor does not have its bitmaps. >> the game crash few second laster with also a memory access problem. >