Page 1 sur 1

Crash avec TIR 5

Publié : ven. avr. 22, 2016 10:32 pm
par Ozone
Bonjour,

Je rencontre depuis quelques temps des crash sur BMS qui semblent liés à l'utilisation du TIR (j'utilise la dernière version du logiciel TIR 5.4).

Cela a débuté sur la 4.33 où le crash se produisait en cours de vol, et j'avais remarqué certaines fois que mon TIR ne fonctionnait plus et j'étais obligé de relancer le programme. J'ai cru dans un 1er temps que ma campagne était corrompue.

J'ai copié les fichiers de ma campagne sur la 4.33 U1, et cela a fonctionné un temps avec le même type de crash que sur la 4.33. Mais ce soir c'est de pire en pire, BMS crash dès que je touche une fonction du TIR (pause, centrage, précision). Cela fait la même chose sur les TE, donc je ne pense pas que les fichiers campagne soient en cause.
Je me suis dit aussi que cela pouvait provenir du fait que mon profil TIR n'avait pas les mêmes fonctions affectées au touches F7, F8, F9, F12 que celles prédéfinies dans le .key de BMS. Pourtant je les ai alignées et cela n'a rien changé.

Voici mon dernier crash log, si vous pouvez m'aider à comprendre ce qu'il se passe :

================================== CRASHLOG =====================================
Falcon BMS.exe caused an EXCEPTION_ACCESS_VIOLATION in:
00000000049A6D5C Falcon BMS.exe, UnitClass::GetRCSFactor()+28 byte(s), d:\wip\bms\svn\source\rel-4.33\campaign\camplib\unit.cpp, line 3726+28 byte(s)
Exception handler called in UnhandledExceptionHandler.
Read from location 000000000000001c caused an access violation.
Bytes at CS:RIP: F3 0F 10 41 1C C3 CC CC CC CC CC CC CC CC CC CC

Registers:
RAX=0x0000000011e1c140 RBX=0x000000004744bce0 RCX=0x0000000000000000 RDX=0x000000006de1fb70
RSI=0x000000004d01d520 RDI=0x0000000000000003 RBP=0x000000002465f3a0 RSP=0x000000002465f1e8
RIP=0x00000000049a6d5c FLG=0x0000000000010206
R8=0x0000000000000100 R9=0x000000000e806150 R10=0x0000000000000001 R11=0x000000002465f428
R12=0x0000000000000000 R13=0x0000000000000000 R14=0x000000006de1fb70 R15=0x000000006de1fb70
CS=0x0033 DS=0x002B SS=0x002B ES=0x002B FS=0x0053 GS=0x002B

Call Stack:
0033:00000000049A6D5C Falcon BMS.exe, UnitClass::GetRCSFactor()+28 byte(s), d:\wip\bms\svn\source\rel-4.33\campaign\camplib\unit.cpp, line 3726+28 byte(s), Parameters(0x0000000000000002 0x0000000000000020 0x000000002465F260 0x0000000004842F22)
0033:00000000047B849B Falcon BMS.exe, RadarClass::ReturnStrength()+203 byte(s), d:\wip\bms\svn\source\rel-4.33\sim\radar\radar.cpp, line 258, Parameters(0x0000000000000006 0x000000000E806150 0x0000000000000003 0x0000000000000000)
0033:00000000047C2D66 Falcon BMS.exe, RadarDigiClass::Exec()+806 byte(s), d:\wip\bms\svn\source\rel-4.33\sim\radar\radardigi.cpp, line 155+15 byte(s), Parameters(0x000000000E806150 0x000000000E806150 0x0000000000000000 0x000000004CB2EF90)
0033:00000000045B7D67 Falcon BMS.exe, AircraftClass::RunSensors()+247 byte(s), d:\wip\bms\svn\source\rel-4.33\sim\aircraft\aircraft.cpp, line 3422, Parameters(0x0000000047A79A90 0x000000000E806308 0x0000000000000000 0x000000004247FFFF)
0033:0000000004679586 Falcon BMS.exe, DigitalBrain::DoTargeting()+902 byte(s), d:\wip\bms\svn\source\rel-4.33\sim\digi\targeting.cpp, line 213, Parameters(0x0000000000000000 0x0000000000000000 0x0000000000000001 0x0000000000000004)
0033:0000000004651DC5 Falcon BMS.exe, DigitalBrain::FrameExec()+885 byte(s), d:\wip\bms\svn\source\rel-4.33\sim\digi\digimain.cpp, line 786, Parameters(0x000000000E806150 0x0000000000000001 0x000000000E806150 0x00000000C3F68174)
0033:00000000045962D7 Falcon BMS.exe, AircraftClass::GatherInputs()+407 byte(s), d:\wip\bms\svn\source\rel-4.33\sim\aircraft\aircraftinputs.cpp, line 189, Parameters(0x000000004742ED70 0x000000002465F760 0x000000000E806150 0x0000000004470000)
0033:00000000045B68B2 Falcon BMS.exe, AircraftClass::DoLogic()+9346 byte(s), d:\wip\bms\svn\source\rel-4.33\sim\aircraft\aircraft.cpp, line 2743, Parameters(0x0000000000000003 0x0000000021DAD580 0x000000000E806150 0x0000000049B2B0E0)
0033:0000000004808E4D Falcon BMS.exe, SimulationDriver::Cycle()+2381 byte(s), d:\wip\bms\svn\source\rel-4.33\sim\simdrive\simdrive.cpp, line 743+12 byte(s), Parameters(0x0000000000030D40 0x0000000004F585C0 0x0000000000000003 0x00000000031A9D20)
0033:0000000004844950 Falcon BMS.exe, SimulationLoopControl::Loop()+1408 byte(s), d:\wip\bms\svn\source\rel-4.33\sim\simloop\simloop.cpp, line 513, Parameters(0x0000000000000000 0x0000000000000000 0x000000001BB6A4E0 0x00000000048443D0)
0033:00000000044C809D Falcon BMS.exe, ThreadUnhandledExceptionWrapper()+109 byte(s), d:\wip\bms\svn\source\rel-4.33\falclib\ehandler.cpp, line 1567+5 byte(s), Parameters(0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000)
0033:0000000004AC0AD7 Falcon BMS.exe, _callthreadstartex()+23 byte(s), f:\dd\vctools\crt\crtw32\startup\threadex.c, line 376+13 byte(s), Parameters(0x0000000000000000 0x000000001BB6A4E0 0x0000000000000000 0x0000000000000000)
0033:0000000004AC0C7E Falcon BMS.exe, _threadstartex()+258 byte(s), f:\dd\vctools\crt\crtw32\startup\threadex.c, line 354+5 byte(s), Parameters(0x0000000004AC0B7C 0x000000001BB6A4E0 0x0000000000000000 0x0000000000000000)
0033:0000000059C88102 KERNEL32.DLL, BaseThreadInitThunk()+34 byte(s), Parameters(0x0000000059C880E0 0x0000000000000000 0x0000000000000000 0x0000000000000000)
0033:000000005C65C5B4 ntdll.dll, RtlUserThreadStart()+52 byte(s), Parameters(0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000)

Top of Stack:
0x000000002465F1E8: 00000000047B849B 0000000000000002 0000000000000020 000000002465F260 ..{............. .......`.e$....
0x000000002465F208: 0000000004842F22 0000000040C00000 0000000000000000 000000003F000000 "/.........@...............?....
0x000000002465F228: 0000000000000000 000000003F800000 0000000000000000 00000000BF800000 ...........?....................
0x000000002465F248: 0000000000000000 0000000040400000 0000000000000000 000000000E806150 ..........@@............Pa......
0x000000002465F268: 0000000000000000 00000000BF800000 0000000000000000 000000006DE1FB70 ........................p..m....
0x000000002465F288: 0000000000000001 000000004D01D520 00000000047C2D66 0000000000000006 ........ ..M....f-|.............
0x000000002465F2A8: 000000000E806150 0000000000000003 0000000000000000 0000000040000000 Pa.........................@....
0x000000002465F2C8: 0000000000000000 FFFFFFFFFFFFFFFE 0000000000000000 2020202020202020 ........................
0x000000002465F2E8: 0020202020202020 0000000000000000 0000000000000000 0000000000000000 .........................
0x000000002465F308: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ................................
0x000000002465F328: 0000000000000000 0000000000000000 0000000000000000 000000003F800000 ...........................?....
0x000000002465F348: 0000000000000000 000000003DCCCCCD 0000000000000000 0000000080000000 ...........=....................
0x000000002465F368: 0000000000000000 000000003B11A2B4 0000000000000000 000000003E4CCCCD ...........;..............L>....
0x000000002465F388: 0000000000000000 000000003F800000 0000000000000000 0000000000000000 ...........?....................
0x000000002465F3A8: 0000000000000000 00000000BF800000 0000000000000000 0000000000000001 ................................
0x000000002465F3C8: 0000000000000008 0000000000000000 00000000FFFFFFFF 000000004D01D520 ........................ ..M....
0x000000002465F3E8: 0000000000000001 0000000000000000 00000000045B7D67 000000000E806150 ................g}[.....Pa......
0x000000002465F408: 000000000E806150 0000000000000000 000000004CB2EF90 0000000000000004 Pa.................L............
0x000000002465F428: 0000000004679586 0000000047A79A90 000000000E806308 0000000000000000 ..g........G.....c..............
0x000000002465F448: 000000004247FFFF FFFFFFFFFFFFFFFE 000000000E806308 0000000047A79A90 ..GB.............c.........G....
0x000000002465F468: 0000000004651DC5 0000000000000000 0000000000000000 0000000000000001 ..e.............................
0x000000002465F488: 0000000000000004 000000003F800000 0000000000000000 000000003F733333 ...........?............33s?....
0x000000002465F4A8: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ................................
0x000000002465F4C8: 00000000045962D7 000000000E806150 0000000000000001 000000000E806150 .bY.....Pa..............Pa......
0x000000002465F4E8: 00000000C3F68174 0000000043F38BD2 000000000497DED7 FFFFFFFFFFFFFFFE t..........C....................
0x000000002465F508: 00000000045C8400 00000000C6A2907A 0000000000000000 0000000000000000 ..\.....z.......................
0x000000002465F528: 00000000045A0EFE 000000000E806150 000000000497DED7 0000000000000114 ..Z.....Pa......................
0x000000002465F548: 0000000000000000 0000000049AF5B68 3FA9B8C8C6A27ADF 0000000000000000 ........h[.I.....z.....?........
0x000000002465F568: 00000000045A06CC 0000000004470000 000000000E806150 0000000000000000 ..Z.......G.....Pa..............
0x000000002465F588: 0000000000000000 FFFFFFFFFFFFFFFE 0000000004B86B18 0000000023853D50 .................k......P=.#....
0x000000002465F5A8: 0000000000000000 00000000131DD070 0000000004C560D8 000000003F800000 ........p........`.........?....
0x000000002465F5C8: 0000000000000000 000000003DCCCCCD 0000000000000000 0000000080000000 ...........=....................
0x000000002465F5E8: 0000000000000000 000000003B11A2B4 0000000000000000 000000003F000000 ...........;...............?....
0x000000002465F608: 0000000000000000 000000003F000000 0000000000000000 000000007FFFFFFF ...........?....................
0x000000002465F628: 0000000000000000 000000003C23D70A 0000000000000000 000000003A83126F ..........#<............o..:....
0x000000002465F648: 0000000000000000 000000004742ED70 00000000045B68B2 000000004742ED70 ........p.BG.....h[.....p.BG....
0x000000002465F668: 000000002465F760 000000000E806150 0000000004470000 0000000000000000 `.e$....Pa........G.............
0x000000002465F688: 0000000049B29212 0000000049AF5B68 00000000C6A27ADF 000000003F687F66 ...I....h[.I.....z......f.h?....
0x000000002465F6A8: 0000000000000000 4056800000000000 0000000000000000 3FE2F58C00000000 ..............V@...............?
0x000000002465F6C8: 0000000000000000 000000004CBBC5F0 00000000045EE53A 3FF000003B93F229 ...........L....:.^.....)..;...?
0x000000002465F6E8: 000000004D3F9560 000000004CBBC5F0 0000000000624690 0000000000000014 `.?M.......L.....Fb.............
0x000000002465F708: 000000001B6B3ED4 0000000000000014 0000000000000013 000000001B6B3ED4 .>k......................>k.....
0x000000002465F728: 000000001B6B3EDC FFFFFFFFFFFFFFFE 000000001B6B3ED0 000000001B6B3ED4 .>k..............>k......>k.....
0x000000002465F748: 000000001B6B3EDC 3F45B844BF22914C 3F45AA39BC752233 3C95073A3F229CD9 .>k.....L.".D.E?3"u.9.E?.."?:..<
0x000000002465F768: 000000003CC0F4BF 0000000049B2696F 00000000045257C1 00000000C4BCF0B0 ...<....oi.I.....WR.............
0x000000002465F788: C06654CFC332A67D 4091C51D52B1EE24 3F62AD03B5D0F70E BF22914C42CDF5C7 }.2..Tf.$..R...@......b?...BL.".
0x000000002465F7A8: 3CC0F4BF3F45AA39 BC844DC744EEA49C BC75223300000000 BFE6A30968885A31 9.E?...<...D.M......3"u.1Z.h....
0x000000002465F7C8: 407BD99680000000 000000003F687F66 0000000000000000 0000000000001FBF ......{@f.h?....................
0x000000002465F7E8: 0000000004ACAE2A 0000000080000000 0000000004974823 3FAA5C5D20000000 *...............#H......... ]\.?
0x000000002465F808: 0000000000000000 3FF0000009000000 0000000000000000 BC6A626331000000 ...............?...........1cbj.
0x000000002465F828: 0000000000000000 BFDD4C8DA22168C2 0000000000000000 0000000040000000 .........h!..L.............@....
0x000000002465F848: 0000000000000000 0000000004C56810 0000000000000000 C1086A0000000000 .........h...................j..
0x000000002465F868: 00000000045F1559 000000004CBBB868 000000002465F960 000000004CBBB878 Y._.....h..L....`.e$....x..L....
0x000000002465F888: 0000000004A55EF7 00000000402BC34D 0000000080000000 0000000000000000 .^......M.+@....................
0x000000002465F8A8: 0000000000000000 000000003E6859D0 0000000000000000 0000000000000000 .........Yh>....................
0x000000002465F8C8: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ................................
0x000000002465F8E8: 0000000000000000 0000000000000000 0000000000000000 000000003F800000 ...........................?....
0x000000002465F908: 0000000000000000 0000000000000000 0000000000000000 000000004CBBB1D0 ...........................L....
0x000000002465F928: 00000000045F1196 0000000000000000 0000000004525A2B 0000000000000400 .._.............+ZR.............
0x000000002465F948: 00000000045D94C9 00000000402BC34D 000000000483A502 0000000000000000 ..].....M.+@....................
0x000000002465F968: 0000000000000000 0000000000000000 0000000000000000 0000000049AEC072 ........................r..I....
0x000000002465F988: 0000000000000000 FFFFFFFFFFFFFFFE 0000000000000000 000000004AADC168 ........................h..J....
0x000000002465F9A8: 000000000C750920 0000000012B36670 000000000497442D 408429DD441DDD73 .u.....pf......-D......s..D.).@
0x000000002465F9C8: 0000000000001FBF 400921FD00000000 0000000000000000 FFFFFFFFFFFFFFFE .............!.@................

================================================================================
Object at RCX(0000000000000000)
Data inaccessible

================================================================================

Compiler Options:
_MSC_VER=1800 WINVER=0x502 _WIN32_WINNT=0x502 _WIN32_WINDOWS=0x502
NTDDI_VERSION=0x5020000 _WIN32_IE=0x602 ANSI _M_AMD64 _AMD64_ _WIN64 Release*

System Information:
'E:\Jeux\Falcon BMS 4.33 U1\Bin\x64\Falcon BMS.exe', run by Utilisateur.
Error occurred at 22:08:48 on 2016-04-22.
Version: Falcon BMS 4.33.1 (x64) 15227
Game is Campaign type Local
Theater terrain path: 'E:\Jeux\Falcon BMS 4.33 U1\Data\Terrdata\korea'
Operating System: unknown Windows version (6.2.9200) Platform 2 .
Computer Name: UTILISATEUR-PC Domain: WORKGROUP.
8 logical processor(s), type 8664.
CPU: Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz. GenuineIntel. Stepping: 9 Model: A Family: 6.
GPU 0: NVIDIA GeForce GTX 660 . Vendor: 4318. Device: 4544. SubSys: 2216759363. Revision: 161.
49% memory in use:
8132 MB physical memory
4116 MB physical memory free
8644 MB paging file
3516 MB paging file free
134217728 MB user address space
134214608 MB user address space free

Module List:
E:\Logiciels\Trackir 5\NPClient64.dll, loaded at 0x0000000004430000 - 19656 bytes - TimeDateStamp 0x 52e97eca - File date is 15:08:42 on 2016-04-06
E:\Jeux\Falcon BMS 4.33 U1\Bin\x64\Falcon BMS.exe, loaded at 0x0000000004470000 - 9402880 bytes - TimeDateStamp 0x 56fac303 - File date is 20:01:44 on 2016-03-29
E:\Jeux\Falcon BMS 4.33 U1\Bin\x64\dbghelp.dll, loaded at 0x0000000055160000 - 1558912 bytes - TimeDateStamp 0x 4b673670 - File date is 12:33:04 on 2010-03-03

Environment Variables:
2: <ALLUSERSPROFILE=C:\ProgramData>
3: <APPDATA=C:\Users\Utilisateur\AppData\Roaming>
4: <CommonProgramFiles=C:\Program Files\Common Files>
5: <CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files>
6: <CommonProgramW6432=C:\Program Files\Common Files>
7: <COMPUTERNAME=UTILISATEUR-PC>
8: <ComSpec=C:\WINDOWS\system32\cmd.exe>
9: <DEVMGR_SHOW_DETAILS=1>
10: <DEVMGR_SHOW_NONPRESENT_DEVICES=1>
11: <FP_NO_HOST_CHECK=NO>
12: <HOMEDRIVE=C:>
13: <HOMEPATH=\Users\Utilisateur>
14: <LOCALAPPDATA=C:\Users\Utilisateur\AppData\Local>
15: <LOGONSERVER=\\UTILISATEUR-PC>
16: <NUMBER_OF_PROCESSORS=8>
17: <OS=Windows_NT>
18: <Path=C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Skype\Phone\>
19: <PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC>
20: <PROCESSOR_ARCHITECTURE=AMD64>
21: <PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 58 Stepping 9, GenuineIntel>
22: <PROCESSOR_LEVEL=6>
23: <PROCESSOR_REVISION=3a09>
24: <ProgramData=C:\ProgramData>
25: <ProgramFiles=C:\Program Files>
26: <ProgramFiles(x86)=C:\Program Files (x86)>
27: <ProgramW6432=C:\Program Files>
28: <PSModulePath=C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\>
29: <PUBLIC=C:\Users\Public>
30: <SESSIONNAME=Console>
31: <SystemDrive=C:>
32: <SystemRoot=C:\WINDOWS>
33: <TEMP=C:\Users\UTILIS~1\AppData\Local\Temp>
34: <TMP=C:\Users\UTILIS~1\AppData\Local\Temp>
35: <USERDOMAIN=Utilisateur-PC>
36: <USERDOMAIN_ROAMINGPROFILE=Utilisateur-PC>
37: <USERNAME=Utilisateur>
38: <USERPROFILE=C:\Users\Utilisateur>
39: <windir=C:\WINDOWS>
40: <windows_tracing_flags=3>
41: <windows_tracing_logfile=C:\BVTBin\Tests\installpackage\csilogfile.log>
42: <__COMPAT_LAYER=ElevateCreateProcess>

Re: Crash avec TIR 5

Publié : lun. avr. 25, 2016 6:48 pm
par Ozone
Il semblerait que ce soit bien un fichier de campagne corrompu qui soit à l'origine du problème.

J'ai testé plusieurs TE, et j'ai remarqué que le plantage ne survenait en TE que si j'avais déjà lancé ma "campagne corrompue" sans avoir redémarré BMS entre les 2.

J'ai donc entamé une nouvelle campagne, et je n'ai plus rencontré le problème à ce jour.

Maintenant je me pose quand même quelques questions :
. comment un fichier de campagne peut faire planter le TIR, et aussi avoir un impact sur les autres fonctionnalités de BMS?
. comment un fichier de campagne a pu se corrompre? (je ne modifie mes campagnes qu'avec BMS, pas d'utilisation de MC, ni de WDP)
. les plantages sont venus petit à petit au cours de la campagne, jusqu'au plantage systématique. Il est donc possible que cela recommence avec la nouvelle campagne au bout d'un certain temps