Wine started to crash

Questions about Wine on Linux
Locked
dally_z
Newbie
Newbie
Posts: 4
Joined: Sat Oct 03, 2009 4:10 am

Wine started to crash

Post by dally_z »

Hello,

I'd like to ask for some help.

Current version: wine-1.7.13-1.fc20.x86_64

I was able to play RTCW a month ago. Some updates did come and I have no idea what's wrong. It has something to do with resolution. I am able to reinstall the game.

wine: Unhandled page fault on read access to 0x75735f65 at address 0x75735f65 (thread 0009), starting debugger...
Unhandled exception: page fault on read access to 0x75735f65 in 32-bit code (0x75735f65).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:75735f65 ESP:019bf830 EBP:019bfcb4 EFLAGS:00210202( R- -- I - - - )
EAX:74616462 EBX:7b8b8000 ECX:019be7f8 EDX:019bf83a
ESI:00defd1c EDI:019bf8c1
Stack dump:
0x019bf830: 74616462 4c472061 000a415f 00000000
0x019bf840: 004edcd8 011719c0 00000000 004edce8
0x019bf850: 011711c0 00000000 004edd14 011715c0
0x019bf860: 004ebf4c 005013b0 00000000 011711ed
0x019bf870: 004ebbf0 004ebbe8 004edd08 004edcfc
0x019bf880: 00447beb 004c49c8 00000001 00002000
Backtrace:
=>0 0x75735f65 (0x019bfcb4)
1 0x00442206 in wolfsp (+0x42205) (0x019bfe50)
2 0x7b860ebc call_process_entry+0xb() in kernel32 (0x019bfe68)
3 0x7b861fa0 in kernel32 (+0x51f9f) (0x019bfea8)
4 0x7bc809b0 call_thread_func_wrapper+0xb() in ntdll (0x019bfec8)
5 0x7bc83b11 call_thread_func+0xa0() in ntdll (0x019bffa8)
6 0x7bc8098e RtlRaiseException+0x21() in ntdll (0x019bffc8)
7 0x7bc536ff call_dll_entry_point+0x42e() in ntdll (0x019bffe8)
8 0xf757ea0d wine_call_on_stack+0x1c() in libwine.so.1 (0x00000000)
9 0xf757eaec wine_switch_to_stack+0x2b() in libwine.so.1 (0xffea6e18)
10 0x7bc59539 LdrInitializeThunk+0x238() in ntdll (0xffea6e58)
11 0x7b868b91 __wine_kernel_init+0xa40() in kernel32 (0xffea7fe8)
12 0x7bc5a493 __wine_process_init+0x1a2() in ntdll (0xffea8078)
13 0xf757c09a wine_init+0x2f9() in libwine.so.1 (0xffea80e8)
14 0x7bf00d7d main+0x8c() in <wine-loader> (0xffea8538)
15 0xf73b5b73 __libc_start_main+0xf2() in libc.so.6 (0x00000000)
0x75735f65: -- no code accessible --
Modules:
Module Address Debug info Name (78 modules)
PE 400000- 11bc000 Export wolfsp
ELF 44c68000-44c8c000 Deferred libselinux.so.1
ELF 44c8e000-44cf9000 Deferred libpcre.so.1
ELF 4ad0b000-4ad88000 Deferred libgl.so.1
ELF 4ad8a000-4adca000 Deferred libglapi.so.0
ELF 4b15a000-4b168000 Deferred libdrm.so.2
ELF 4f3ae000-4f3b5000 Deferred libffi.so.6
ELF 4f3b7000-4f3e0000 Deferred liblzma.so.5
ELF 4f4ba000-4f4d7000 Deferred libgcc_s.so.1
ELF 4f4f4000-4f4f8000 Deferred libxau.so.6
ELF 4f539000-4f55d000 Deferred libxcb.so.1
ELF 4f55f000-4f56a000 Deferred libxrender.so.1
ELF 4f56c000-4f6a8000 Deferred libx11.so.6
ELF 4f8ef000-4f8f5000 Deferred libxcb-dri2.so.0
ELF 4f984000-4f990000 Deferred libxcursor.so.1
ELF 4f992000-4f9a3000 Deferred libxi.so.6
ELF 4fc00000-4fc04000 Deferred libxcomposite.so.1
ELF 4fc9c000-4fcb7000 Deferred libxcb-glx.so.0
ELF 4fd36000-4fd41000 Deferred libxrandr.so.2
ELF 4fd43000-4fd47000 Deferred libxinerama.so.1
ELF 4fd98000-4fd9c000 Deferred libxdamage.so.1
ELF 4fd9e000-4fdb1000 Deferred libxext.so.6
ELF 4fdb3000-4fdb6000 Deferred libx11-xcb.so.1
ELF 4fdc8000-4fdce000 Deferred libxxf86vm.so.1
ELF 4fdd0000-4fdd6000 Deferred libxfixes.so.3
ELF 7a212000-7b800000 Deferred libllvm-3.3.so
ELF 7b800000-7ba5d000 Dwarf kernel32<elf>
\-PE 7b810000-7ba5d000 \ kernel32
ELF 7bc00000-7bce5000 Dwarf ntdll<elf>
\-PE 7bc10000-7bce5000 \ ntdll
ELF 7bf00000-7bf04000 Dwarf <wine-loader>
ELF 7da85000-7e1a5000 Deferred swrast_dri.so
ELF 7e2d1000-7e3e1000 Deferred opengl32<elf>
\-PE 7e2f0000-7e3e1000 \ opengl32
ELF 7e47d000-7e4c1000 Deferred usp10<elf>
\-PE 7e480000-7e4c1000 \ usp10
ELF 7e4c1000-7e4e6000 Deferred imm32<elf>
\-PE 7e4d0000-7e4e6000 \ imm32
ELF 7e52c000-7e5c1000 Deferred winex11<elf>
\-PE 7e540000-7e5c1000 \ winex11
ELF 7e5e2000-7e60b000 Deferred libexpat.so.1
ELF 7e60b000-7e648000 Deferred libfontconfig.so.1
ELF 7e648000-7e67f000 Deferred libpng16.so.16
ELF 7e67f000-7e696000 Deferred libz.so.1
ELF 7e696000-7e738000 Deferred libfreetype.so.6
ELF 7e738000-7e75a000 Deferred libtinfo.so.5
ELF 7e75a000-7e782000 Deferred libncurses.so.5
ELF 7e782000-7e79b000 Deferred libresolv.so.2
ELF 7e7cb000-7e7f1000 Deferred iphlpapi<elf>
\-PE 7e7d0000-7e7f1000 \ iphlpapi
ELF 7e7f1000-7e829000 Deferred ws2_32<elf>
\-PE 7e800000-7e829000 \ ws2_32
ELF 7e829000-7e845000 Deferred wsock32<elf>
\-PE 7e830000-7e845000 \ wsock32
ELF 7e845000-7e870000 Deferred msacm32<elf>
\-PE 7e850000-7e870000 \ msacm32
ELF 7e870000-7e8f4000 Deferred rpcrt4<elf>
\-PE 7e880000-7e8f4000 \ rpcrt4
ELF 7e8f4000-7ea37000 Deferred ole32<elf>
\-PE 7e910000-7ea37000 \ ole32
ELF 7ea37000-7ea51000 Deferred version<elf>
\-PE 7ea40000-7ea51000 \ version
ELF 7ea51000-7eb74000 Deferred gdi32<elf>
\-PE 7ea60000-7eb74000 \ gdi32
ELF 7eb74000-7ecd3000 Deferred user32<elf>
\-PE 7eb90000-7ecd3000 \ user32
ELF 7ecd3000-7ed8c000 Deferred winmm<elf>
\-PE 7ece0000-7ed8c000 \ winmm
ELF 7ed8c000-7ee00000 Deferred advapi32<elf>
\-PE 7eda0000-7ee00000 \ advapi32
ELF f7341000-f734e000 Deferred libnss_files.so.2
ELF f734f000-f7396000 Deferred libm.so.6
ELF f7397000-f739c000 Deferred libdl.so.2
ELF f739c000-f755a000 Dwarf libc.so.6
ELF f755a000-f7575000 Deferred libpthread.so.0
ELF f7575000-f772b000 Dwarf libwine.so.1
ELF f775c000-f777e000 Deferred ld-linux.so.2
ELF f777e000-f777f000 Deferred [vdso].so
Threads:
process tid prio (all id:s are in hex)
00000008 (D) C:\Program Files (x86)\Return to Castle Wolfenstein\WolfSP.exe
00000009 0 <==
0000000e services.exe
0000001e 0
0000001d 0
00000018 0
00000016 0
00000014 0
00000010 0
0000000f 0
00000012 winedevice.exe
0000001c 0
00000019 0
00000017 0
00000013 0
0000001a plugplay.exe
00000020 0
0000001f 0
0000001b 0
00000021 explorer.exe
00000022 0

Any help would be really appreciated.

Thank you.

Dali.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine started to crash

Post by dimesio »

When you reinstalled the game, was it to a clean wineprefix, or did you reuse the old one? If the latter, try a clean wineprefix. I'd also recommend making it a 32 bit wineprefix.

If a clean 32 bit wineprefix doesn't fix it: did "some updates" include a kernel update? If so, did you reinstall your graphics driver afterwards? If you didn't, try that.

If it's neither of those, post the full terminal output, including the command used to run the game.
dally_z
Newbie
Newbie
Posts: 4
Joined: Sat Oct 03, 2009 4:10 am

Re: Wine started to crash

Post by dally_z »

Hi Dimesio,

thanks a lot for your feedback.

I did try a clean wineprefix, even 32 bit. There were updates of course, also kernel updates. I do nothing with my graphic driver as I use nouveau driver built-in Fedora 20. Like I said, the game was ok about a month ago.

Running command:

wine "/home/myhome/.wine/drive_c/Program Files/Return to Castle Wolfenstein/WolfSP.exe" +set sv_chetas 1
or
wine "/home/myhome/.wine/drive_c/Program Files/Return to Castle Wolfenstein/WolfSP.exe"
and
errors mentioned above follow.

The game hangs in resolution 640x480. I need manually adjust to my 1920x1080.

Thanks.

Dali.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine started to crash

Post by dimesio »

dally_z wrote: Running command:

wine "/home/myhome/.wine/drive_c/Program Files/Return to Castle Wolfenstein/WolfSP.exe" +set sv_chetas 1
or
wine "/home/myhome/.wine/drive_c/Program Files/Return to Castle Wolfenstein/WolfSP.exe"
and
errors mentioned above follow.
So it crashes immediately? There's no console output before the crash?

You should cd to the program directory before running the game. http://wiki.winehq.org/FAQ#run_from_terminal

Your Wine version is also somewhat old; try upgrading to 1.7.16.
dally_z
Newbie
Newbie
Posts: 4
Joined: Sat Oct 03, 2009 4:10 am

Re: Wine started to crash

Post by dally_z »

Thanks again for your reply.

There is no 1.7.16 package in Fedora repository yet. The latest one is wine-1.7.13-1.fc20.x86_64.

#1. running the game from its home directory
cd "/home/myhome/.wine/drive_c/Program Files/Return to Castle Wolfenstein"
wine "WolfSP.exe"

#2. The game hangs switched to 640x480 resolution, mouse is not responsive, neither the keyboard
#3. Need to hit Enter to leave hanging program
#4. Errors mentioned above appear
#5. Now mouse responsive and switching back to my previous screen resolution

Probably have to wait until Fedora release a new package.

Thank you.

Dali.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine started to crash

Post by dimesio »

You said this used to work; does downgrading Wine fix it? If it does, you should test in 1.7.16 ASAP, and if the problem is still there, run a regression test and file a bug.
dally_z
Newbie
Newbie
Posts: 4
Joined: Sat Oct 03, 2009 4:10 am

Re: Wine started to crash

Post by dally_z »

I reinstalled Fedora, also installed wine-1.7.16-2.fc20.x86_64 and set up WINEARCH=win32 WINEPREFIX=~/.wine winecfg. Can open notepad.

Also captured screenshots to see Wolf console.

Saying:

FS_Startup
with paths to pak files

then
6349 files in pk3 files
execing default.cfg
couldn't exec language.cfg
couldn't exec wolfconfig.cfg
execing autoexec.cfg
Hunk_Clear: reset the hunk ok
...detecting CPU, found AMD w/ 3dnow!

After this, game goes to 640x480 resolution and hung. Hitting Enter makes mouse responsive and I switch back to my 1920x1080 resolution.

I think there is something wrong with openGL

bash-4.2$ wine WolfSP.exe
wine: Unhandled page fault on read access to 0x4720706f at address 0x4720706f (thread 0009), starting debugger...
Unhandled exception: page fault on read access to 0x4720706f in 32-bit code (0x4720706f).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:4720706f ESP:019bf830 EBP:019bfcb4 EFLAGS:00210202( R- -- I - - - )
EAX:52415f4c EBX:7b8b9000 ECX:019be7f8 EDX:019bf83a
ESI:00defd48 EDI:019bf8ac
Stack dump:
0x019bf830: 52415f4c 61625f42 000a6573 00000000
0x019bf840: 004edcd8 011719c0 00000000 004edce8
0x019bf850: 011711c0 00000000 004edd14 011715c0
0x019bf860: 004ebf4c 005013b0 00000000 011711d8
0x019bf870: 004ebbf0 004ebbe8 004edd08 004edcfc
0x019bf880: 00447beb 004c49c8 00000001 00004000
Backtrace:
=>0 0x4720706f (0x019bfcb4)
1 0x00442206 in wolfsp (+0x42205) (0x019bfe50)
2 0x7b86111c call_process_entry+0xb() in kernel32 (0x019bfe68)
3 0x7b862200 in kernel32 (+0x521ff) (0x019bfea8)
4 0x7bc807e0 call_thread_func_wrapper+0xb() in ntdll (0x019bfec8)
5 0x7bc83941 call_thread_func+0xa0() in ntdll (0x019bffa8)
6 0x7bc807be RtlRaiseException+0x21() in ntdll (0x019bffc8)
7 0x7bc534cf call_dll_entry_point+0x42e() in ntdll (0x019bffe8)
8 0xf7589a0d wine_call_on_stack+0x1c() in libwine.so.1 (0x00000000)
9 0xf7589aec wine_switch_to_stack+0x2b() in libwine.so.1 (0xffb1f3c8)
10 0x7bc59309 LdrInitializeThunk+0x238() in ntdll (0xffb1f408)
11 0x7b868df1 __wine_kernel_init+0xa40() in kernel32 (0xffb20598)
12 0x7bc5a2c3 __wine_process_init+0x1a2() in ntdll (0xffb20628)
13 0xf758709a wine_init+0x2f9() in libwine.so.1 (0xffb20698)
14 0x7bf00d7d main+0x8c() in <wine-loader> (0xffb20ae8)
15 0xf73c0b73 __libc_start_main+0xf2() in libc.so.6 (0x00000000)
0x4720706f: -- no code accessible --
Modules:
Module Address Debug info Name (79 modules)
PE 400000- 11bc000 Export wolfsp
ELF 4678c000-467a9000 Deferred libgcc_s.so.1
ELF 467ab000-467b2000 Deferred libffi.so.6
ELF 46aff000-46b6a000 Deferred libpcre.so.1
ELF 46b6c000-46b95000 Deferred liblzma.so.5
ELF 46b97000-46bbb000 Deferred libselinux.so.1
ELF 4792e000-47932000 Deferred libxdamage.so.1
ELF 47934000-4794f000 Deferred libxcb-glx.so.0
ELF 47951000-47957000 Deferred libxxf86vm.so.1
ELF 47959000-4795f000 Deferred libxfixes.so.3
ELF 47961000-47965000 Deferred libxau.so.6
ELF 47967000-47aa3000 Deferred libx11.so.6
ELF 47aa5000-47ab3000 Deferred libdrm.so.2
ELF 47ab5000-47b32000 Deferred libgl.so.1
ELF 47b34000-47b45000 Deferred libxi.so.6
ELF 4834b000-48351000 Deferred libxcb-dri2.so.0
ELF 48882000-4888d000 Deferred libxrender.so.1
ELF 4889a000-4889e000 Deferred libxinerama.so.1
ELF 48971000-4897c000 Deferred libxrandr.so.2
ELF 489ec000-489ef000 Deferred libx11-xcb.so.1
ELF 489f1000-48a15000 Deferred libxcb.so.1
ELF 48b6b000-48bab000 Deferred libglapi.so.0
ELF 48bad000-48bb9000 Deferred libxcursor.so.1
ELF 48bbb000-48bce000 Deferred libxext.so.6
ELF 7a212000-7b800000 Deferred libllvm-3.3.so
ELF 7b800000-7ba5e000 Dwarf kernel32<elf>
\-PE 7b810000-7ba5e000 \ kernel32
ELF 7bc00000-7bce5000 Dwarf ntdll<elf>
\-PE 7bc10000-7bce5000 \ ntdll
ELF 7bf00000-7bf04000 Dwarf <wine-loader>
ELF 7d9a6000-7d9b5000 Deferred libdrm_radeon.so.1
ELF 7d9b5000-7d9cd000 Deferred libelf.so.1
ELF 7d9f4000-7e195000 Deferred r600_dri.so
ELF 7e2c1000-7e3d1000 Deferred opengl32<elf>
\-PE 7e2e0000-7e3d1000 \ opengl32
ELF 7e454000-7e498000 Deferred usp10<elf>
\-PE 7e460000-7e498000 \ usp10
ELF 7e498000-7e4bd000 Deferred imm32<elf>
\-PE 7e4a0000-7e4bd000 \ imm32
ELF 7e503000-7e599000 Deferred winex11<elf>
\-PE 7e510000-7e599000 \ winex11
ELF 7e5ea000-7e613000 Deferred libexpat.so.1
ELF 7e613000-7e650000 Deferred libfontconfig.so.1
ELF 7e650000-7e687000 Deferred libpng16.so.16
ELF 7e687000-7e69e000 Deferred libz.so.1
ELF 7e69e000-7e740000 Deferred libfreetype.so.6
ELF 7e740000-7e762000 Deferred libtinfo.so.5
ELF 7e762000-7e78a000 Deferred libncurses.so.5
ELF 7e78a000-7e7a3000 Deferred libresolv.so.2
ELF 7e7ca000-7e7f0000 Deferred iphlpapi<elf>
\-PE 7e7d0000-7e7f0000 \ iphlpapi
ELF 7e7f0000-7e828000 Deferred ws2_32<elf>
\-PE 7e800000-7e828000 \ ws2_32
ELF 7e828000-7e844000 Deferred wsock32<elf>
\-PE 7e830000-7e844000 \ wsock32
ELF 7e844000-7e86f000 Deferred msacm32<elf>
\-PE 7e850000-7e86f000 \ msacm32
ELF 7e86f000-7e8f4000 Deferred rpcrt4<elf>
\-PE 7e880000-7e8f4000 \ rpcrt4
ELF 7e8f4000-7ea37000 Deferred ole32<elf>
\-PE 7e910000-7ea37000 \ ole32
ELF 7ea37000-7ea51000 Deferred version<elf>
\-PE 7ea40000-7ea51000 \ version
ELF 7ea51000-7eb74000 Deferred gdi32<elf>
\-PE 7ea60000-7eb74000 \ gdi32
ELF 7eb74000-7ecd3000 Deferred user32<elf>
\-PE 7eb90000-7ecd3000 \ user32
ELF 7ecd3000-7ed8c000 Deferred winmm<elf>
\-PE 7ece0000-7ed8c000 \ winmm
ELF 7ed8c000-7ee00000 Deferred advapi32<elf>
\-PE 7eda0000-7ee00000 \ advapi32
ELF f735a000-f73a1000 Deferred libm.so.6
ELF f73a2000-f73a7000 Deferred libdl.so.2
ELF f73a7000-f7565000 Dwarf libc.so.6
ELF f7565000-f7580000 Deferred libpthread.so.0
ELF f7580000-f7736000 Dwarf libwine.so.1
ELF f7750000-f775d000 Deferred libnss_files.so.2
ELF f775e000-f7780000 Deferred ld-linux.so.2
ELF f7780000-f7781000 Deferred [vdso].so
Threads:
process tid prio (all id:s are in hex)
00000008 (D) C:\Program Files\Return to Castle Wolfenstein\WolfSP.exe
00000009 0 <==
0000000e services.exe
0000001d 0
0000001c 0
00000016 0
00000014 0
00000010 0
0000000f 0
00000012 winedevice.exe
0000001b 0
00000018 0
00000017 0
00000013 0
00000019 plugplay.exe
0000001f 0
0000001e 0
0000001a 0
00000020 explorer.exe
00000021 0

Dali.
Locked