ID:1432045
 
So I just tried to set up a wine directory, following the instructions above to the letter. Now when I run byond.exe, I get past the loading screen, but anytime I click on something or even move my mouse over something it crashes. Tried uninstalling and reinstalling with the same result. I would greatly appreciate any help in fixing it.

Log:

wine: Unhandled page fault on write access to 0x00000000 at address 0x402bfaed (thread 0009), starting debugger...
Unhandled exception: page fault on write access to 0x00000000 in 32-bit code (0x402bfaed).
Register dump:
CS:001b SS:0023 DS:0023 ES:0023 FS:1007 GS:000f
EIP:402bfaed ESP:00329620 EBP:00329638 EFLAGS:00010206( R- -- I - -P- )
EAX:00000000 EBX:00000000 ECX:40322858 EDX:403227f0
ESI:402bfa86 EDI:02b66d24
Stack dump:
0x00329620: 40322854 000001ab 40322854 000300ee
0x00329630: 00329840 00000000 003297d8 402ca642
0x00329640: 00000000 02b66d20 00000010 00000000
0x00329650: 00329860 00329740 0032971c 000300ee
0x00329660: 000300ee 402ce32d 00329688 402bfb9a
0x00329670: 000300ee 00000001 00000000 40320f08
0200: sel=1007 base=7ffc0000 limit=00000fff 32-bit rw-
Backtrace:
=>0 0x402bfaed (0x00329638)
1 0x402ca642 (0x003297d8)
2 0x402cb41a (0x00329928)
3 0x402c7994 (0x00329998)
4 0x40bcdfd7 (0x00329a98)
5 0x40bccee0 (0x0032a3e8)
6 0x402cd09a (0x0032a418)
7 0x402ce2a8 (0x0032a458)
8 0x402cdf85 (0x0032c178)
9 0x402cf463 (0x0032c1c4)
10 0x5f406aae in mfc42 (+0x6aad) (0x0032c238)
11 0x402cd09a (0x0032c268)
12 0x402ce2a8 (0x0032c2a8)
13 0x402ce44f (0x0032c2e8)
14 0x4029ef33 (0x0032c390)
15 0x5f4011ce in mfc42 (+0x11cd) (0x0047434c)
0x402bfaed: movl %edi,0x0(%eax)
Modules:
Module Address Debug info Name (61 modules)
PE 400000- 571000 Deferred byond
PE 580000- 80f000 Deferred byondcore
PE 810000- 9e1000 Deferred byondext
PE c10000- 16a1000 Deferred ieframe
PE a3a0000- a3c9000 Deferred msls31
PE a6e0000- a70f000 Deferred iepeers
PE 10000000-1018d000 Deferred byondwin
PE 1a400000-1a532000 Deferred urlmon
PE 1b000000-1b00c000 Deferred imgutil
PE 1b060000-1b06e000 Deferred pngfilt
PE 35c50000-35c89000 Deferred dxtrans
PE 35cb0000-35d07000 Deferred dxtmsft
PE 40240000-4026e000 Deferred user32
PE 40380000-40384000 Deferred gdi32
PE 40500000-40504000 Deferred advapi32
PE 40570000-40574000 Deferred version
PE 40590000-40594000 Deferred msvcrt
PE 40620000-40624000 Deferred wsock32
PE 40640000-40644000 Deferred ws2_32
PE 40670000-40674000 Deferred iphlpapi
PE 406a0000-407ae000 Deferred shell32
PE 40880000-4088b000 Deferred winmm
PE 408d0000-408d8000 Deferred ole32
PE 409f0000-409f4000 Deferred rpcrt4
PE 40a80000-40a84000 Deferred msacm32
PE 40aa0000-40aa3000 Deferred msvcirt
PE 40ad0000-40ad3000 Deferred msimg32
PE 40ae0000-40af2000 Deferred comdlg32
PE 40b50000-40b70000 Deferred comctl32
PE 40c40000-40c46000 Deferred winspool
PE 40c80000-40c87000 Deferred oleaut32
PE 40e20000-40e23000 Deferred winemac
PE 42780000-42784000 Deferred uxtheme
PE 43ac0000-43ac4000 Deferred riched32
PE 43ad0000-43ad4000 Deferred imm32
PE 443f0000-443f3000 Deferred usp10
PE 44430000-44434000 Deferred psapi
PE 44440000-44444000 Deferred mlang
PE 44d70000-44e56000 Deferred wininet
PE 44d70000-44e56000 Deferred wininet
PE 44d70000-44e56000 Deferred wininet
PE 44dd0000-44dd4000 Deferred mpr
PE 44f40000-44f44000 Deferred atl
PE 44f60000-44f64000 Deferred atl80
PE 44f80000-44f83000 Deferred atl100
PE 44fb0000-44fb4000 Deferred ddrawex
PE 44fe0000-44fe4000 Deferred ddraw
PE 45060000-45064000 Deferred wined3d
PE 45180000-45184000 Deferred opengl32
PE 45f30000-45f36000 Deferred crypt32
PE 45fb0000-45fc8000 Deferred cryptui
PE 47d60000-47d64000 Deferred gdiplus
PE 5dca0000-5de88000 Deferred iertutil
PE 5f400000-5f4f2000 Export mfc42
PE 63380000-63434000 Deferred jscript
PE 63580000-63b2c000 Deferred mshtml
PE 77760000-778d0000 Deferred shdocvw
PE 77f60000-77fd6000 Deferred shlwapi
PE 7ac10000-7ac14000 Deferred riched20
PE 7b810000-7b866000 Deferred kernel32
PE 7bc10000-7bc14000 Deferred ntdll
Threads:
process tid prio (all id:s are in hex)
00000008 (D) Z:\Users\maxisraelit\.Trash\winebyond 10.59.43 AM\drive_c\Program Files\BYOND\bin\byond.exe
00000042 0
00000040 0
0000003f 0
0000003e 0
0000003d 0
0000003c 0
0000003b 0
0000003a 0
00000039 0
00000038 0
00000037 0
00000036 0
00000035 0
00000034 0
00000033 0
00000032 0
00000031 0
00000030 0
0000002f 0
0000002e 0
0000002d 0
0000002c 0
0000002b 0
0000002a 0
00000029 0
00000028 0
00000027 0
00000026 0
00000024 0
00000023 0
00000009 0 <==
0000000e services.exe
0000001e 0
0000001d 0
00000018 0
00000016 0
00000014 0
00000010 0
0000000f 0
00000012 winedevice.exe
0000001a 0
00000019 0
00000017 0
00000013 0
0000001b plugplay.exe
00000020 0
0000001f 0
0000001c 0
00000021 explorer.exe
00000022 0

Running on a Macbook Pro
What version of Wine is this? I know OS X runs a bit behind the Linux releases usually.

Unfortunately I don't have an OS X machine to test on, but maybe we can work our way through this.
And also what version of BYOND. I know v500 did not work whatsoever on 1.6. I upgraded to 1.7.x and it began to work fine. So anything earlier could potentially cause even bigger problems.
Well, 498 or so is fine on older versions of Wine, so ... not really.
Yes, 498 is fine. But, if he is using 500 then it may cause some problems we don't know about. Just a small questions to clear up any possibilities.
Well he's got a pretty big one we do know about, he's on OS X. Which is a whole other set of core libraries for Wine.
The core mfc library on OS X seems to be having hiccups, apparently. Definitely going to need a wine version number here - looking around on WineHQ, my impression is that you're probably using 1.6.1. My suggestion is that you try to download the latest wine source code and compile it yourself.
In response to Marquesas
I'm getting a similar problem. I'm using the most recent version of wine and BYOND on OSX 10.9.1. I can post the logs if anyone thinks that would help.
Might as well. We can then turn that into a bug report possibly.
I got latest version of byond (504.1234) working on wine version 1.6.2, mac osx 10.9.1. just now.

What I did:
Renamed my own .wine prefix to .wine_old, effectively removing it. Re-installed wine through HomeBrew: http://www.davidbaumgold.com/tutorials/wine-mac/
Followed instructions for byond installation here:
http://www.byond.com/forum/?post=724526

Installing ie7 and ie8 I got error messages for regsvr32.exe when the installer tried to "restart windows" or something of that sort. Same error message as here:
http://ubuntuforums.org/showthread.php?t=1583090
But looking through winetricks' installs, ie7 and ie8 show up as 'cached' so I guess they are working fine.

Every byond 500+ feature is not working correctly though. For example SS13 uses icon transformations for mobs laying down (the standing-up icon is rotated somehow, where-as before there were separate sprites for mobs that were laying down). This rotation doesn't work correctly. It is one of the few byond 500+ features I know are used, but kinda important for the gameplay to know if a mob is standing or not. If someone can point to a possible solution, would appreciate greatly.

Also I get a lot of fixme: messages, but it is nothing new.