Necessary system call failed: Create file mapping failed!

Questions about Wine on Linux
Locked
orleans
Level 2
Level 2
Posts: 10
Joined: Thu Jul 23, 2015 8:59 am

Necessary system call failed: Create file mapping failed!

Post by orleans »

I try to start an old Windows 95 Game that still work on a Windows 7 Machine in Wine. Setting is set to Windows XP.
I get the following Error (Translated from German)
Error 1
Necessary system call failed:
Create file mapping failed!
Wine 6.18 show me these errors:

Code: Select all

005c:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
005c:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
005c:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
005c:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
005c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
005c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
006c:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
006c:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
006c:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
006c:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
006c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
006c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0084:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
0084:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
0084:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
0084:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
0084:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0084:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
002c:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
002c:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
002c:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
002c:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0024:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
0024:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
0024:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
0024:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
0024:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0024:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
00b0:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
00b0:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
00b0:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
00b0:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
00b0:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
00b0:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
Any Idea how to get it work?
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Necessary system call failed: Create file mapping failed!

Post by jkfloris »

The terminal output does not show anything useful.
Try the game in a 32-bit wineprefix set to Windows 98.
orleans
Level 2
Level 2
Posts: 10
Joined: Thu Jul 23, 2015 8:59 am

Re: Necessary system call failed: Create file mapping failed!

Post by orleans »

Code: Select all

export WINEPREFIX=~/.wine-new WINEARCH=win32
wine winecfg

wine: created the configuration directory '/home/thomas/.wine-new'
002c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0040:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0040:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0048:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0050:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0048:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0048:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0050:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0050:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0048:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
0048:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
0048:err:ole:apartment_get_local_server_stream Failed: 0x80004002
0050:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
0050:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
0050:err:ole:apartment_get_local_server_stream Failed: 0x80004002
0050:err:ole:start_rpcss Failed to open RpcSs service
007c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
007c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0084:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0084:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0084:err:setupapi:SetupDefaultQueueCallbackW copy error 1812 L"@C:\\windows\\system32\\drivers\\wineusb.sys,-1" -> L"C:\\windows\\inf\\wineusb.inf"
008c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
008c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
008c:fixme:file:NtLockFile I/O completion on lock not implemented yet
008c:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
008c:err:mscoree:LoadLibraryShim error reading registry key for installroot
008c:err:mscoree:LoadLibraryShim error reading registry key for installroot
008c:err:mscoree:LoadLibraryShim error reading registry key for installroot
008c:err:mscoree:LoadLibraryShim error reading registry key for installroot
0094:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0094:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0094:fixme:file:NtLockFile I/O completion on lock not implemented yet
0094:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0094:err:mscoree:LoadLibraryShim error reading registry key for installroot
0094:err:mscoree:LoadLibraryShim error reading registry key for installroot
0094:err:mscoree:LoadLibraryShim error reading registry key for installroot
0094:err:mscoree:LoadLibraryShim error reading registry key for installroot
009c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
009c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0094:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5)
0094:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5)
008c:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
008c:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
00a4:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
00a4:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
00c8:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
00c8:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
wine: configuration in L"/home/thomas/.wine-new" has been updated.
0024:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0024:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
00e0:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
00e0:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
00e8:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
00e8:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
Changed Windows to "Windows 98"

Code: Select all

wine '/home/thomas/Spiel/MegaSolitair/Megasol.exe' 

002c:err:wineboot:process_run_key Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (126).
005c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
005c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
006c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
006c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0084:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0084:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0024:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0024:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
00b0:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
00b0:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
00b8:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
00b8:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
Error 1
Necessary system call failed:
Create file mapping failed!
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Necessary system call failed: Create file mapping failed!

Post by jkfloris »

Are there any other files besides "Megasol.exe" in "/home/thomas/Spiel/MegaSolitair/"?
If so, try starting the game with:

Code: Select all

WINEPREFIX=~/.wine-new wine start /unix '/home/thomas/Spiel/MegaSolitair/Megasol.exe'
# or
cd '/home/thomas/Spiel/MegaSolitair/'
WINEPREFIX=~/.wine-new wine Megasol.exe
orleans
Level 2
Level 2
Posts: 10
Joined: Thu Jul 23, 2015 8:59 am

Re: Necessary system call failed: Create file mapping failed!

Post by orleans »

On Windows I'm able to move the MegaSolitair directory everywhere and start the game with DoubleClick Megasol.exe

Code: Select all

WINEPREFIX=~/.wine-new wine start /unix '/home/thomas/Spiel/MegaSolitair/Megasol.exe'
A Prompt which appear several times:
Path not found

Code: Select all

Es konnte keine Anwendung gestartet werden, oder es ist keine Anwendung mit der angegebenen Datei verknüpft.
ShellExecuteEx fehlgeschlagen: Ungültiges Fenster-Handle.
-----English-----
Failed to start an application or there is no application associated with the specified file.
ShellExecuteEx failed: Invalid window handle.

Code: Select all

cd '/home/thomas/Spiel/MegaSolitair/'
WINEPREFIX=~/.wine-new wine Megasol.exe
No message appeared in CLI
Error 1
Necessary system call failed:
Create file mapping failed!
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Necessary system call failed: Create file mapping failed!

Post by jkfloris »

Do you have a (legal) download link to the program?
orleans
Level 2
Level 2
Posts: 10
Joined: Thu Jul 23, 2015 8:59 am

Re: Necessary system call failed: Create file mapping failed!

Post by orleans »

The application is from 1995 the company navigo seems not existing anymore. So I don't know hows the situation is.
May it's not as problematic if I only send the exe-file without the DLL and oder files?
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Necessary system call failed: Create file mapping failed!

Post by jkfloris »

With the name of the creators, the game can be found online, so you don't have to send anything.
Unfortunately, I can't get the game to work at the moment either, but I'll look into it over the weekend to see if I can find a solution.
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Necessary system call failed: Create file mapping failed!

Post by jkfloris »

Unfortunately, I can't find a solution.
And honestly, I can't pinpoint where it goes wrong either.
You can create a bug report here: https://bugs.winehq.org/
Locked