Using latest BAM/FP, Access Denied crashes on opening control configuration and launching tables:
Appears to be the same error on both occasions and the weird thing is that I initially had BAM/FP working on this particular PC (as well as a few others using the same source). I was not using the latest AIO on those occasions. The only issue I had was stretched tables.
So I copied the default.cfg, reality.dat, etc. from the AIO package on the other (still working) PCs, which fixed the stretching and all was well with them.
Then I tried this on the latest PC and it went from stretched tables to this error:
------------------- BAM crash-report -------------
BAM path: D:\Emulators\Future Pinball 2\BAM
XML:
table:
1: TAG: FILE=C:\work\github\BAM\BAM\BAM.cpp, LINE=1457, FUNC= BAM::FirstFrame
2: TAG: FILE=C:\work\github\BAM\BAM\dllmain.cpp, LINE=4382, FUNC= DllMain
SBC: -1
NFC: 0
Loaded modules:
BAM-Tracker.exe, 1.0.0.1 : 005E0000 - 00615000
ntdll.dll, 6.2.19041.4355 : 77990000 - 77B34000
KERNEL32.DLL, 6.2.19041.4355 : 77330000 - 77420000
KERNELBASE.dll, 6.2.19041.4412 : 75930000 - 75B6A000
apphelp.dll, 6.2.19041.3636 : 740A0000 - 7413F000
USER32.dll, 6.2.19041.4412 : 769A0000 - 76B3D000
win32u.dll, 6.2.19041.4412 : 75E20000 - 75E38000
GDI32.dll, 6.2.19041.4355 : 777A0000 - 777C3000
gdi32full.dll, 6.2.19041.4412 : 765A0000 - 76686000
msvcp_win.dll, 6.2.19041.3636 : 776C0000 - 7773B000
ucrtbase.dll, 6.2.19041.3636 : 777D0000 - 778F0000
ADVAPI32.dll, 6.2.19041.4355 : 77210000 - 7728D000
msvcrt.dll, 7.0.19041.3636 : 768E0000 - 7699F000
sechost.dll, 6.2.19041.4355 : 766B0000 - 76728000
RPCRT4.dll, 6.2.19041.4412 : 767C0000 - 7687C000
bcrypt.dll, 6.2.19041.3636 : 776A0000 - 776B9000
SHELL32.dll, 6.2.19041.4412 : 76B40000 - 77117000
ole32.dll, 6.2.19041.4355 : 77120000 - 77203000
combase.dll, 6.2.19041.4412 : 77420000 - 776A0000
OLEAUT32.dll, 6.2.19041.3636 : 77290000 - 77326000
COMCTL32.dll, 6.10.19041.4355 : 74250000 - 74460000
BAM.dll, 1.5.373.0 : 6D2C0000 - 6DCAC000
COMDLG32.dll, 6.2.19041.4355 : 75880000 - 7592F000
shcore.dll, 6.2.19041.4355 : 76730000 - 767B7000
SHLWAPI.dll, 6.2.19041.4355 : 76550000 - 76595000
PSAPI.DLL, 6.2.19041.3636 : 75E10000 - 75E16000
SETUPAPI.dll, 6.2.19041.4355 : 76110000 - 76548000
cfgmgr32.dll, 6.2.19041.3996 : 778F0000 - 7792B000
VERSION.dll, 6.2.19041.3636 : 755B0000 - 755B8000
GLU32.dll, 6.2.19041.3636 : 756C0000 - 756FF000
OPENGL32.dll, 6.2.19041.4355 : 75700000 - 75803000
DINPUT8.dll, 6.2.19041.1 : 75680000 - 756B7000
HID.DLL, 6.2.19041.3636 : 70180000 - 7018A000
WINMM.dll, 6.2.19041.3636 : 752F0000 - 75318000
AVIFIL32.dll, 6.2.19041.1 : 75660000 - 7567B000
AVICAP32.dll, 6.2.19041.1 : 75640000 - 75654000
MSVFW32.dll, 6.2.19041.1 : 75610000 - 75632000
MSACM32.dll, 6.2.19041.1 : 701C0000 - 701D9000
winmmbase.dll, 6.2.19041.1 : 701A0000 - 701BD000
IMM32.DLL, 6.2.19041.4355 : 75D80000 - 75DA6000
renderingengine.dll, : 6CD90000 - 6D2B8000
FreeTrack.dll, : 755F0000 - 7560B000
icom.dll, : 755C0000 - 755D2000
VCRUNTIME140.dll, 14.29.29917.0 : 75570000 - 75584000
MSVCP140.dll, 14.29.29917.0 : 75500000 - 7556D000
PinballHighScore.dll, : 6CCA0000 - 6CD86000
MSVCR120.dll, 12.0.40664.0 : 6CBB0000 - 6CC9E000
MSVCP120.dll, 12.0.40664.0 : 75480000 - 754F1000
PuPPlugin.dll, : 74B80000 - 74BBE000
d3d11.dll, 6.2.19041.4355 : 6E730000 - 6E910000
dxgi.dll, 6.2.19041.4355 : 6E660000 - 6E722000
TrackIR.dll, : 74B70000 - 74B77000
MSVCR100.dll, 10.0.40219.325 : 6F180000 - 6F23F000
inputhost.dll, 6.2.19041.4355 : 6F950000 - 6FA3D000
CoreUIComponents.dll, 6.2.19041.3636 : 6F5F0000 - 6F86F000
CoreMessaging.dll, 6.2.19041.4355 : 6F550000 - 6F5EB000
wintypes.dll, 6.2.19041.4355 : 6F870000 - 6F94D000
PROPSYS.dll, 7.0.19041.4355 : 74A50000 - 74B12000
ntmarta.dll, 6.2.19041.3636 : 74BD0000 - 74BF9000
WS2_32.dll, 6.2.19041.3636 : 75810000 - 75873000
bcryptPrimitives.dll, 6.2.19041.3636 : 77740000 - 7779F000
kernel.appcore.dll, 6.2.19041.3758 : 74BC0000 - 74BCF000
uxtheme.dll, 6.2.19041.4355 : 75320000 - 75394000
MSCTF.dll, 6.2.19041.4355 : 75B80000 - 75C53000
DEVOBJ.dll, 6.2.19041.4355 : 6FA40000 - 6FA69000
WINTRUST.dll, 6.2.19041.4355 : 77930000 - 7797C000
CRYPT32.dll, 6.2.19041.4412 : 76010000 - 76110000
MSASN1.dll, 6.2.19041.3636 : 6FAA0000 - 6FAAE000
textinputframework.dll, 6.2.19041.4355 : 6EE20000 - 6EED9000
windows.storage.dll, 6.2.19041.4412 : 74C30000 - 75243000
Wldp.dll, 6.2.19041.4355 : 74C00000 - 74C25000
TextShaping.dll, : 6FBD0000 - 6FC65000
--------------------------------------------------
Error code C0000005: ACCESS VIOLATION
Address: 00000000 -> UNKNOWN:00000000
Flags: 00000000
Fault Occured At $ADDRESS:00000000 ->UNKNOWN:00000000
with 01 00 00 00 41 8A 32 6D 01 00 00 00 1E 5E 5E 00 01 00 00 00
Address: 6D39D347 -> BAM.dll:000DD347
*** 0 called from $ADDRESS:6D39D347
with EC 36 B2 00 01 00 00 00 EA A1 5E 00 01 00 00 00 08 00 00 00
Address: 005E6E02 -> BAM-Tracker.exe:00006E02
*** 1 called from $ADDRESS:005E6E02
with 00 00 5E 00 00 00 00 00 EC 36 B2 00 01 00 00 00 1E 8B 0B 66
Address: 005EA2F1 -> BAM-Tracker.exe:0000A2F1
*** 2 called from $ADDRESS:005EA2F1
with 00 40 8F 00 B0 FC 34 77
Address: 7734FCC9 -> KERNEL32.DLL:0001FCC9
*** 3 called from $ADDRESS:7734FCC9
with 00 40 8F 00 CF B3 80 7A 00 00 00 00 00 00 00 00 00 40 8F 00
Address: 779F7CBE -> ntdll.dll:00067CBE
*** 4 called from $ADDRESS:779F7CBE
with FF FF FF FF 34 8D A1 77
Address: 779F7C8E -> ntdll.dll:00067C8E
*** 5 called from $ADDRESS:779F7C8E
with
Address: 00000000 -> UNKNOWN:00000000
*** 6 called from $ADDRESS:00000000
This is almost certainly my fault, as I didn't realize that BAM and FP should not be set to run as administrator (apparently running FPLoader once as administrator does the trick). So I flailed around a bit, with DOFLinx crashing with a similar error, due to the elevated privileges of FP. After I unchecked those boxes and had the BAM CFG files from the AIO package where they belonged, I figured all would be well, but now all is very much not well. 
Any clues would be most appreciated. I've tried seemingly everything at this point, including disabling real-time protection (already had an exclusion for the drive it is on, but figured why not?)
Also tried creating fresh folders, using the latest AIO, following all of the instructions to the letter (pretty much know them by heart at this point). I even scoured the registry for everything I could find FP-related and deleting it and then starting over.
It's seemingly impossible to launch an FP table on this thing now. I know that can't be the case, but am seriously considering replacing the entire drive (and the Windows drive) at this point.
Using Windows 10 Pro with a nice NVidia graphics card and a very capable CPU. Of course, I can run FP all day on a crappy mini PC with no video card at all without issue.
Please let me know if you need more details. I'm keen to know how to fix this issue, not just for the sake of this one PC, which is the outlier in my experience, but in case something like this comes up again.
Thanks in advance!
Edited by djm468, 04 June 2024 - 05:28 AM.