I'm seeing the same issue with the Display variable. In my case I'm just launching Wine from the menu and let e.g. winehelper launch programs. The app I'm working on still crashes frequently on the Mac and when I try to restart the (it shows a nice backtrace in the error) I get the mentioned error. Quitting winehelper and restarting the Xserver fixes the issues. Roderick