Unexpected crash activating a program (Battlezone)

Questions about Wine on Linux
Post Reply
MaurizioF
Newbie
Newbie
Posts: 3
Joined: Thu Jan 20, 2022 5:43 am

Unexpected crash activating a program (Battlezone)

Post by MaurizioF » Thu Jan 20, 2022 6:42 am

I'm getting the following error while trying to play the "Battlezone" program:

The program starts normally, but when I click on the "Single player" icon,
a messagebox pops up with the following error:

BattleZone (AnimButton) movie_open error anims\training.avi!

(obvioulsy the file exists and is playable (in Linux))

trying to click on the button, nothing happens, and after a while
another box appears offering to wait or close the application.
closing it appears another box saying the application has crashed and offering to get the details
clicking on the button, however the box closes and nothing appears.

Please note:
I've PREVIOUSLY PLAYED SUCCESFULLY the program, SEVERAL TIMES
I've uninstalled wine since after having installed other programs I've made a mess so I decided to restart anew.
After that, Ive tried to reinstall Wine more than once, the first with what came with my Linux distro ( TuxedoOs, a derivative of ubuntu),and after that with the winwhq-stable and devel versions.
In every case I've tried to create both a 64 bit configuration than a 32 bit one,
specifying in every case to use windows 7.
and installing the program in turn, in each of them.
In all cases the problem is the same.

Any suggestion ?

jkfloris
Level 12
Level 12
Posts: 2012
Joined: Thu Aug 14, 2014 10:10 am

Re: Unexpected crash activating a program (Battlezone)

Post by jkfloris » Thu Jan 20, 2022 5:28 pm

Often there are clues what went wrong in the terminal output.
If I may guess, I expect a missing gstreamer-plugin. Did you install the gstreamer1.0-libav:i386 package?

MaurizioF
Newbie
Newbie
Posts: 3
Joined: Thu Jan 20, 2022 5:43 am

Re: Unexpected crash activating a program (Battlezone)

Post by MaurizioF » Fri Jan 21, 2022 2:37 am

Thanks for your answer !
The package was missing, however, after installing it, the problem remains.
In the terminal output I can see :

Code: Select all

Unhandled exception: page fault on write access to 0x00000144 in 32-bit code (0x0057ccc4).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:006b GS:0063
 EIP:0057ccc4 ESP:0032dce0 EBP:0008009c EFLAGS:00210202(  R- --  I   - - - )
 EAX:00000001 EBX:00000001 ECX:00000000 EDX:00110064
 ESI:00000000 EDI:0005005e
Stack dump:
0x0032dce0:  00000000 00000000 00000000 0000000f
0x0032dcf0:  0032dd68 0005005e 0008009c 00000001
0x0032dd00:  00000000 00000000 00000280 000001e0
0x0032dd10:  00000010 ffffffff 0032dd28 0111f570
0x0032dd20:  7f9acc24 ffffffff 0032dd38 7bc57368
0x0032dd30:  7f9acc24 ffffffff aeb374f6 7f8695fc
Backtrace:
=>0 0x0057ccc4 SingleDlgProc+0x48f(hDlg=*** Invalid address 0x000800a0 ***
Internal symbol error: unable to access memory location 0x800a0, iMsg=*** Invalid address 0x000800a4 ***
, wParam=*** Invalid address 0x000800a8 ***
, lParam=*** Invalid address 0x000800ac ***
) [C:\Program Files\Battlezone\c:\users\ken\documents\projects\bz1\source\fun3d\smain.cpp:1017] in bzone (0x0008009c)
  1 0x0057ccc4 SingleDlgProc+0x48e(hDlg=*** Invalid address 0x000800a0 ***
Internal symbol error: unable to access memory location 0x800a0, iMsg=*** Invalid address 0x000800a4 ***
, wParam=*** Invalid address 0x000800a8 ***
, lParam=*** Invalid address 0x000800ac ***
) [C:\Program Files\Battlezone\c:\users\ken\documents\projects\bz1\source\fun3d\smain.cpp:1017] in bzone (0x0008009c)
  2 0x0057ccc4 SingleDlgProc+0x48e(hDlg=*** Invalid address 0x000800a0 ***
Internal symbol error: unable to access memory location 0x800a0, iMsg=*** Invalid address 0x000800a4 ***
, wParam=*** Invalid address 0x000800a8 ***
, lParam=*** Invalid address 0x000800ac ***
) [C:\Program Files\Battlezone\c:\users\ken\documents\projects\bz1\source\fun3d\smain.cpp:1017] in bzone (0x0008009c)
  3 0x0057ccc4 SingleDlgProc+0x48e(hDlg=*** Invalid address 0x000800a0 ***
Internal symbol error: unable to access memory location 0x800a0, iMsg=*** Invalid address 0x000800a4 ***
, wParam=*** Invalid address 0x000800a8 ***
, lParam=*** Invalid address 0x000800ac ***
) [C:\Program Files\Battlezone\c:\users\ken\documents\projects\bz1\source\fun3d\smain.cpp:1017] in bzone (0x0008009c)
0x0057ccc4 SingleDlgProc+0x48f [C:\Program Files\Battlezone\c:\users\ken\documents\projects\bz1\source\fun3d\smain.cpp:1017] in bzone: movl	%ebx,0x144(%ecx)
Unable to access file 'C:\Program Files\Battlezone\c:\users\ken\documents\projects\bz1\source\fun3d\smain.cpp'
Modules:
Module	Address			Debug info	Name (40 modules)
PE	  330000-  342000	Deferred        strlkup
PE	  400000-  e4d000	PDB             bzone
PE	10000000-1002a000	Deferred        anet2
PE	7a840000-7a844000	Deferred        opengl32
PE	7b020000-7b023000	Deferred        kernelbase
PE	7b420000-7b5db000	Deferred        kernel32
PE	7bc30000-7bc34000	Deferred        ntdll
PE	7c0b0000-7c0b5000	Deferred        msvidc32
PE	7c3a0000-7c3a3000	Deferred        winepulse
PE	7c3d0000-7c3d4000	Deferred        mmdevapi
PE	7c420000-7c428000	Deferred        oleaut32
PE	7c540000-7c553000	Deferred        riched20
PE	7c830000-7c83c000	Deferred        msvfw32
PE	7c860000-7c866000	Deferred        mciavi32
PE	7d400000-7d404000	Deferred        uxtheme
PE	7d5a0000-7d5af000	Deferred        setupapi
PE	7d890000-7d894000	Deferred        winex11
PE	7de10000-7deb3000	Deferred        msvcr90
PE	7df20000-7dfae000	Deferred        msvcp90
PE	7e040000-7e04b000	Deferred        winspool
PE	7e0a0000-7e0a3000	Deferred        shcore
PE	7e0d0000-7e0d8000	Deferred        shlwapi
PE	7e150000-7ea26000	Deferred        shell32
PE	7eb40000-7ec22000	Deferred        comdlg32
PE	7ec80000-7ec83000	Deferred        usp10
PE	7ecf0000-7ed6e000	Deferred        comctl32
PE	7eea0000-7eea4000	Deferred        wined3d
PE	7f000000-7f004000	Deferred        d3d9
PE	7f070000-7f074000	Deferred        ucrtbase
PE	7f170000-7f174000	Deferred        dsound
PE	7f1b0000-7f1b4000	Deferred        imm32
PE	7f1e0000-7f1e9000	Deferred        msacm32
PE	7f220000-7f224000	Deferred        rpcrt4
PE	7f2d0000-7f2f8000	Deferred        ole32
PE	7f420000-7f49d000	Deferred        winmm
PE	7f500000-7f504000	Deferred        msvcrt
PE	7f5d0000-7f5d4000	Deferred        advapi32
PE	7f660000-7f667000	Deferred        gdi32
PE	7f7d0000-7f8b8000	Deferred        user32
PE	7ffd0000-7ffd4000	Deferred        version
Threads:
process  tid      prio (all id:s are in hex)
00000008 cmd.exe
	00000009    0
0000000e services.exe
	00000023    0
	0000001a    0
	00000013    0
	00000010    0
	0000000f    0
00000011 plugplay.exe
	00000017    0
	00000016    0
	00000012    0
00000018 winedevice.exe
	00000020    0
	0000001d    0
	0000001c    0
	0000001b    0
	00000019    0
0000001e explorer.exe
	00000029    0
	00000028    0
	00000027    0
	0000001f    0
00000021 winedevice.exe
	00000026    0
	00000025    0
	00000024    0
	00000022    0
0000002a (D) c:\program files\Battlezone\bzone.exe
	0000003c    0
	00000037    1
	00000036    1
	00000035    1
	00000034    1
	00000033    1
	00000032    1
	00000031    1
	00000030    1
	0000002f   15
	0000002e   15
	0000002d    0
	0000002c    0
	0000002b    0 <==
System information:
    Wine build: wine-5.0 (Ubuntu 5.0-3ubuntu1)
    Platform: i386
    Version: Windows 7
    Host system: Linux
    Host version: 5.11.0-44-generic
Moreover, the screen resolution remains (i think, 800x600) and I have, every time, to restore it to the correct 1920x1080.

jkfloris
Level 12
Level 12
Posts: 2012
Joined: Thu Aug 14, 2014 10:10 am

Re: Unexpected crash activating a program (Battlezone)

Post by jkfloris » Fri Jan 21, 2022 11:08 am

There's probably also text before the "Unhandled exception"

What strikes me here is:

Code: Select all

Wine build: wine-5.0 (Ubuntu 5.0-3ubuntu1)
Does the game work with Wine 7.0?

MaurizioF
Newbie
Newbie
Posts: 3
Joined: Thu Jan 20, 2022 5:43 am

Re: Unexpected crash activating a program (Battlezone)

Post by MaurizioF » Fri Jan 21, 2022 4:07 pm

Thanks for your answer.
Now I've uninstalled the distro version and installed the stable version from winehq
After that I created a new configuration, installed the program, opened a new terminal and started the program via command line:

Code: Select all

----------------------------------------
this is in the terminal window
----------------------------------------

~ >wine cmd
MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

Microsoft Windows 6.1.7601

Z:\home\maurizio>c:

c:\>cd program files (x86)\battlezone

c:\program files (x86)\Battlezone>bzone

c:\program files (x86)\Battlezone>0110:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0084:fixme:imm:ImeSetActiveContext (0x3f5b0, 0): stub
0084:fixme:imm:ImmReleaseContext (0000000000010020, 000000000003F5B0): stub
0110:fixme:imm:ImeSetActiveContext (0xe6f310, 1): stub
0110:fixme:imm:ImmReleaseContext (0002005A, 00E6F310): stub
0110:fixme:d3d:wined3d_swapchain_init The application requested more than one back buffer, this is not properly supported.
Please configure the application to use double buffering (1 back buffer) if possible.
MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

----------- here, I suppose, is when I clicked on the button -------------

wine: Unhandled page fault on write access to 00000144 at address 0057CCC4 (thread 0110), starting debugger...

--------------- here, I suppose, is opened a separate window --------------

------------------------------------
this is the content of the window
------------------------------------

Unhandled exception: page fault on write access to 0x00000144 in 32-bit code (0x0057ccc4).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:0057ccc4 ESP:0032ddb0 EBP:0801009c EFLAGS:00210202(  R- --  I   - - - )
 EAX:00000001 EBX:00000001 ECX:00000000 EDX:f7f4a778
 ESI:00000000 EDI:0003006e
Stack dump:
0x0032ddb0:  00000000 00000000 00000000 0000000f
0x0032ddc0:  0032de38 0003006e 0801009c 00000001
0x0032ddd0:  00000000 00000000 00000280 000001e0
0x0032dde0:  0003006e 00000012 0032de48 6eda18dd
0x0032ddf0:  00000012 0002005a 0032de18 6ed8cca3
0x0032de00:  6edd3800 00000000 dcdbd0f7 6eda121c
Backtrace:
=>0 0x0057ccc4 SingleDlgProc+0x48f(hDlg=00000000, iMsg=0, wParam=0, lParam=0) [c:\users\ken\documents\projects\bz1\source\fun3d\smain.cpp:1017] in bzone (0x0801009c)
  1 0x99890000 (0x0801009c)
0x0057ccc4 SingleDlgProc+0x48f [c:\users\ken\documents\projects\bz1\source\fun3d\smain.cpp:1017] in bzone: movl	%ebx,0x144(%ecx)
Unable to access file 'c:\users\ken\documents\projects\bz1\source\fun3d\smain.cpp'
Modules:
Module	Address			Debug info	Name (42 modules)
PE	00370000-00382000	Deferred        strlkup
PE	00400000-00e4d000	PDB             bzone
PE	00f60000-010e9000	Deferred        winmm
PE	010f0000-01572000	Deferred        ole32
PE	01580000-017dd000	Deferred        comdlg32
PE	017e0000-025d5000	Deferred        shell32
PE	03fd0000-04286000	Deferred        riched20
PE	04480000-044ec000	Deferred        msvfw32
PE	044f0000-04597000	Deferred        mmdevapi
PE	10000000-1002a000	Deferred        anet2
PE	61740000-6182f000	Deferred        advapi32
PE	62fc0000-63204000	Deferred        rpcrt4
PE	63480000-6349c000	Deferred        version
PE	634c0000-634de000	Deferred        msvidc32
PE	63bc0000-63c05000	Deferred        shcore
PE	64a40000-64b60000	Deferred        shlwapi
PE	64ec0000-652ae000	Deferred        oleaut32
PE	663c0000-6648a000	Deferred        winspool
PE	66b00000-66b5c000	Deferred        win32u
PE	67840000-678b2000	Deferred        winepulse
PE	67c80000-67deb000	Deferred        d3d9
PE	67e00000-67e49000	Deferred        mciavi32
PE	682c0000-6845f000	Deferred        dsound
PE	68500000-68651000	Deferred        combase
PE	6a040000-6a0a3000	Deferred        msacm32
PE	6a280000-6a4eb000	Deferred        msvcrt
PE	6aa40000-6aa4c000	Deferred        usp10
PE	6b300000-6b3a3000	Deferred        msvcr90
PE	6bc00000-6bca3000	Deferred        sechost
PE	6bcc0000-6bea4000	Deferred        setupapi
PE	6c9c0000-6cbaa000	Deferred        gdi32
PE	6cc40000-6d0b6000	Deferred        comctl32
PE	6ed00000-6f4da000	Deferred        user32
PE	6fec0000-6ff4e000	Deferred        msvcp90
PE	70b40000-70e11000	Deferred        ucrtbase
PE	71200000-7124c000	Deferred        imm32
PE	7a840000-7a844000	Deferred        opengl32
PE	7b000000-7b300000	Deferred        kernelbase
PE	7b600000-7b920000	Deferred        kernel32
PE	7bc00000-7be99000	Deferred        ntdll
PE	7dea0000-7dea4000	Deferred        winex11
PE	7e580000-7e584000	Deferred        wined3d
Threads:
process  tid      prio (all id:s are in hex)
00000020 start.exe
	00000024    0
00000038 services.exe
	0000003c    0
	00000040    0
	0000004c    0
	0000006c    0
	00000078    0
	000000a8    0
	000000c4    0
	000000dc    0
00000044 winedevice.exe
	00000048    0
	00000054    0
	00000058    0
	0000005c    0
	00000060    0
	000000d0    0
00000064 winedevice.exe
	00000068    0
	00000070    0
	00000074    0
	0000007c    0
	00000088    0
	0000008c    0
	00000090    0
00000080 explorer.exe
	00000084    0
	0000009c    0
	000000a0    0
00000094 plugplay.exe
	00000098    0
	000000b0    0
	000000b4    0
	000000b8    0
000000bc svchost.exe
	000000c0    0
	000000c8    0
	000000cc    0
000000d4 rpcss.exe
	000000d8    0
	000000e0    0
	000000e4    0
	000000e8    0
	000000ec    0
	000000f0    0
000000f8 conhost.exe
	000000fc    0
	00000108    0
00000100 cmd.exe
	00000104    0
0000010c (D) C:\program files (x86)\Battlezone\bzone.exe
	00000110    0 <==
	00000114    0
	00000118    0
	0000011c   15
	00000120   15
	00000124   15
	00000128    1
	0000012c    1
	00000130    1
	00000134    1
	00000138    1
	0000013c    1
	00000140    1
	00000144    1
	00000158    0
System information:
    Wine build: wine-7.0
    Platform: i386 (WOW64)
    Version: Windows 7
    Host system: Linux
    Host version: 5.11.0-44-generic

--------- this is in the terminal window after closing the popup -----------

0154:fixme:imm:ImeSetActiveContext (0x240228, 1): stub
0154:fixme:imm:ImmReleaseContext (00010098, 00240228): stub
0154:err:dbghelp_msc:pdb_init_type_parse -Unknown type info version 0
0154:fixme:dbghelp:i386_stack_walk new PC=57ccc4 different from Eip=99890000
015c:err:ole:CoUninitialize Mismatched CoUninitialize
MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

Post Reply