VivreAuTempsDesChateauxForts.exe aborts with code c0000005

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
JBertrand
Newbie
Newbie
Posts: 2
Joined: Sat Feb 09, 2019 7:52 am

VivreAuTempsDesChateauxForts.exe aborts with code c0000005

Post by JBertrand » Sat Feb 09, 2019 9:45 am

Hello,

My wife uses a FreeBSD workstation running FreeBSD 11.2-RELEASE-p7. She want to run "Vivre au temps des châteaux forts" (https://www.reseau-canope.fr/vivre_temp ... aux_forts/).

As she doesn't have any Windows or MacOS X system, I have built Wine. FreeBSD ports provides wine-4.0-rc1 and wine-3.0.4. Application randomly crashes with 3.0.4. With 4.0-rc1, result is more reproductible as VivreAuTempsDesChateauxForts.exe always crashes with:

Code: Select all

pythagore:[~/.wine/drive_c/vivre_au_temps_des_chateaux_forts] > wine VivreAuTempsDesChateauxForts.exe
0009:fixme:heap:RtlSetHeapInformation 0x0 1 0x0 0 stub
Mono path[0] = 'C:/vivre_au_temps_des_chateaux_forts/VivreAuTempsDesChateauxForts_Data/Managed'
Mono path[1] = 'C:/vivre_au_temps_des_chateaux_forts/VivreAuTempsDesChateauxForts_Data/Mono'
Mono config path = 'C:/vivre_au_temps_des_chateaux_forts/VivreAuTempsDesChateauxForts_Data/Mono/etc'
0009:fixme:win:EnumDisplayDevicesW ((null),0,0x33f5a0,0x00000000), stub!
0009:fixme:win:EnumDisplayDevicesW (L"\\\\.\\DISPLAY1",0,0x33f5a0,0x00000000), stub!
0009:fixme:win:EnumDisplayDevicesW ((null),1,0x33f5a0,0x00000000), stub!
0009:fixme:imm:ImmReleaseContext (0x10050, 0x131768): stub
0009:fixme:win:EnumDisplayDevicesW ((null),0,0x33f8b0,0x00000000), stub!
0009:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x137d98, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B8G8R8X8_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!
0009:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x137d98, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B8G8R8A8_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!
0009:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x137d98, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B8G8R8X8_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!
0009:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x137d98, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B10G10R10A2_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!
0009:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x137d98, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B5G6R5_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!
0009:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x137d98, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B5G5R5A1_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!
0009:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x137d98, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B5G5R5X1_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!
0009:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x137d98, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B8G8R8A8_UNORM, dst_format WINED3DFMT_B5G6R5_UNORM stub!
0009:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x137d98, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B8G8R8X8_UNORM, dst_format WINED3DFMT_B5G6R5_UNORM stub!
0009:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x137d98, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B10G10R10A2_UNORM, dst_format WINED3DFMT_B5G6R5_UNORM stub!
0009:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x137d98, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B5G6R5_UNORM, dst_format WINED3DFMT_B5G6R5_UNORM stub!
0009:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x137d98, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B5G5R5A1_UNORM, dst_format WINED3DFMT_B5G6R5_UNORM stub!
0009:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x137d98, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B5G5R5X1_UNORM, dst_format WINED3DFMT_B5G6R5_UNORM stub!
0009:fixme:win:EnumDisplayDevicesW ((null),0,0x33f220,0x00000000), stub!
0009:fixme:d3d9:wined3dformat_from_d3dformat Unhandled D3DFORMAT 0xffffffff.
0009:fixme:d3d9:wined3dformat_from_d3dformat Unhandled D3DFORMAT 0xffffffff.
0009:fixme:d3d9:wined3dformat_from_d3dformat Unhandled D3DFORMAT 0xffffffff.
0009:fixme:d3d9:wined3dformat_from_d3dformat Unhandled D3DFORMAT 0xffffffff.
0009:fixme:d3d:debug_d3dformat Unrecognized 0x36314644 (as fourcc: DF16) WINED3DFORMAT!
0009:fixme:d3d:wined3d_get_format Can't find format unrecognized (0x36314644) in the format lookup table.
0009:fixme:d3d:debug_d3dformat Unrecognized 0x5a574152 (as fourcc: RAWZ) WINED3DFORMAT!
0009:fixme:d3d:wined3d_get_format Can't find format unrecognized (0x5a574152) in the format lookup table.
0009:fixme:ntdll:create_logical_proc_info stub
0009:fixme:rawinput:RegisterRawInputDevices Unhandled flags 0x100 for device 0.
0009:fixme:win:RegisterDeviceNotificationW (hwnd=0x10050, filter=0x33fd54,flags=0x00000000) returns a fake device notification handle!
0009:fixme:rawinput:RegisterRawInputDevices Unhandled flags 0x100 for device 0.
0009:fixme:win:UnregisterDeviceNotification (handle=0xcafeaffe), STUB!
0009:fixme:win:RegisterDeviceNotificationW (hwnd=0x10050, filter=0x33fc74,flags=0x00000000) returns a fake device notification handle!
0009:fixme:rawinput:RegisterRawInputDevices Unhandled flags 0x100 for device 0.
0009:fixme:win:UnregisterDeviceNotification (handle=0xcafeaffe), STUB!
0009:fixme:win:RegisterDeviceNotificationW (hwnd=0x10050, filter=0x33fd4c,flags=0x00000000) returns a fake device notification handle!
0009:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
0028:fixme:d3d:state_linepattern_w Setting line patterns is not supported in OpenGL core contexts.
0028:err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x7bc4ba37
Graphic controler is Intel GPU in a i5:

Code: Select all

root@pythagore:~ # sysctl -a | grep hw.model
hw.model: Intel(R) Core(TM) i5-4570S CPU @ 2.90GHz
Is there any hope to make this program work with Wine?

Regards,

JB

User avatar
Bob Wya
Level 12
Level 12
Posts: 2761
Joined: Sat Oct 16, 2010 7:40 pm
Location: Cambridge
Contact:

Re: VivreAuTempsDesChateauxForts.exe aborts with code c00000

Post by Bob Wya » Sat Feb 09, 2019 1:23 pm

@JBertrand

Have you checked out: FreeBSD Wiki: Graphics.

The the output from:

Code: Select all

glxinfo | egrep '^OpenGL'
inxi -G
Would be useful. I think FreeBSD supports these tools...

I suspect you'd be better off updating FreeBSD to the 12.0 release - since the FreeBSD graphics stack already lags years behind Linux...

I've downloaded the game and it only loads the core d3d9.dll library when I start it...
So it shouldn't (in theory) be too hard to get it working.

But on FreeBSD, with an Intel iGP...
That's a whole different ballgame! :?

Bob

JBertrand
Newbie
Newbie
Posts: 2
Joined: Sat Feb 09, 2019 7:52 am

Re: VivreAuTempsDesChateauxForts.exe aborts with code c00000

Post by JBertrand » Sat Feb 09, 2019 2:39 pm

Thanks a lot for your answer.

glxinfo returns :
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Haswell Desktop
OpenGL core profile version string: 3.3 (Core Profile) Mesa 18.1.9
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 18.1.9
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 18.1.9
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions:
pythagore:[/home/bertrand/documents/20190129_plainte_zambon] > cd
pythagore:[~] > glxinfo | egrep '^OpenGL'
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Haswell Desktop
OpenGL core profile version string: 3.3 (Core Profile) Mesa 18.1.9
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 18.1.9
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 18.1.9
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions:

inxi is a unkown command...

I will to update FreeBSD as soon as possible, I haven't seen that 12 was released.

Best regards,

JB

User avatar
Bob Wya
Level 12
Level 12
Posts: 2761
Joined: Sat Oct 16, 2010 7:40 pm
Location: Cambridge
Contact:

Re: VivreAuTempsDesChateauxForts.exe aborts with code c00000

Post by Bob Wya » Sat Feb 09, 2019 4:24 pm

There's nothing obvious sticking out to me so far...

I'd suggest filing WineHQ Bugzilla Bug report.

Attach a log file against this new bug, with something like:

Code: Select all

export WINEDEBUG=+timestamp,+tid,+loaddll,+seh,+wgl,+d3d
wine VivreAuTempsDesChateauxForts.exe >logfile.txt 2>&1
You'll probably want to compress this log file (the WineHQ Bugzilla has 10,000 Mb file size limit):

Code: Select all

pxz -e -9 logfile.txt
or whatever other (efficient) file compression utility you want to use!

I'd also post that glxinfo.

If there's any way to update your Wine build to 4.1 - that would obviously be best.

The only major build differences between Wine 4.0-rc1 and 4.1 are:
  • switch to wine-mono 4.7.5
  • one new po language
If the FreeBSD Ports tree is anything like Gentoo GNU/Linux...
Then it should be easy enough to manually bump the package version, targetted by the build script.

Please cross-link, to the bug report, on this forum.

Thanks
Bob

Locked