CrossOver Support - Community Forums

Important Information These are community forums and not official technical support. If you need official support: Contact Us

CrossOver Mac
Discussion about CrossOver Mac

The following comments are owned by whoever posted them. We are not responsible for them in any way.

Back to Threads Reply to Thread

Installation of an application patch into an existing bottle fails

I am trying to install a patch in an existing bottle which contains an application. I am using CrossOver (21.2) and have tried both 32-bit XP and Windows 7 bottles. However, the patch fails installation with the following error:

Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x7c3417fb).
Register dump:
CS:001b SS:0023 DS:0023 ES:0023 FS:1007 GS:000f
EIP:7c3417fb ESP:003154ac EBP:00316928 EFLAGS:00210246( R- -- I Z- -P- )
EAX:00000000 EBX:00316030 ECX:00000000 EDX:ffffffff
ESI:003160bc EDI:003160bc
Stack dump:
0x003154ac: 7c3a5679 00000000 00000000 0040baf5
0x003154bc: 00000000 00315ff8 00000001 00000009
0x003154cc: 00000000 00000000 00000000 00000000
0x003154dc: 00411a5b 003160bc 0031d2c8 00bb8798
0x003154ec: 0031d2d8 00bec43c 00315510 7c3a5600
0x003154fc: 00bf06c0 7c3a5665 00000033 00000000
0200: sel=1007 base=7ffc2000 limit=00000fff 32-bit rw-
Backtrace:
=>0 0x7c3417fb EntryPoint+0xffffffff() in msvcr71 (0x00316928) <--- I am focusing on this
1 0x001acc2c (0x001acc28)
2 0x6a4ba6c8 EntryPoint+0xd1b7() in ole32 (0x6a4bc380)
3 0x6a445240 EntryPoint+0xffffffff() in ole32 (0x6a44c900)
0x7c3417fb EntryPoint+0xffffffff in msvcr71: movl 0x0(%ecx),%eax

At first I thought this was happening because the patch executable could not run as Admin until I researched it and found out that wine runs all applications as Admin. Next, I tried to override the library msvcr71.dll and msvcp71.dll. These are both in the c:\windows\system32 directory of the bottle.

I did as follows:

  1. Open shell via Bottle->Open Shell
  2. Copy the exe containing the patch to c:\ of the bottle where the patch will be installed
  3. run the following commands in the shell of the bottle that needs to be patched:
    Note: wine is being called from c:\ of the bottle so ./patch.exe is c:\patch.exe

export WINEPATH="c:\windows\system32"
WINEDLLOVERRIDES="msvcr71,msvcp71=n,b" wine ./patch.exe

Any help is appreciated.

Please Note: This Forum is for non-application specific questions relating to installation/configuration of CrossOver. All application-specific posts to this Forum will be moved to their appropriate Compatibility Center Forum.

CrossOver Forums: the place to discuss running Windows applications on Mac and Linux

CodeWeavers or its third-party tools process personal data (e.g. browsing data or IP addresses) and use cookies or other identifiers, which are necessary for its functioning and required to achieve the purposes illustrated in our Privacy Policy. You accept the use of cookies or other identifiers by clicking the Acknowledge button.
Please Wait...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjoiZW4iLCJjYXJ0IjowLCJ0enMiOi02LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNzMxNDM1MjAzLCJjc3JmX3Rva2VuIjoiUTZ3OHY4YXRZSzltQmZBbiIsImdkcHIiOjB9