http://bugs.winehq.org/show_bug.cgi?id=2625
Summary: wine client error:4d4: write: Bad file descriptor for running Call To Power II Product: Wine Version: 20041019 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-loader AssignedTo: wine-bugs@winehq.org ReportedBy: storri@torri.org
Wine version: 20041019
OS: Gentoo, Intel Pentium III x2
GCC: gcc (GCC) 3.4.3 20041125 (Gentoo Linux 3.4.3-r1, ssp-3.4.3-0, pie-8.7.7)
Windows Version: Don't have one installed.
Application: Call to Power II (unpatched, fresh install, application does not start so I can tell what actual version it is).
Command Line Args: wine ctp2.exe (ran from within .wine/fake_windows/Program Files/Activision/Call to Power 2/ctp2_program/)
Reproduce bug: 1) Mount cd 'mount /mnt/cdrom' 2) Change to directory of ctp2.exe 3) Run wine as above: wine ctp2.exe
Application starts giving a progress bar. It gets to 10% before crashing giving the option to debug.
Result from Debug:
WineDbg starting on pid 0x4d3 Unhandled exception: page fault on write access to 0xb3f5f39c in 32-bit code (0x403d731c). In 32 bit mode. Register dump: CS:0073 SS:007b DS:007b ES:007b FS:003b GS:0033 EIP:403d731c ESP:406cfddc EBP:406cfe06 EFLAGS:00010206( - 00 - RIP1) EAX:403d731e EBX:41bb48b0 ECX:40411d70 EDX:4093fe94 ESI:41c09671 EDI:41c097e0 Stack dump: 0x406cfddc: 4093fe94 0060436b 403d731c 00000000 0x406cfdec: 41c09670 406cfe00 41c09670 406cfe18 0x406cfdfc: 007959d6 00000001 406cfe24 0061e865 0x406cfe0c: 00000000 41c09670 41c09670 406cfe74 0x406cfe1c: 00797d68 ffffffff 406cfe30 0061e8bb 0x406cfe2c: 41aa61f8 406cfe84 0040abc0 00000001 Backtrace: =>1 0x403d731c (0x406cfe06) 0x403d731c: mov %ss,0x73b8807e(%eax) Modules: Module Address Debug info Name (95 modules) PE 0x00400000-00b0c000 Deferred ctp2 PE 0x10000000-1002b000 Deferred anet2 PE 0x21100000-2115e000 Deferred mss32 PE 0x35500000-355e7000 Deferred quartz ELF 0x40000000-40016000 Deferred ld-linux.so.2 ELF 0x40017000-40030000 Deferred libwine.so.1 ELF 0x4004f000-40060000 Deferred libpthread.so.0 ELF 0x40060000-40175000 Deferred libc.so.6 ELF 0x40175000-40178000 Deferred libdl.so.2 ELF 0x40179000-401f2000 Deferred ntdll<elf> -PE 0x40190000-401f2000 \ ntdll ELF 0x401f2000-402e5000 Deferred libwine_unicode.so.1 ELF 0x40304000-40326000 Deferred libm.so.6 ELF 0x40345000-4034d000 Deferred libnss_compat.so.2 ELF 0x4034d000-40362000 Deferred libnsl.so.1 ELF 0x40362000-4036b000 Deferred libnss_nis.so.2 ELF 0x4036b000-40374000 Deferred libnss_files.so.2 ELF 0x40490000-405ac000 Deferred kernel32<elf> -PE 0x404c0000-405ac000 \ kernel32 ELF 0x406d0000-40803000 Deferred user32<elf> -PE 0x406f0000-40803000 \ user32 ELF 0x40803000-40890000 Deferred gdi32<elf> -PE 0x40820000-40890000 \ gdi32 ELF 0x40890000-408cb000 Deferred advapi32<elf> -PE 0x408a0000-408cb000 \ advapi32 ELF 0x408cb000-408e5000 Deferred version<elf> -PE 0x408d0000-408e5000 \ version ELF 0x408e5000-408fb000 Deferred lz32<elf> -PE 0x408f0000-408fb000 \ lz32 PE 0x40900000-40947000 Deferred msvcrt ELF 0x40947000-409c4000 Deferred ole32<elf> -PE 0x40960000-409c4000 \ ole32 ELF 0x409c4000-40a0c000 Deferred rpcrt4<elf> -PE 0x409e0000-40a0c000 \ rpcrt4 ELF 0x40a0c000-40a2c000 Deferred iphlpapi<elf> -PE 0x40a20000-40a2c000 \ iphlpapi ELF 0x40a2c000-40ac0000 Deferred oleaut32<elf> -PE 0x40a50000-40ac0000 \ oleaut32 ELF 0x40ac0000-40b40000 Deferred winmm<elf> -PE 0x40ad0000-40b40000 \ winmm ELF 0x40b40000-40bbe000 Deferred ddraw<elf> -PE 0x40b60000-40bbe000 \ ddraw ELF 0x40bdd000-40be6000 Deferred libsm.so.6 ELF 0x40be6000-40bfe000 Deferred libice.so.6 ELF 0x40bfe000-40c04000 Deferred libxxf86dga.so.1 ELF 0x40c04000-40c0a000 Deferred libxxf86vm.so.1 ELF 0x40c0a000-40c0f000 Deferred libxv.so.1 ELF 0x40c0f000-40c21000 Deferred libxext.so.6 ELF 0x40c21000-40cf7000 Deferred libx11.so.6 ELF 0x40cf7000-40d32000 Deferred dinput<elf> -PE 0x40d10000-40d32000 \ dinput ELF 0x40d32000-40d7f000 Deferred dsound<elf> -PE 0x40d40000-40d7f000 \ dsound ELF 0x40d7f000-40e3c000 Deferred shell32<elf> -PE 0x40da0000-40e3c000 \ shell32 ELF 0x40e3c000-40e99000 Deferred shlwapi<elf> -PE 0x40e50000-40e99000 \ shlwapi ELF 0x40e99000-40f56000 Deferred comctl32<elf> -PE 0x40eb0000-40f56000 \ comctl32 ELF 0x40f56000-40f96000 Deferred avifil32<elf> -PE 0x40f60000-40f96000 \ avifil32 ELF 0x40f96000-40fbc000 Deferred msacm32<elf> -PE 0x40fa0000-40fbc000 \ msacm32 ELF 0x40fbc000-40fe2000 Deferred msvfw32<elf> -PE 0x40fd0000-40fe2000 \ msvfw32 ELF 0x40fe2000-40fff000 Deferred wsock32<elf> -PE 0x40ff0000-40fff000 \ wsock32 ELF 0x40fff000-41029000 Deferred ws2_32<elf> -PE 0x41010000-41029000 \ ws2_32 ELF 0x41048000-410c4000 Deferred libfreetype.so.6 ELF 0x410c4000-410d5000 Deferred libz.so.1 ELF 0x410d5000-41100000 Deferred libfontconfig.so.1 ELF 0x41100000-41128000 Deferred libexpat.so.0 ELF 0x41228000-412ac000 Deferred x11drv<elf> -PE 0x41240000-412ac000 \ x11drv ELF 0x412cb000-41333000 Deferred libgl.so.1 ELF 0x41333000-41a0b000 Deferred libglcore.so.1 ELF 0x41a0b000-41a0d000 Deferred libnvidia-tls.so.1 ELF 0x41a0d000-41a10000 Deferred xlcdef.so.2 ELF 0x41a2c000-41a36000 Deferred libxcursor.so.1 ELF 0x41a36000-41a3e000 Deferred libxrender.so.1 ELF 0x41a5d000-41a61000 Deferred libxrandr.so.2 ELF 0x41a61000-41a7f000 Deferred ximcp.so.2 ELF 0x41a7f000-41a9e000 Deferred imm32<elf> -PE 0x41a90000-41a9e000 \ imm32 ELF 0x41fb0000-41ff0000 Deferred wineoss.drv<elf> -PE 0x41fc0000-41ff0000 \ wineoss.drv ELF 0x41ff0000-42009000 Deferred msacm.drv<elf> -PE 0x42000000-42009000 \ msacm.drv ELF 0x42120000-42135000 Deferred midimap.drv<elf> -PE 0x42130000-42135000 \ midimap.drv PE 0x43140000-4314a000 Deferred cpuinf32 ELF 0x43660000-43669000 Deferred libgcc_s.so.1 ELF 0x77f00000-77f03000 Deferred <wine-loader> PE 0x780c0000-78121000 Deferred msvcp60 Threads: process tid prio (all id:s are in hex) 000004d3 (D) C:\Program Files\Activision\Call To Power 2\ctp2_program\ctp\ctp2.exe 000004df 0 000004db 0 000004d4 0 <== WineDbg terminated on pid 0x4d3 wine client error:4d4: write: Bad file descriptor