DLL Wrapper on BMS 4.37 Server - Ubuntu 22.04
-
Dear BMS team,
I know that i am in unusual configuration but i need your indication / hints if possible to close the circle.
After some days of fight i achieve to install in a VM in Cloud with Ubuntu 22.04 (6 Core , 16 GB RAM) BMS 4.37. Because of the scope is to setup a Server for Multiplayer i already install the DLL 3d bmsmedi. The platform is Lutris under Ubuntu 22.04.
Test Scenario and CTD occurred with log:
Server starts a Korea Campaign (the first one) and goes in 3D on Ramp. Blackscreen appears because of the no renderding DLL so ok.
1 Client is connected (without fly, just in a seat on the scheduled mission proposed by the campaign).Everything seems ok for 30 minutes, after the server goes suddently in CTD. I make several try, sometime goes in CTD later sometime earlier. (between 10 minutes to 50 minutes anyway).
Following the outcome from my first analysis:
CPU is around 60% usage (60% - 70%)
Mem usage not go above 30% always
Other scenario that i tried is: In server not in 3D with Campaign Running do not present CTD after 3 hrs of Campaign running. So the problem is related when the Server goes in 3D using the DLL wrapper.Below the log from the server (user log) - It seems but i am not sure a memory leak (?)
Thanks in advance for your help.
Gundam
================================== CRASHLOG =====================================
Falcon BMS.exe caused an EXCEPTION_ACCESS_VIOLATION in:
000000000491AC03 Falcon BMS.exe
Exception handler called in UnhandledExceptionHandler.
Read from location 0000000000000000 caused an access violation.
Bytes at CS:RIP: 49 8B 0C C2 48 85 C9 74 0A F3 0F 10 81 E8 01 00Registers:
RAX=0x0000000000000000 RBX=0x000000004d275050 RCX=0x0000000000000000 RDX=0x00000000ffffffff
RSI=0x000000004d275050 RDI=0x000000006a926130 RBP=0x0000000039dcecc0 RSP=0x0000000039dceb90
RIP=0x000000000491ac03 FLG=0x0000000000010246
R8=0x000000000000008c R9=0x0000000000000000 R10=0x0000000000000000 R11=0x0000000039dceb20
R12=0xffffffffffffffff R13=0x000000004cee3cb0 R14=0x000000004cf26650 R15=0x000000004d278250
CS=0x0033 DS=0x002B SS=0x002B ES=0x0000 FS=0x0000 GS=0x0000Call Stack:
0033:000000000491AC03 Falcon BMS.exe
0033:00000000048735D2 Falcon BMS.exe
0033:0000000004701F26 Falcon BMS.exe
0033:00000000046C1CEF Falcon BMS.exe
0033:0000000004A1CC3D Falcon BMS.exe
0033:0000000004A6E076 Falcon BMS.exeTop of Stack:
0x0000000039DCEB90: 000000004D275050 0000000039DCECC0 000000004D275050 000000004D275050 PP’M…9…PP’M…PP’M…
0x0000000039DCEBB0: 0000000000000400 00000000048735D2 000000006A2D81D0 0000000000000400 …5…-j…
0x0000000039DCEBD0: 0000000000000400 00000000047E26E5 0000000039DCEDA8 000000004D278C50 …&~…9…P.'M…
0x0000000039DCEBF0: 000000003EAAAAAB 0000000000000000 000000003E4CCCCD 0000000000000000 …>…L>…
0x0000000039DCEC10: 0000000000000000 0000000000000000 000000007FFFFFFF 0000000000000000 …
0x0000000039DCEC30: 00000000441523E8 0000000000000000 000000004D278250 0000000000000000 .#.D…P.'M…
0x0000000039DCEC50: 3F317000455A223C 0000000000000000 0000000048748E3B 0000000000000000 <"ZE.p1?..;.tH…
0x0000000039DCEC70: 000000004774EC00 0000000000000000 000000003EB25971 0000000000000000 …tG…qY.>…
0x0000000039DCEC90: 000000004D069050 000000004CEE3CB0 0000000000000001 0000000000000001 P…M…<.L…
0x0000000039DCECB0: 0000000039DCEE40 00000000049192A2 0000000000000006 0000000000000000 @…9…
0x0000000039DCECD0: 0000000000000003 0000000000000000 000000003467CE10 000000003467CE50 …g4…P.g4…
0x0000000039DCECF0: 000000003467CE90 000000002E37D9D0 0000000000000006 0000000000000003 …g4…7…
0x0000000039DCED10: 0000000000000006 000000004D27583C 000000004D275840 000000004D275838 …<X’M…@X’M…8X’M…
0x0000000039DCED30: 000000004D275050 000000017005F464 0000000000000000 0000000000000000 PP’M…d…p…
0x0000000039DCED50: 000000001BEFF1D0 000000000EEC7958 0000000000000001 0000000004FE7AF8 …Xy…z…
0x0000000039DCED70: 0000000000000000 000000004D275050 000000004D069050 0000000004FE5AB8 …PP’M…P…M…Z…
0x0000000039DCED90: 0000000039DCEEA0 0000000004701F26 0000000000000000 000000003F8F0BD9 …9…&.p…?..
0x0000000039DCEDB0: 00000000C153FFCF 00000000C000BE44 00000000441523E8 0000000000000000 …S…D…#.D…
0x0000000039DCEDD0: 000000003FF33333 0000000000000000 0000000000000000 0000000000000000 33.?..
0x0000000039DCEDF0: 0000000000000005 0000000000000000 000000003EB25971 0000000004FE5AB8 …qY.>…Z…
0x0000000039DCEE10: 0000000039891070 0000000039DCEE38 0000000000000000 000000000EEC7958 p…9…8…9…Xy…
0x0000000039DCEE30: 00000000445AC801 0000000004FE5AB8 0000000039891010 0000000039DCFAE0 …ZD…Z…9…9…
0x0000000039DCEE50: 0000000000000000 000000000EEC7958 0000000046C4A401 000000017005F464 …Xy…F…d…p…
0x0000000039DCEE70: 0000000000000000 000000017005F464 000000003F000000 0000000000000000 …d…p…?..
0x0000000039DCEE90: 3EB2597139DCEF80 480D31127005F464 0000000000000000 43A567E0C413F76F …9qY.>d…p.1.H…o…g.C
0x0000000039DCEEB0: 00000000C05E3E7A 49993FCE49C8DE70 00000000C6C4A447 000000006ADA57D0 z>^…p…I.?.IG…W.j…
0x0000000039DCEED0: 000000003FA4CF6D 0000000000000000 0000000000000000 0000000000000000 m…?..
0x0000000039DCEEF0: 000000003F800000 0000000000000000 000000003EAAAAAB 0000000000000000 …?..>…
0x0000000039DCEF10: 000000003B11A2B4 0000000000000000 000000003DCCCCCD 0000000000000000 …;…=…
0x0000000039DCEF30: 0000000040A00000 0000000000000000 0000000042480000 0000000000000000 …@…HB…
0x0000000039DCEF50: 00000000C4FA0000 0000000000000000 0000000043E10000 0000000000000000 …C…
0x0000000039DCEF70: 0000000000000000 0000000000000000 000000003DCCCCCD 00000000FFFFFFFF …=…
0x0000000039DCEF90: 0000000000000000 0000000000000000 000000003F800000 0000000000000000 …?..
0x0000000039DCEFB0: 000000003EAAAAAB 0000000000000000 000000003B11A2B4 0000000000000000 …>…;…
0x0000000039DCEFD0: 000000003DCCCCCD 0000000000000000 0000000040A00000 0000000000000000 …=…@…
0x0000000039DCEFF0: 0000000042480000 0000000000000000 00000000C4FA0000 0000000000000000 …HB…
0x0000000039DCF010: 0000000043E10000 0000000000000000 0000000000000000 0000000000000000 …C…
0x0000000039DCF030: 0000000000000000 00000000FFFFFFFF 0000000000000001 0000000000000000 …
0x0000000039DCF050: 000000004D069418 000000004D069050 0000000000000002 0000000004A695E0 …M…P…M…
0x0000000039DCF070: 0000000039DCF180 00000000046C1CEF 0000000000000000 0000000000000002 …9…l…
0x0000000039DCF090: 000000FF00000003 0000000000000001 0000000000000000 0000000004CD163C …<…
0x0000000039DCF0B0: 0000000000000000 00000000371DE270 0000000000000000 0000000000000000 …p…7…
0x0000000039DCF0D0: 0000019F000001A3 0000000000000000 00000000C2C00000 0000000000000000 …
0x0000000039DCF0F0: 0000000000000000 0000000004FE5AB8 0000000060668A50 0000000000000000 …Z…P.f`…
0x0000000039DCF110: 000000005A583F90 000000000EEC7900 000000003EA94C00 00000000046E920D .?XZ…y…L.>…n…
0x0000000039DCF130: 4049514A5A000000 0000000000000000 000000000000006C 000000006A8D0050 …ZJQI@…l…P…j…
0x0000000039DCF150: 000000003FD80B03 0000000000000000 00000000346BB270 000000000475DADC …?..p.k4…u…
0x0000000039DCF170: 0000000000000000 0000000000000000 0000000046C4A447 0000000000000000 …G…F…
0x0000000039DCF190: 0000000000000001 00000000459F1050 0000000000000000 0000000039DCF340 …P…E…@…9…
0x0000000039DCF1B0: 0000000000000001 0000000004919241 0000000000000003 0000000042C00000 …A…B…
0x0000000039DCF1D0: 0000000046C4A447 0000000002799C50 0000000034631490 000000001BF93D10 G…F…P.y…c4…=…
0x0000000039DCF1F0: 0000000000000003 000000000000000B 000000006A886C3C 000000006A886C38 …<l.j…8l.j…
0x0000000039DCF210: 401F163B3E0AE5B9 0000000000000000 0000000000000003 00000000037594F0 …>;…@…u…
0x0000000039DCF230: 000000006A886450 0000000004919763 000000006A885A50 000000001BF93C50 Pd.j…c…PZ.j…P<…
0x0000000039DCF250: 0000000000000002 00000000037594F3 0000000039DCF110 000000004D069050 …u…9…P…M…
0x0000000039DCF270: 0000000049A65543 0000000000000000 3F91DF46A2529D39 0000000000000000 CU.I…9.R.F…?..
0x0000000039DCF290: 000000006A885A50 0000000004ED73A8 0000000000000000 0000000002799C50 PZ.j…s…P.y…
0x0000000039DCF2B0: 000000000502D1E8 000000006A885A50 000000003DD49084 0000000000000000 …PZ.j…=…
0x0000000039DCF2D0: 0000000046C4A447 0000000000000000 0000000000000000 0000000004512209 G…F…"Q…
0x0000000039DCF2F0: 0000000000000001 00000000459F1050 000000006A885A50 0000000000000000 …P…E…PZ.j…
0x0000000039DCF310: 0000000000000000 00000000048E0415 000000000F3F1EE8 0000000003777601 …?..vw…
0x0000000039DCF330: 000000000F3F1D40 0000000042C00000 3F91DF4600000000 00000000BEC6A0CB @.?..B…F…?..
0x0000000039DCF350: 00000000441523E8 000000003DD49084 000000006A885A50 0000000004ED73A8 .#.D…=…PZ.j…s…
0x0000000039DCF370: 0000000000000000 0000000039DCF5F0 000000000502D1E8 000000006A885A50 …9…PZ.j…
While Drawing LOD 5553 (this may only be a coincidence if the call stack is not the LOD drawing code)================================================================================
TLS frame allocator:
47318 allocations with 54773760 bytes [0]
0 allocations with 0 bytes [1]
Renderer command count: 5072
Object at RCX(0000000000000000)================================================================================
Compiler Options:
_MSC_VER=1934 WINVER=0x601 _WIN32_WINNT=0x601 _WIN32_WINDOWS=0x601
NTDDI_VERSION=0x6010000 _WIN32_IE=0x800 ANSI _M_AMD64 AMD64 _WIN64 Release*System Information:
‘C:\Falcon_BMS\Bin\x64\Falcon BMS.exe’, run by root.
Error occurred at 13:58:54 on 2023-01-07.
Version: Falcon BMS 4.37.0 (x64) 322
Game is Campaign type Networked
Theater terrain path: ‘C:\Falcon_BMS\Data\Terrdata\korea’
Operating System: Windows 10 (10.0.19043) Platform 2 .
Computer Name: VMI1145874 Domain: VMI1145874.
6 logical processor(s), type 8664.
CPU: AMD EPYC 7282 16-Core Processor . AuthenticAMD. Stepping: 0 Model: 1 Family: F.
32% memory in use:
16002 MB physical memory
10765 MB physical memory free
16002 MB paging file
10765 MB paging file free
134217728 MB user address space
134217728 MB user address space freeModule List:
C:\windows\system32\D3DCOMPILER_47.dll, loaded at 0x0000000000650000 - 4410168 bytes - TimeDateStamp 0x a0795b26 - File date is 23:28:52 on 2021-09-06
C:\Falcon_BMS\Bin\x64\d3d11.dll, loaded at 0x0000000000a90000 - 316416 bytes - TimeDateStamp 0x 5ffaa72f - File date is 08:05:20 on 2021-01-10
C:\windows\system32\d3dx11_43.dll, loaded at 0x0000000000af0000 - 276832 bytes - TimeDateStamp 0x 4bf70c01 - File date is 08:41:02 on 2010-05-26
C:\Falcon_BMS\Bin\x64\Falcon BMS.exe, loaded at 0x0000000004470000 - 180050944 bytes - TimeDateStamp 0x 63ac0fc4 - File date is 10:43:34 on 2022-12-28
C:\windows\system32\opengl32.dll, loaded at 0x000000007a850000 - 2400 bytes - TimeDateStamp 0x e6fdfb9 - File date is 13:05:26 on 2023-01-07
C:\windows\system32\kernelbase.dll, loaded at 0x000000007b000000 - 894742 bytes - TimeDateStamp 0x 0 - File date is 13:05:24 on 2023-01-07
C:\windows\system32\kernel32.dll, loaded at 0x000000007b600000 - 2220248 bytes - TimeDateStamp 0x 0 - File date is 13:05:24 on 2023-01-07Environment Variables:
0: <SHELL=/bin/bash>
1: <GTK_IM_MODULE=ibus>
2: <LANGUAGE=en_US:>
3: <SSH_AUTH_SOCK=/tmp/ssh-XXXXXXRSAZXn/agent.1037>
4: <XMODIFIERS=@im=ibus>
5: <SSH_AGENT_PID=1122>
6: <LOGNAME=root>
7: <XDG_SESSION_TYPE=x11>
8: <PULSE_SCRIPT=/etc/xrdp/pulse/default.pa>
9: <LANG=en_US.UTF-8>
10: <XRDP_SOCKET_PATH=/run/xrdp/sockdir>
11: <XRDP_PULSE_SOURCE_SOCKET=xrdp_chansrv_audio_in_socket_10>
12: <CLUTTER_IM_MODULE=ibus>
13: <XDG_SESSION_CLASS=user>
14: <USER=root>
15: <XRDP_SESSION=1>
16: <XRDP_PULSE_SINK_SOCKET=xrdp_chansrv_audio_out_socket_10>
17: <SHLVL=1>
18: <XDG_SESSION_ID=c1>
19: <XDG_RUNTIME_DIR=/run/user/0>
20: <XDG_DATA_DIRS=/usr/share/gnome:/root/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share:/var/lib/snapd/desktop>
21: <DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/0/bus>
22: <UID=0>
23: <_=/usr/bin/xfce4-session>
24: <SESSION_MANAGER=local/vmi1145874.contaboserver.net:@/tmp/.ICE-unix/1140,unix/vmi1145874.contaboserver.net:/tmp/.ICE-unix/1140>
25: <PANEL_GDK_CORE_DEVICE_EVENTS=0>
26: <DISPLAY=:10.0>
27: <DISABLE_LAYER_AMD_SWITCHABLE_GRAPHICS_1=1>
28: <__GL_SHADER_DISK_CACHE=1>
29: <__GL_SHADER_DISK_CACHE_PATH=/root/WINE_GAMES>
30: <LD_LIBRARY_PATH=/root/.local/share/lutris/runners/wine/lutris-7.2-2-x86_64/lib:/root/.local/share/lutris/runners/wine/lutris-7.2-2-x86_64/lib64:/lib/x86_64-linux-gnu:/lib/i386-linux-gnu:/lib:/lib64:/lib32:/lib64:/usr/lib:/usr/lib64:/usr/lib32:/usr/lib64:/usr/lib/i386-linux-gnu:/usr/lib/x86_64-linux-gnu:/root/.local/share/lutris/runtime/Ubuntu-18.04-i686:/root/.local/share/lutris/runtime/steam/i386/lib/i386-linux-gnu:/root/.local/share/lutris/runtime/steam/i386/lib:/root/.local/share/lutris/runtime/steam/i386/usr/lib/i386-linux-gnu:/root/.local/share/lutris/runtime/steam/i386/usr/lib:/root/.local/share/lutris/runtime/Ubuntu-18.04-x86_64:/root/.local/share/lutris/runtime/steam/amd64/lib/x86_64-linux-gnu:/root/.local/share/lutris/runtime/steam/amd64/lib:/root/.local/share/lutris/runtime/steam/amd64/usr/lib/x86_64-linux-gnu:/root/.local/share/lutris/runtime/steam/amd64/usr/lib>
31: <WINEDEBUG=-all>
32: <DXVK_LOG_LEVEL=none>
33: <WINEARCH=win64>
34: <WINE=/root/.local/share/lutris/runners/wine/lutris-7.2-2-x86_64/bin/wine>
35: <WINE_MONO_CACHE_DIR=/root/.local/share/lutris/runners/wine/lutris-7.2-2-x86_64/mono>
36: <WINE_GECKO_CACHE_DIR=/root/.local/share/lutris/runners/wine/lutris-7.2-2-x86_64/gecko>
37: <GST_PLUGIN_SYSTEM_PATH_1_0=/root/.local/share/lutris/runners/wine/lutris-7.2-2-x86_64/lib64/gstreamer-1.0/:/root/.local/share/lutris/runners/wine/lutris-7.2-2-x86_64/lib/gstreamer-1.0/>
38: <WINEPREFIX=/root/WINE_GAMES>
39: <WINEESYNC=0>
40: <WINEFSYNC=0>
41: <WINE_FULLSCREEN_FSR=1>
42: <game_name=Falcon_BMS_437>
43: <LUTRIS_GAME_UUID=69ecd475-f0be-4901-800c-7f4ae864b549>
44: <ComSpec=C:\windows\system32\cmd.exe>
45: <NUMBER_OF_PROCESSORS=6>
46: <OS=Windows_NT>
47: <PATH=C:\windows\system32;C:\windows;C:\windows\system32\wbem;C:\windows\system32\WindowsPowershell\v1.0>
48: <PATHEXT=.com;.exe;.bat;.cmd;.vbs;.vbe;.js;.jse;.wsf;.wsh>
49: <PROCESSOR_ARCHITECTURE=AMD64>
50: <PROCESSOR_IDENTIFIER=AMD64 Family 23 Model 49 Stepping 0, AuthenticAMD>
51: <PROCESSOR_LEVEL=23>
52: <PROCESSOR_REVISION=3100>
53: <windir=C:\windows>
54: <winsysdir=C:\windows\system32>
55: <TEMP=C:\users\root\Temp>
56: <TMP=C:\users\root\Temp>
57: <APPDATA=C:\users\root\AppData\Roaming>
58: <CLIENTNAME=Console>
59: <HOMEDRIVE=C:>
60: <HOMEPATH=\users\root>
61: <LOCALAPPDATA=C:\users\root\AppData\Local>
62: <LOGONSERVER=\VMI1145874>
63: <SESSIONNAME=Console>
64: <USERDOMAIN=VMI1145874>
65: <USERNAME=root>
66: <USERPROFILE=C:\users\root>
67: <ALLUSERSPROFILE=C:\ProgramData>
68: <ProgramData=C:\ProgramData>
69: <PUBLIC=C:\users\Public>
70: <ProgramFiles(x86)=C:\Program Files (x86)>
71: <ProgramW6432=C:\Program Files>
72: <CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files>
73: <CommonProgramW6432=C:\Program Files\Common Files>
74: <COMPUTERNAME=VMI1145874>
75: <ProgramFiles=C:\Program Files>
76: <CommonProgramFiles=C:\Program Files\Common Files>
77: <WINEDATADIR=??\Z:\root.local\share\lutris\runners\wine\lutris-7.2-2-x86_64\share\wine>
78: <WINEHOMEDIR=??\Z:\root>
79: <WINECONFIGDIR=??\Z:\root\WINE_GAMES>
80: <WINEDLLDIR0=??\Z:\root.local\share\lutris\runners\wine\lutris-7.2-2-x86_64\lib64\wine>
81: <WINEUSERNAME=root>
82: <WINEDLLOVERRIDES=d3d11.dll=n,b;d3d12,d3dcompiler_33,d3dcompiler_34,d3dcompiler_35,d3dcompiler_36,d3dcompiler_37,d3dcompiler_38,d3dcompiler_39,d3dcompiler_40,d3dcompiler_41,d3dcompiler_42,d3dcompiler_43,d3dcompiler_46,d3dcompiler_47,d3dx10,d3dx10_33,d3dx10_34,d3dx10_35,d3dx10_36,d3dx10_37,d3dx10_38,d3dx10_39,d3dx10_40,d3dx10_41,d3dx10_42,d3dx10_43,d3dx11_42,d3dx11_43,d3dx9_24,d3dx9_25,d3dx9_26,d3dx9_27,d3dx9_28,d3dx9_29,d3dx9_30,d3dx9_31,d3dx9_32,d3dx9_33,d3dx9_34,d3dx9_35,d3dx9_36,d3dx9_37,d3dx9_38,d3dx9_39,d3dx9_40,d3dx9_41,d3dx9_42,d3dx9_43=n;winemenubuilder=>
83: <WINELOCALE=en-US>
84: <SystemDrive=C:>
85: <SystemRoot=C:\windows>================================================================================
-
@gundam said in DLL Wrapper on BMS 4.37 Server - Ubuntu 22.04:
Call Stack:
0033:000000000491AC03 Falcon BMS.exe
0033:00000000048735D2 Falcon BMS.exe
0033:0000000004701F26 Falcon BMS.exe
0033:00000000046C1CEF Falcon BMS.exe
0033:0000000004A1CC3D Falcon BMS.exe
0033:0000000004A6E076 Falcon BMS.exeUgh, apparently the dbghelp library can’t parse the symbols for the call stack, when running on Linux/Wine? Sorry I didn’t realize that, when I suggested you post here. I guess it won’t be so easy to investigate.
Some questions/idea…
-
If you run without the bmsdedi layer… is it stable? or would it run too slowly to endure, for very long.
-
If you run with the -mono command line switch… perhaps there’s some interesting output, before the crash.
-
If you have a solid repro case… maybe try porting the same campaign save-files etc over to a Windows machine, and host from there, see if the crash reproduces.
(At a glance this looks to me like a null-pointer exception, not a slow leak or (probably not) race condition… running stable for ~30 min then hitting a null pointer, somewhere in BMS code… seems at least 50/50 likely this is a real bug that would express itself on Windows not just Linux.)
-
-
@airtex2019 Hi Airtex2019!
Following my answer for each point you arise:
“apparently the dbghelp library can’t parse the symbols for the call stack” --> i forgot to copy on the bin\x64 directory the file d3d11.pdb is it could effect the log output?
Action: now i copied the file and retry just to see if something change in the log.Q: If you run without the bmsdedi layer… is it stable? or would it run too slowly to endure, for very long.
A: If i run without bmsdedi layer because of i have no GPU when goes in 3D i have CTD but i think it is normal because there are nothing that manage directx call. Isn’t it?
Q: If you run with the -mono command line switch… perhaps there’s some interesting output, before the crash.
A: How i can make this try? with Lutris i have a UI not a command line but here i missing something…
Q: If you have a solid repro case…
A: The scenario is very simple. I put the server in 3D. I choose a mission an RAMP option. It goes in ramp (i think so because with bmsdedi layer i don’t see anything, but i am sure the server is up and in 3D because with a client i can connect an go in 3D as usual). After i see on top command and wait…wait…after some minutes CTD. It goes in crash even if no client are connected. The key thing is that the server has to be in 3D for the CTD occurs.
Thanks for your feedback, for me crucial to take the right direction.
Ciao
Gundam
-
@gundam all my linux experience is just server-side stuff … so I’m out of my element, here.
eg. I have no idea if Wine on Linux provides a default software-render implementation of d3d, the way Windows does. Do you see it in the dropdown list on Setup/Graphics page?
The thing to understand about bmsdedi though, is that it doesn’t truly insulate against the dependency on Direct3D, it just short-circuits all “draw” calls at runtime. Just draws a single black rectangle.
I mean, there’s a dialog-box switch to turn the rendering on and off, in realtime. So obvs it has to load all the textures and initialize all the swapchains and do all the “direct3d stuff” the game normally would, and does.
Sorry I can’t be more direct help. All I can do is, try to help ask the right questions…
I searched the forums for “linux” and “bmsdedi” and I think you might be the first person brave enough to attempt getting BMS to run on a linux virt.
-
Shooting in the dark here, but wehave fixed a nullptr in missile code. Could be related.
-
@airtex2019 Hi!
Thanks Airtex, i appreciate a lot your support. Unfortunatly i am not a linux user (or better i wasn’t… ) so maybe i miss something basic here.
regarding the printscreen you attach, the answer is No. I cannot see that option. I only see Geforce GTX 440 (if i remember well, now the test is running after i will check and copy/paste my print screen).
One other things, i saw that the wincfg option doesn’t work so i delete the default prefix via winetricks and reset to a new default prefix. Now wincfg option via winetricks works and i change from windows 7 to windows 10.
The test is running and the server is in RAMP. 34 minutes and it is still running
-
@Seifer said in DLL Wrapper on BMS 4.37 Server - Ubuntu 22.04:
Shooting in the dark here
terrible pun! lol… if it turns out to be a bug about firing a missile while bmsdedi graphics blackout enabled.
-
-
@Seifer thanks Seifer. I will update thread with my test results.
-
-
Update from the front.
The server goes in CTD after 1 hr and 11 minutes more or less.
From the User log not seems to be any additional information, the error message is the same.
Furthermore below the print screen of the setup / graphic section. i have only the value “Nvidia Geforce GTX 470” and the crashlog file as reported in the user/log directory
================================== CRASHLOG =====================================
Falcon BMS.exe caused an EXCEPTION_ACCESS_VIOLATION in:
000000000491AC03 Falcon BMS.exe
Exception handler called in UnhandledExceptionHandler.
Read from location 0000000000000000 caused an access violation.
Bytes at CS:RIP: 49 8B 0C C2 48 85 C9 74 0A F3 0F 10 81 E8 01 00Registers:
RAX=0x0000000000000000 RBX=0x000000006b326450 RCX=0x0000000000000000 RDX=0x00000000ffffffff
RSI=0x000000006b326450 RDI=0x000000006b013250 RBP=0x00000000399cecc0 RSP=0x00000000399ceb90
RIP=0x000000000491ac03 FLG=0x0000000000010246
R8=0x0000000000000064 R9=0x0000000000000000 R10=0x0000000000000000 R11=0x00000000399ceb20
R12=0xffffffffffffffff R13=0x00000000451584b0 R14=0x000000006b7b1850 R15=0x000000006b79dc50
CS=0x0033 DS=0x002B SS=0x002B ES=0x0000 FS=0x0000 GS=0x0000Call Stack:
0033:000000000491AC03 Falcon BMS.exe
0033:00000000048735D2 Falcon BMS.exe
0033:0000000004701F26 Falcon BMS.exe
0033:00000000046C1CEF Falcon BMS.exe
0033:0000000004A1CC3D Falcon BMS.exe
0033:0000000004A6E076 Falcon BMS.exeTop of Stack:
0x00000000399CEB90: 000000006B326450 00000000399CECC0 000000006B326450 000000006B326450 Pd2k…9…Pd2k…Pd2k…
0x00000000399CEBB0: 0000000000000400 00000000048735D2 000000006B049F90 0000000000000400 …5…k…
0x00000000399CEBD0: 0000000000000400 00000000047E26E5 00000000399CEDA8 000000006B79E650 …&~…9…P.yk…
0x00000000399CEBF0: 00000000399CEE20 0000000004470000 0000000000000000 0000000000000004 …9…G…
0x00000000399CEC10: 0000000000000001 0000000000000001 000000007FFFFFFF 0000000000000000 …
0x00000000399CEC30: 00000000442B83FC 0000000000000000 000000006B79DC50 0000000000000000 …+D…P.yk…
0x00000000399CEC50: 3F317000457A0C8A 0000000000000000 00000000489FA844 0000000000000000 …zE.p1?..D…H…
0x00000000399CEC70: 000000004774EC00 0000000000000000 000000003E78BE48 0000000000000000 …tG…H.x>…
0x00000000399CEC90: 0000000039E9C050 00000000451584B0 0000000000000001 0000000000000001 P…9…E…
0x00000000399CECB0: 00000000399CEE40 00000000049192A2 0000000000000006 0000000000000000 @…9…
0x00000000399CECD0: 0000000000000003 000000000493066E 000000001D7CCBD0 000000001D7CCC10 …n…|…|…
0x00000000399CECF0: 000000001D7CCC50 000000002E34DBB0 0000000000000006 0000000000000003 P.|…4…
0x00000000399CED10: C050C00000000006 000000006B326C3C 000000006B326C40 000000006B326C38 …P.<l2k…@l2k…8l2k…
0x00000000399CED30: 000000006B326450 000000017005F464 0000000000000000 0000000000000000 Pd2k…d…p…
0x00000000399CED50: 0000000042340000 000000000EEC7958 0000000000000001 0000000004FE7AF8 …4B…Xy…z…
0x00000000399CED70: 0000000000000000 000000006B326450 0000000039E9C050 0000000004FE5AB8 …Pd2k…P…9…Z…
0x00000000399CED90: 00000000399CEEA0 0000000004701F26 0000000000000000 00000000BE36B1E6 …9…&.p…6…
0x00000000399CEDB0: 00000000C122D600 00000000400D61FE 00000000442B83FC 0000000000000000 …"…a.@…+D…
0x00000000399CEDD0: 000000003FF33333 0000000000000000 0000000000000000 0000000000000000 33.?..
0x00000000399CEDF0: 0000000000000005 0000000000000000 000000003E78BE48 0000000004FE5AB8 …H.x>…Z…
0x00000000399CEE10: 0000000039791910 00000000399CEE38 0000000000000000 000000000EEC7958 …y9…8…9…Xy…
0x00000000399CEE30: 0000000044AD3801 0000000004FE5AB8 00000000397918B0 00000000399CFAE0 .8.D…Z…y9…9…
0x00000000399CEE50: 0000000000000000 000000000EEC7958 0000000046C35001 000000017005F464 …Xy…P.F…d…p…
0x00000000399CEE70: 0000000000000000 000000017005F464 000000003F000000 0000000000000000 …d…p…?..
0x00000000399CEE90: 3E78BE48399CEF80 485A630F7005F464 0000000000000000 0000000000000000 …9H.x>d…p.cZH…
0x00000000399CEEB0: 0000000000000000 49AFF87A49E0D166 00000000C6C35000 000000006B58F410 …f…Iz…I.P…Xk…
0x00000000399CEED0: 000000003FE9746F 0000000000000000 0000000000000000 0000000000000000 ot.?..
0x00000000399CEEF0: 000000003F800000 0000000000000000 000000003EAAAAAB 0000000000000000 …?..>…
0x00000000399CEF10: 000000003B11A2B4 0000000000000000 000000003DCCCCCD 0000000000000000 …;…=…
0x00000000399CEF30: 0000000040A00000 0000000000000000 0000000042480000 0000000000000000 …@…HB…
0x00000000399CEF50: 00000000C4FA0000 0000000000000000 0000000043E10000 0000000000000000 …C…
0x00000000399CEF70: 0000000000000000 0000000000000000 000000003DCCCCCD 00000000FFFFFFFF …=…
0x00000000399CEF90: 0000000000000000 0000000000000000 000000003F800000 0000000000000000 …?..
0x00000000399CEFB0: 000000003EAAAAAB 0000000000000000 000000003B11A2B4 0000000000000000 …>…;…
0x00000000399CEFD0: 000000003DCCCCCD 0000000000000000 0000000040A00000 0000000000000000 …=…@…
0x00000000399CEFF0: 0000000042480000 0000000000000000 00000000C4FA0000 0000000000000000 …HB…
0x00000000399CF010: 0000000043E10000 0000000000000000 0000000000000000 0000000000000000 …C…
0x00000000399CF030: 0000000000000000 00000000FFFFFFFF 0000000000000001 0000000000000000 …
0x00000000399CF050: 0000000039E9C418 0000000039E9C050 0000000000000002 0000000004A695E0 …9…P…9…
0x00000000399CF070: 00000000399CF180 00000000046C1CEF 0000000000000000 0000000000000002 …9…l…
0x00000000399CF090: 000000FF00000003 0000000000000001 0000000000000000 0000000004CD163C …<…
0x00000000399CF0B0: 0000000000000000 00000000371D28D0 00000000B926AAAB 0000000000000000 …(.7…&…
0x00000000399CF0D0: 0000013B000001D3 0000000000000000 00000000C2E20000 0000000000000000 …;…
0x00000000399CF0F0: 0000000000000000 0000000004FE5AB8 BF80000043700000 BF80000044610000 …Z…pC…aD…
0x00000000399CF110: 000000FF00004EAB 000000000EEC7901 000000003EAB4000 00000000046E920D .N…y…@.>…n…
0x00000000399CF130: 4049514A5A000000 0000000000000000 000000000000006C 0000000039EA1C50 …ZJQI@…l…P…9…
0x00000000399CF150: 000000003FD80B03 0000000000000000 000000001D78AAF0 000000000475DADC …?..x…u…
0x00000000399CF170: 000000003482C850 00000000371D28D0 000000000000013B 0000000000000000 P…4…(.7…;…
0x00000000399CF190: 0000000040C90FDB 0000000000000000 0000000000000000 0000000000000000 …@…
0x00000000399CF1B0: 3FEFFFFF3F7FFFFE 0000000000000000 000000003E99999A 0000000000000000 …?..?..>…
0x00000000399CF1D0: 3F9EB2DA3A0929B0 0000000000000000 0000000080000000 0000000000000000 .).:…?..
0x00000000399CF1F0: 00000000451C4000 0000000000000000 0000000040000000 00004EAB00000000 [email protected]…@…N…
0x00000000399CF210: C00728E8000000FF 8000000000000000 0000000000000000 000000000472B565 …(…e.r…
0x00000000399CF230: 000000003CDC8D42 0000000000000000 0000000040E00000 0000000000000000 B…<…@…
0x00000000399CF250: 000000003F800000 0000000000000000 00000000399CF110 0000000039E9C050 …?..9…P…9…
0x00000000399CF270: 000000003D678F35 000000000472BA49 00000000B98A758C 0000000000000000 5.g=…I.r…u…
0x00000000399CF290: 0000000080000000 0000000000000000 4056800000000000 0000000000000002 …V@…
0x00000000399CF2B0: 0000000000000008 0000000000000000 0000000000000000 0000000000140000 …
0x00000000399CF2D0: 00000000000001D3 0000000000140000 0000000000000001 000000017002A382 …p…
0x00000000399CF2F0: 000000006B3E4510 0000000039EA24A0 0000000039EA1C50 00000000399CF358 .E>k…$.9…P…9…X…9…
0x00000000399CF310: 0000000000000000 0000000000456B44 000000000F3F1EE8 0000000000000001 …DkE…?..
0x00000000399CF330: 000000000F3F1D40 0000000000000002 0000000000000008 00000000399CF358 @.?..X…9…
0x00000000399CF350: 0000000000000000 000000006B2B91D0 0000000000000008 0000000000000000 …+k…
0x00000000399CF370: 0000000000000000 00000000399CF4F0 000000003D449BA6 0000000000000000 …9…D=…
While Drawing LOD 2124 (this may only be a coincidence if the call stack is not the LOD drawing code)================================================================================
TLS frame allocator:
15183 allocations with 32994848 bytes [0]
0 allocations with 0 bytes [1]
Renderer command count: 1638
Object at RCX(0000000000000000)================================================================================
Compiler Options:
_MSC_VER=1934 WINVER=0x601 _WIN32_WINNT=0x601 _WIN32_WINDOWS=0x601
NTDDI_VERSION=0x6010000 _WIN32_IE=0x800 ANSI _M_AMD64 AMD64 _WIN64 Release*System Information:
‘C:\Falcon_BMS\Bin\x64\Falcon BMS.exe’, run by root.
Error occurred at 10:11:06 on 2023-01-08.
Version: Falcon BMS 4.37.0 (x64) 322
Game is Campaign type Networked
Theater terrain path: ‘C:\Falcon_BMS\Data\Terrdata\korea’
Operating System: Windows 10 (10.0.19043) Platform 2 .
Computer Name: VMI1145874 Domain: VMI1145874.
6 logical processor(s), type 8664.
CPU: AMD EPYC 7282 16-Core Processor . AuthenticAMD. Stepping: 0 Model: 1 Family: F.
29% memory in use:
16002 MB physical memory
11326 MB physical memory free
16002 MB paging file
11326 MB paging file free
134217728 MB user address space
134217728 MB user address space freeModule List:
C:\windows\system32\D3DCOMPILER_47.dll, loaded at 0x0000000000650000 - 4410168 bytes - TimeDateStamp 0x a0795b26 - File date is 23:28:52 on 2021-09-06
C:\Falcon_BMS\Bin\x64\d3d11.dll, loaded at 0x0000000000a90000 - 316416 bytes - TimeDateStamp 0x 5ffaa72f - File date is 08:05:20 on 2021-01-10
C:\windows\system32\d3dx11_43.dll, loaded at 0x0000000000af0000 - 276832 bytes - TimeDateStamp 0x 4bf70c01 - File date is 08:41:02 on 2010-05-26
C:\Falcon_BMS\Bin\x64\Falcon BMS.exe, loaded at 0x0000000004470000 - 180050944 bytes - TimeDateStamp 0x 63ac0fc4 - File date is 10:43:34 on 2022-12-28
C:\windows\system32\opengl32.dll, loaded at 0x000000007a850000 - 2400 bytes - TimeDateStamp 0x e6fdfb9 - File date is 13:05:26 on 2023-01-07
C:\windows\system32\kernelbase.dll, loaded at 0x000000007b000000 - 894742 bytes - TimeDateStamp 0x 0 - File date is 13:05:24 on 2023-01-07
C:\windows\system32\kernel32.dll, loaded at 0x000000007b600000 - 2220248 bytes - TimeDateStamp 0x 0 - File date is 13:05:24 on 2023-01-07Environment Variables:
0: <SHELL=/bin/bash>
1: <GTK_IM_MODULE=ibus>
2: <LANGUAGE=en_US:>
3: <SSH_AUTH_SOCK=/tmp/ssh-XXXXXXu9qt2Y/agent.1248>
4: <XMODIFIERS=@im=ibus>
5: <SSH_AGENT_PID=1332>
6: <LOGNAME=root>
7: <XDG_SESSION_TYPE=x11>
8: <PULSE_SCRIPT=/etc/xrdp/pulse/default.pa>
9: <LANG=en_US.UTF-8>
10: <XRDP_SOCKET_PATH=/run/xrdp/sockdir>
11: <XRDP_PULSE_SOURCE_SOCKET=xrdp_chansrv_audio_in_socket_10>
12: <CLUTTER_IM_MODULE=ibus>
13: <XDG_SESSION_CLASS=user>
14: <USER=root>
15: <XRDP_SESSION=1>
16: <XRDP_PULSE_SINK_SOCKET=xrdp_chansrv_audio_out_socket_10>
17: <SHLVL=1>
18: <XDG_SESSION_ID=c7>
19: <XDG_RUNTIME_DIR=/run/user/0>
20: <XDG_DATA_DIRS=/usr/share/gnome:/root/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share:/var/lib/snapd/desktop>
21: <DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/0/bus>
22: <UID=0>
23: <_=/usr/bin/xfce4-session>
24: <SESSION_MANAGER=local/vmi1145874.contaboserver.net:@/tmp/.ICE-unix/1350,unix/vmi1145874.contaboserver.net:/tmp/.ICE-unix/1350>
25: <PANEL_GDK_CORE_DEVICE_EVENTS=0>
26: <DISPLAY=:10.0>
27: <DISABLE_LAYER_AMD_SWITCHABLE_GRAPHICS_1=1>
28: <__GL_SHADER_DISK_CACHE=1>
29: <__GL_SHADER_DISK_CACHE_PATH=/root/WINE_GAMES>
30: <__NV_PRIME_RENDER_OFFLOAD=1>
31: <__GLX_VENDOR_LIBRARY_NAME=nvidia>
32: <__VK_LAYER_NV_optimus=NVIDIA_only>
33: <LD_LIBRARY_PATH=/root/.local/share/lutris/runtime/Ubuntu-18.04-i686:/root/.local/share/lutris/runtime/steam/i386/lib/i386-linux-gnu:/root/.local/share/lutris/runtime/steam/i386/lib:/root/.local/share/lutris/runtime/steam/i386/usr/lib/i386-linux-gnu:/root/.local/share/lutris/runtime/steam/i386/usr/lib:/root/.local/share/lutris/runtime/Ubuntu-18.04-x86_64:/root/.local/share/lutris/runtime/steam/amd64/lib/x86_64-linux-gnu:/root/.local/share/lutris/runtime/steam/amd64/lib:/root/.local/share/lutris/runtime/steam/amd64/usr/lib/x86_64-linux-gnu:/root/.local/share/lutris/runtime/steam/amd64/usr/lib>
34: <WINEDEBUG=-all>
35: <DXVK_LOG_LEVEL=none>
36: <WINEARCH=win64>
37: <WINE=/root/.local/share/lutris/runners/wine/lutris-7.2-2-x86_64/bin/wine>
38: <WINE_MONO_CACHE_DIR=/root/.local/share/lutris/runners/wine/lutris-7.2-2-x86_64/mono>
39: <WINE_GECKO_CACHE_DIR=/root/.local/share/lutris/runners/wine/lutris-7.2-2-x86_64/gecko>
40: <GST_PLUGIN_SYSTEM_PATH_1_0=/root/.local/share/lutris/runners/wine/lutris-7.2-2-x86_64/lib64/gstreamer-1.0/:/root/.local/share/lutris/runners/wine/lutris-7.2-2-x86_64/lib/gstreamer-1.0/>
41: <WINEPREFIX=/root/WINE_GAMES>
42: <WINEESYNC=0>
43: <WINEFSYNC=0>
44: <game_name=Falcon_BMS_437>
45: <LUTRIS_GAME_UUID=2bfd53df-030b-450b-b6d6-31b7b0072029>
46: <ComSpec=C:\windows\system32\cmd.exe>
47: <NUMBER_OF_PROCESSORS=6>
48: <OS=Windows_NT>
49: <PATH=C:\windows\system32;C:\windows;C:\windows\system32\wbem;C:\windows\system32\WindowsPowershell\v1.0>
50: <PATHEXT=.com;.exe;.bat;.cmd;.vbs;.vbe;.js;.jse;.wsf;.wsh>
51: <PROCESSOR_ARCHITECTURE=AMD64>
52: <PROCESSOR_IDENTIFIER=AMD64 Family 23 Model 49 Stepping 0, AuthenticAMD>
53: <PROCESSOR_LEVEL=23>
54: <PROCESSOR_REVISION=3100>
55: <windir=C:\windows>
56: <winsysdir=C:\windows\system32>
57: <TEMP=C:\users\root\Temp>
58: <TMP=C:\users\root\Temp>
59: <APPDATA=C:\users\root\AppData\Roaming>
60: <CLIENTNAME=Console>
61: <HOMEDRIVE=C:>
62: <HOMEPATH=\users\root>
63: <LOCALAPPDATA=C:\users\root\AppData\Local>
64: <LOGONSERVER=\VMI1145874>
65: <SESSIONNAME=Console>
66: <USERDOMAIN=VMI1145874>
67: <USERNAME=root>
68: <USERPROFILE=C:\users\root>
69: <ALLUSERSPROFILE=C:\ProgramData>
70: <ProgramData=C:\ProgramData>
71: <PUBLIC=C:\users\Public>
72: <ProgramFiles(x86)=C:\Program Files (x86)>
73: <ProgramW6432=C:\Program Files>
74: <CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files>
75: <CommonProgramW6432=C:\Program Files\Common Files>
76: <COMPUTERNAME=VMI1145874>
77: <ProgramFiles=C:\Program Files>
78: <CommonProgramFiles=C:\Program Files\Common Files>
79: <WINEDATADIR=??\Z:\root.local\share\lutris\runners\wine\lutris-7.2-2-x86_64\share\wine>
80: <WINEHOMEDIR=??\Z:\root>
81: <WINECONFIGDIR=??\Z:\root\WINE_GAMES>
82: <WINEDLLDIR0=??\Z:\root.local\share\lutris\runners\wine\lutris-7.2-2-x86_64\lib64\wine>
83: <WINEUSERNAME=root>
84: <WINEDLLOVERRIDES=d3d11.dll=n,b;d3d12,d3dcompiler_42,d3dcompiler_43,d3dcompiler_46,d3dcompiler_47,d3dx10,d3dx10_33,d3dx10_34,d3dx10_35,d3dx10_36,d3dx10_37,d3dx10_38,d3dx10_39,d3dx10_40,d3dx10_41,d3dx10_42,d3dx10_43,d3dx11_42,d3dx11_43,d3dx9_24,d3dx9_25,d3dx9_26,d3dx9_27,d3dx9_28,d3dx9_29,d3dx9_30,d3dx9_31,d3dx9_32,d3dx9_33,d3dx9_34,d3dx9_35,d3dx9_36,d3dx9_37,d3dx9_38,d3dx9_39,d3dx9_40,d3dx9_41,d3dx9_42,d3dx9_43=n;winemenubuilder=>
85: <WINELOCALE=en-US>
86: <SystemDrive=C:>
87: <SystemRoot=C:\windows>================================================================================
-
@gundam Interesting that i try in the setup/graphics section to enable the option “preview” and the image come out
RE Edit: but after i had a CTD. … -
Update from the front.
with winetricks on the default prefix i load the following DLL:
d3dx11_43.dll
d3dx9_43.dll
D3DCOMPILER_47.dllthat i saw was used by the main process Falcon BMS.exe.
On Lutris i check the option “Prefer system libraries”.
Furthermore i put the server in RAMP on a isolated airport in Japan with a 135 RC-W flight.
After 156 minutes the server is up and running and with 1 client connected.
I see lower CPU consumption, now around 30% and less memory consumption stable at 19%. Sounds good, Let’s let it running. I will update later the post.
Gundam (below the image of top command from the VM Ubuntu).
-
-
Update from the front.
6 hrs and every things goes well. I think we can say that we found a situation better than before.
It seems strange but i fill that the change more impacting was to put the server in an isolated environment with a stable and static situation in the bubble where the server is in ramp. Maybe this avoid to get the exception and go in CTD.
Let me know what do y think. If we can consider stable i will work on a dedicated post to share parameter and configuration of this…journey.
thanks again a lot to all supporting me in these days of fight to BMS Team and the creator of magic DLL that allow this.
Gundam
(below the view from Stacer performance tool) -
Update.
This time i tried with Theater Balkan (1st campain) with 2 client connected. Same configuration and server in RAMP in an isolated airport. In this scenario we add a package for a DEAD mission with SDB.
We flew till the FLOT without problem. After 20 minuts of flights and close to the actions, suddently we got the blue signal from the client and saw that the server was gone in CTD.
Let me know for any suggestion. i don’t know if it is related to Linux but maybe not.
Next try, i will make the same mission with Windows server hosting (my PC ).
Below the log details under user\log. (the error seem the same type).Thanks,
Gundam
================================== CRASHLOG =====================================
Falcon BMS.exe caused an EXCEPTION_ACCESS_VIOLATION in:
000000000491AC03 Falcon BMS.exe
Exception handler called in UnhandledExceptionHandler.
Read from location 0000000000000000 caused an access violation.
Bytes at CS:RIP: 49 8B 0C C2 48 85 C9 74 0A F3 0F 10 81 E8 01 00Registers:
RAX=0x0000000000000000 RBX=0x00000000374a0a50 RCX=0x0000000000000000 RDX=0x00000000ffffffff
RSI=0x0000000000000000 RDI=0x000000000eec7958 RBP=0x0000000039dafbd0 RSP=0x0000000039dafaa0
RIP=0x000000000491ac03 FLG=0x0000000000010246
R8=0x0000000000000064 R9=0x0000000000000000 R10=0x0000000000000000 R11=0x0000000039dafa30
R12=0x0000000004fe5c00 R13=0x0000000004fe5ab8 R14=0x000000003a280050 R15=0x0000000000363050
CS=0x0033 DS=0x002B SS=0x002B ES=0x0000 FS=0x0000 GS=0x0000Call Stack:
0033:000000000491AC03 Falcon BMS.exe
0033:00000000044FD99C Falcon BMS.exe
0033:00000000044FE84A Falcon BMS.exe
0033:0000000004A6DB05 Falcon BMS.exeTop of Stack:
0x0000000039DAFAA0: 00000000374A0A50 0000000039DAFBD0 0000000000000000 0000000000000000 P.J7…9…
0x0000000039DAFAC0: 00000000374A0A50 00000000044FD99C 000000003A2290B0 0000000000000000 P.J7…O…":…
0x0000000039DAFAE0: 0000000000000000 000000017002A382 0000000021CA4050 0000000004BE2E58 …p…P@.!..X…
0x0000000039DAFB00: 0000000004FE5C00 000000003984F5F0 000000007593E110 000000003739FD10 …9…u…97…
0x0000000039DAFB20: 00000000000103C9 0000000004BEA5DF 000000001B69CB30 0000000004BD53A7 …0.i…S…
0x0000000039DAFB40: 0000000000000000 0000000039DAFB58 0000000000000002 000000007593E110 …X…9…u…
0x0000000039DAFB60: 0000000000000020 0000000039962190 0000000000000000 0000000004FE7AF8 …!.9…z…
0x0000000039DAFB80: 0000000004FE5AB8 0000000000000053 0000000000000000 000000017005F464 .Z…S…d…p…
0x0000000039DAFBA0: 0000000000000000 00000000399CBF90 000000000EEC7958 0000000041A80000 …9…Xy…A…
0x0000000039DAFBC0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 …
0x0000000039DAFBE0: 0000000000000000 0000000000000053 0000000039DAFCB9 00000000044FE84A …S…9…J.O…
0x0000000039DAFC00: 000000000EEC7958 0000000000000000 000000007593E110 0000000004FE7AF8 Xy…u…z…
0x0000000039DAFC20: 0000000004FE7AF8 000000001B69E3F0 0000000000000000 000000001DCDBF90 .z…i…
0x0000000039DAFC40: 000000000EEC7958 0000000000000000 0000000041A00000 0000000000000000 Xy…A…
0x0000000039DAFC60: 4059000000000000 0000000000000000 0000000041200000 0000000000000000 …Y@… A…
0x0000000039DAFC80: 408F400000000000 0000000000000000 0000000042C80000 0000000000000000 …@.@…B…
0x0000000039DAFCA0: 0000000042480000 0000000000000000 0000000000000000 0000000000000000 …HB…
0x0000000039DAFCC0: 0000000000000000 0000000000000000 0000000042480000 000000000062D9D1 …HB…b…
0x0000000039DAFCE0: 000000000062D9D1 0000000000000004 0000000000000001 0000000000000000 …b…
0x0000000039DAFD00: 0000000021CA4050 0000000039962190 0000000039DAFE20 0000000004A6DB05 P@.!..!.9… …9…
0x0000000039DAFD20: 0000000000000000 0000000000000000 0000000000000001 000000007593E110 …u…
0x0000000039DAFD40: 0000000000000000 000000000000000A 0000000000000080 0000000000000000 …
0x0000000039DAFD60: 0000000000000000 0000000000140000 0000000004FE7AF8 00000000600B8C30 …z…0…`…
0x0000000039DAFD80: 0000000000000000 000000005AB46B50 0000000039F30050 0000000000140000 …Pk.Z…P…9…
0x0000000039DAFDA0: 0000000000000000 0000000039DAFDF8 0000000000000000 0000030000000400 …9…
0x0000000039DAFDC0: 0000000000000000 0000000000000000 0000000000000000 0000000039DAFE28 …(…9…
0x0000000039DAFDE0: 0000000000000000 0000000039F50050 0000000F17342044 000000051942BB3D …P…9…D 4…=.B…
0x0000000039DAFE00: 0000000F172DA77E 000000007B0741A3 0000000000000000 0000000000000000 ~.-…A.{…
0x0000000039DAFE20: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 …
0x0000000039DAFE40: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 …
0x0000000039DAFE60: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 …
0x0000000039DAFE80: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 …
0x0000000039DAFEA0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 …
0x0000000039DAFEC0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 …
0x0000000039DAFEE0: 0000000004A6D750 0000000000000000 0000000000000000 0000000004517ECD P…~Q…
0x0000000039DAFF00: 0000000000000000 0000000000000000 0000000000000000 0000000004A6D750 …P…
0x0000000039DAFF20: 0000000000000000 0000000039DAEC10 0000000039DAEC10 0000000000000005 …9…9…
0x0000000039DAFF40: 0000000004A6D440 0000000004EB5889 0000000000000000 000000003984F650 @…X…P…9…
0x0000000039DAFF60: 0000000000000000 0000000000000000 0000000000000000 000000007B62C629 …).b{…
0x0000000039DAFF80: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 …
0x0000000039DAFFA0: 0000000000000000 000000017005FB57 0000000000000000 0000000000000000 …W…p…
0x0000000039DAFFC0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 …
0x0000000039DAFFE0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 …
While Drawing LOD 259 (this may only be a coincidence if the call stack is not the LOD drawing code)================================================================================
TLS frame allocator:
15792 allocations with 31333776 bytes [0]
0 allocations with 0 bytes [1]
Renderer command count: 2092
Object at RCX(0000000000000000)================================================================================
Compiler Options:
_MSC_VER=1934 WINVER=0x601 _WIN32_WINNT=0x601 _WIN32_WINDOWS=0x601
NTDDI_VERSION=0x6010000 _WIN32_IE=0x800 ANSI _M_AMD64 AMD64 _WIN64 Release*System Information:
‘C:\Falcon_BMS\Bin\x64\Falcon BMS.exe’, run by root.
Error occurred at 22:41:06 on 2023-01-08.
Version: Falcon BMS 4.37.0 (x64) 322
Game is Campaign type Networked
Theater terrain path: ‘C:\Falcon_BMS\Data\Add-On Balkans\Terrdata\Balkans’
Operating System: Windows 10 (10.0.19043) Platform 2 .
Computer Name: VMI1145874 Domain: VMI1145874.
6 logical processor(s), type 8664.
CPU: AMD EPYC 7282 16-Core Processor . AuthenticAMD. Stepping: 0 Model: 1 Family: F.
32% memory in use:
16002 MB physical memory
10871 MB physical memory free
16002 MB paging file
10871 MB paging file free
134217728 MB user address space
134217728 MB user address space freeModule List:
C:\windows\system32\D3DCOMPILER_47.dll, loaded at 0x0000000000650000 - 4410168 bytes - TimeDateStamp 0x a0795b26 - File date is 23:28:52 on 2021-09-06
C:\Falcon_BMS\Bin\x64\d3d11.dll, loaded at 0x0000000000a90000 - 316416 bytes - TimeDateStamp 0x 5ffaa72f - File date is 08:05:20 on 2021-01-10
C:\windows\system32\d3dx11_43.dll, loaded at 0x0000000000af0000 - 276832 bytes - TimeDateStamp 0x 4bf70c01 - File date is 08:41:02 on 2010-05-26
C:\Falcon_BMS\Bin\x64\Falcon BMS.exe, loaded at 0x0000000004470000 - 180050944 bytes - TimeDateStamp 0x 63ac0fc4 - File date is 10:43:34 on 2022-12-28
C:\windows\system32\opengl32.dll, loaded at 0x000000007a850000 - 2400 bytes - TimeDateStamp 0x e6fdfb9 - File date is 13:05:26 on 2023-01-07
C:\windows\system32\kernelbase.dll, loaded at 0x000000007b000000 - 894742 bytes - TimeDateStamp 0x 0 - File date is 13:05:24 on 2023-01-07
C:\windows\system32\kernel32.dll, loaded at 0x000000007b600000 - 2220248 bytes - TimeDateStamp 0x 0 - File date is 13:05:24 on 2023-01-07Environment Variables:
0: <SHELL=/bin/bash>
1: <GTK_IM_MODULE=ibus>
2: <LANGUAGE=en_US:>
3: <SSH_AUTH_SOCK=/tmp/ssh-XXXXXXs8s92G/agent.1261>
4: <XMODIFIERS=@im=ibus>
5: <SSH_AGENT_PID=1345>
6: <LOGNAME=root>
7: <XDG_SESSION_TYPE=x11>
8: <PULSE_SCRIPT=/etc/xrdp/pulse/default.pa>
9: <LANG=en_US.UTF-8>
10: <XRDP_SOCKET_PATH=/run/xrdp/sockdir>
11: <XRDP_PULSE_SOURCE_SOCKET=xrdp_chansrv_audio_in_socket_10>
12: <CLUTTER_IM_MODULE=ibus>
13: <XDG_SESSION_CLASS=user>
14: <USER=root>
15: <XRDP_SESSION=1>
16: <XRDP_PULSE_SINK_SOCKET=xrdp_chansrv_audio_out_socket_10>
17: <SHLVL=1>
18: <XDG_SESSION_ID=c7>
19: <XDG_RUNTIME_DIR=/run/user/0>
20: <XDG_DATA_DIRS=/usr/share/gnome:/root/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share:/var/lib/snapd/desktop>
21: <DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/0/bus>
22: <UID=0>
23: <_=/usr/bin/xfce4-session>
24: <SESSION_MANAGER=local/vmi1145874.contaboserver.net:@/tmp/.ICE-unix/1363,unix/vmi1145874.contaboserver.net:/tmp/.ICE-unix/1363>
25: <PANEL_GDK_CORE_DEVICE_EVENTS=0>
26: <DISPLAY=:10.0>
27: <DISABLE_LAYER_AMD_SWITCHABLE_GRAPHICS_1=1>
28: <__GL_SHADER_DISK_CACHE=1>
29: <__GL_SHADER_DISK_CACHE_PATH=/root/WINE_GAMES>
30: <__NV_PRIME_RENDER_OFFLOAD=1>
31: <__GLX_VENDOR_LIBRARY_NAME=nvidia>
32: <__VK_LAYER_NV_optimus=NVIDIA_only>
33: <LD_LIBRARY_PATH=/root/.local/share/lutris/runners/wine/lutris-7.2-2-x86_64/lib:/root/.local/share/lutris/runners/wine/lutris-7.2-2-x86_64/lib64:/lib/x86_64-linux-gnu:/lib/i386-linux-gnu:/lib:/lib64:/lib32:/lib64:/usr/lib:/usr/lib64:/usr/lib32:/usr/lib64:/usr/lib/i386-linux-gnu:/usr/lib/x86_64-linux-gnu:/root/.local/share/lutris/runtime/Ubuntu-18.04-i686:/root/.local/share/lutris/runtime/steam/i386/lib/i386-linux-gnu:/root/.local/share/lutris/runtime/steam/i386/lib:/root/.local/share/lutris/runtime/steam/i386/usr/lib/i386-linux-gnu:/root/.local/share/lutris/runtime/steam/i386/usr/lib:/root/.local/share/lutris/runtime/Ubuntu-18.04-x86_64:/root/.local/share/lutris/runtime/steam/amd64/lib/x86_64-linux-gnu:/root/.local/share/lutris/runtime/steam/amd64/lib:/root/.local/share/lutris/runtime/steam/amd64/usr/lib/x86_64-linux-gnu:/root/.local/share/lutris/runtime/steam/amd64/usr/lib>
34: <WINEDEBUG=-all>
35: <DXVK_LOG_LEVEL=none>
36: <WINEARCH=win64>
37: <WINE=/root/.local/share/lutris/runners/wine/lutris-7.2-2-x86_64/bin/wine>
38: <WINE_MONO_CACHE_DIR=/root/.local/share/lutris/runners/wine/lutris-7.2-2-x86_64/mono>
39: <WINE_GECKO_CACHE_DIR=/root/.local/share/lutris/runners/wine/lutris-7.2-2-x86_64/gecko>
40: <GST_PLUGIN_SYSTEM_PATH_1_0=/root/.local/share/lutris/runners/wine/lutris-7.2-2-x86_64/lib64/gstreamer-1.0/:/root/.local/share/lutris/runners/wine/lutris-7.2-2-x86_64/lib/gstreamer-1.0/>
41: <WINEPREFIX=/root/WINE_GAMES>
42: <WINEESYNC=0>
43: <WINEFSYNC=0>
44: <game_name=Falcon_BMS_437>
45: <LUTRIS_GAME_UUID=9121b4e7-5452-4271-8966-41b2e5ac52d7>
46: <ComSpec=C:\windows\system32\cmd.exe>
47: <NUMBER_OF_PROCESSORS=6>
48: <OS=Windows_NT>
49: <PATH=C:\windows\system32;C:\windows;C:\windows\system32\wbem;C:\windows\system32\WindowsPowershell\v1.0>
50: <PATHEXT=.com;.exe;.bat;.cmd;.vbs;.vbe;.js;.jse;.wsf;.wsh>
51: <PROCESSOR_ARCHITECTURE=AMD64>
52: <PROCESSOR_IDENTIFIER=AMD64 Family 23 Model 49 Stepping 0, AuthenticAMD>
53: <PROCESSOR_LEVEL=23>
54: <PROCESSOR_REVISION=3100>
55: <windir=C:\windows>
56: <winsysdir=C:\windows\system32>
57: <TEMP=C:\users\root\Temp>
58: <TMP=C:\users\root\Temp>
59: <APPDATA=C:\users\root\AppData\Roaming>
60: <CLIENTNAME=Console>
61: <HOMEDRIVE=C:>
62: <HOMEPATH=\users\root>
63: <LOCALAPPDATA=C:\users\root\AppData\Local>
64: <LOGONSERVER=\VMI1145874>
65: <SESSIONNAME=Console>
66: <USERDOMAIN=VMI1145874>
67: <USERNAME=root>
68: <USERPROFILE=C:\users\root>
69: <ALLUSERSPROFILE=C:\ProgramData>
70: <ProgramData=C:\ProgramData>
71: <PUBLIC=C:\users\Public>
72: <ProgramFiles(x86)=C:\Program Files (x86)>
73: <ProgramW6432=C:\Program Files>
74: <CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files>
75: <CommonProgramW6432=C:\Program Files\Common Files>
76: <COMPUTERNAME=VMI1145874>
77: <ProgramFiles=C:\Program Files>
78: <CommonProgramFiles=C:\Program Files\Common Files>
79: <WINEDATADIR=??\Z:\root.local\share\lutris\runners\wine\lutris-7.2-2-x86_64\share\wine>
80: <WINEHOMEDIR=??\Z:\root>
81: <WINECONFIGDIR=??\Z:\root\WINE_GAMES>
82: <WINEDLLDIR0=??\Z:\root.local\share\lutris\runners\wine\lutris-7.2-2-x86_64\lib64\wine>
83: <WINEUSERNAME=root>
84: <WINEDLLOVERRIDES=d3d11.dll=n,b;d3d12,d3dcompiler_33,d3dcompiler_34,d3dcompiler_35,d3dcompiler_36,d3dcompiler_37,d3dcompiler_38,d3dcompiler_39,d3dcompiler_40,d3dcompiler_41,d3dcompiler_42,d3dcompiler_43,d3dcompiler_46,d3dcompiler_47,d3dx10,d3dx10_33,d3dx10_34,d3dx10_35,d3dx10_36,d3dx10_37,d3dx10_38,d3dx10_39,d3dx10_40,d3dx10_41,d3dx10_42,d3dx10_43,d3dx11_42,d3dx11_43,d3dx9_24,d3dx9_25,d3dx9_26,d3dx9_27,d3dx9_28,d3dx9_29,d3dx9_30,d3dx9_31,d3dx9_32,d3dx9_33,d3dx9_34,d3dx9_35,d3dx9_36,d3dx9_37,d3dx9_38,d3dx9_39,d3dx9_40,d3dx9_41,d3dx9_42,d3dx9_43=n;winemenubuilder=>
85: <WINELOCALE=en-US>
86: <SystemDrive=C:>
87: <SystemRoot=C:\windows>================================================================================
-
@Seifer Hi Seifer,
I am trying to replicate the CTD, and from a try did some minute ago i got the CTD soon after fire missile (small range).
I will proceed in the test to replicate. In which scenario the nullptr you are talking is present? Maybe i can focus my test to be sure this is the reason of CTD i observe.
Many thanks,
Gundam
-
@gundam please use the code icon to include your logs…
This is impossible to read otherwise…
-
-
Update from the font.
I found the problem. In the past i renamed the file “ParticleSys” under Data\Terrdata directory following an hits founded on a Wine website forum regardng an old installation of BMS.
This was the cause of the null pointer execption.
Now is one day Server still running in ramp. No issue at the moment. Balcan Campaign is running too.
In these days i will go on with “stress test” and multiplayer session with other pilot to test server stability and reliability.
One point is that for the moment in the Lutris configuration i allow to use all the CPU less 1. The idea is to keep one Core out of BMS utilization (VM has 6 core) to increase stability.
Is this a good approach or is not needed and better to give all the power to BMS exe instance? For the moment i see all the five CPU working well and even well balanced (around 50%).
Many thanks for any suggestion.
Gundam
-
@gundam we have a flag exactly for that:
set g_nAdditionalWorkers -1
This will make BMS use all cores but one. If you have hyperthreading, set it to -2.