http://bugs.winehq.org/show_bug.cgi?id=3128
Summary: Unhandled exception in X11DRV when starting Heroes of Might and Magic II Product: Wine Version: 20050628 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: blocker Priority: P2 Component: wine-x11driver AssignedTo: wine-bugs@winehq.org ReportedBy: alex@thehandofagony.com
When starting Heroes of Might and Magic II Gold ('wine heroes2w' in the game directory), a window with a menu and a large black area, where the game would normally be, is displayed. WineDBbg starts, and outputs the text that is included at the end of this message. Wine was complied with gcc version 3.3.5-20050130 (Gentoo Linux 3.3.5.20050130-r1, ssp-3.3.5.20050130-1, pie-8.7.7.1) There is a demo of the game, which I can upload if it is necessary (the developer, 'New World Computing' went bankrupt, and the demo is hard to find on the Internet).
Wine output (Running with WINEDEBUG=+relay gives no additional output)
wine: Unhandled exception (thread 0009), starting debugger... WineDbg starting on pid 0x8 Unhandled exception: divide by zero in 32-bit code (0x7fed502c). In 32 bit mode. Register dump: CS:0073 SS:007b DS:007b ES:007b FS:003b GS:0033 EIP:7fed502c ESP:7ba9fae4 EBP:7ba9fc28 EFLAGS:00210202( - 00 - -RI1) EAX:00000040 EBX:7fefe2d8 ECX:00000000 EDX:00000000 ESI:7bc33880 EDI:7bc3388c Stack dump: 0x7ba9fae4: 7c0d02e8 000000b4 00000000 00000040 0x7ba9faf4: 00000001 00000015 00000000 00000017 0x7ba9fb04: 00000010 00000000 00000000 00000000 0x7ba9fb14: 00000000 00000000 00000000 00000000 0x7ba9fb24: 00000000 00000000 00000000 00000000 0x7ba9fb34: 00000000 00000000 00000000 00000000 Backtrace: =>1 0x7fed502c in winex11.drv (+0x2502c) (0x7ba9fc28) 2 0x7fed5e33 X11DRV_SetCursor+0xce in winex11.drv (0x7ba9fc4c) 3 0x7b86d32a ShowCursor+0x6b in user32 (0x7ba9fc64) 4 0x004cecfe in heroes2w (+0xcecfe) (0x00000000) 0x7fed502c: idivl %ecx,%eax