4.35 and CT limit (up to 4095 in Editor.exe, somewhat bigger in FalconBMS.exe)
-
UPDATE:
SORRY, MY BAD
There is no such limit. Just a coincidence.
I havent yet made my db work totally , but I have surpassed up to ct 4150 so my theory of some sort of limit because of some bynary limitation (since in 4096 it takes an extra digit) is wrong.
So, as said, just a coincidence. My db when limited (capped) crashes one out of two tries. This missled me into thinking that when I added the 4096 ct it crashed, but when I reverted back to 4095 it worked.
Sorry for the trouble.
Original post:
I am trying to convert Pillars Of Hercules theater (Portugal+Spain+Maroc+Algeria) to 4.35 and it just kep giving me crashes when updting the database.
After many tries and crashes I wondered if there was a “new” CT limit for the database, so I “capped” the database CT file just to show up to record number 4095 amd THIS change only made me be able to open the Editor.
I thought about this being the case since no structural change in the 2d database was included in 4.35 but my old 4.34 POH database did not oppened in editor. First I though it was a 3dDatabase issue. But once I made all the changes to the 3d database and using Koreas 2d database Editor did open fine both KTO data and also the Models tab showed my correct 3dDatabase for POH. So everything seem to point at the 2d database, but as I said, my 4.34 2d database did not worked too. This way I ended up just trying to cap my database to 4095 records just in case any change in exe was using a new variable with this limit…. and voila! Capping did let me open editor.
Actual database goes up to record 4485 once I have added the KTO changes to the database. SO this right now is not a feasible solution for my database (¿Where do I get the spare 400+ records from?)
Here the crashlog from Editor when using the 4485 CTs database:
================================== CRASHLOG =====================================Editor.exe caused an EXCEPTION_ACCESS_VIOLATION in: 0000000004496A83 Editor.exe, wxStringBase::wxStringBase()+51 byte(s), d:\wip\bms\svn\code-4.35\extlibs\wxwidgets28\include\wx\string.h, line 368+25 byte(s) Exception handler called in UnhandledExceptionHandler. Read from location 0000000000000008 caused an access violation. Bytes at CS:RIP: 80 3C 1A 00 75 F7 48 85 DB 74 1A 48 8B D3 E8 0A Registers: RAX=0x0000000004de98c8 RBX=0x0000000000000000 RCX=0x000000000014f798 RDX=0x0000000000000008 RSI=0x0000000000000008 RDI=0x000000000014f798 RBP=0x000000000014f740 RSP=0x000000000014f610 RIP=0x0000000004496a83 FLG=0x00007ffa00010256 R8=0x000000000000000a R9=0x000000000000000a R10=0x0000000000008000 R11=0x000000000014f5a0 R12=0x000000001420bc70 R13=0x0000000000000051 R14=0x00000000000f1c90 R15=0x0000000017096080 CS=0x0033 DS=0x002B SS=0x002B ES=0x002B FS=0x0053 GS=0x002B Call Stack: 0033:0000000004496A83 Editor.exe, wxStringBase::wxStringBase()+51 byte(s), d:\wip\bms\svn\code-4.35\extlibs\wxwidgets28\include\wx\string.h, line 368+25 byte(s), Parameters(0x0000000000000000 0x00000000000F1CD4 0x00000000000010C6 0x0000000000000001) 0033:00000000044D0C41 Editor.exe, NewFalconEditor::UpdateUnitListItem()+497 byte(s), d:\wip\bms\svn\code-4.35\tools\falconeditor\falconeditor.cpp, line 2356+77 byte(s), Parameters(0x0000000017096080 0x0000000004DE98C8 0x00000000251FFCD0 0x00000000251FFA68) 0033:00000000044CEDD3 Editor.exe, NewFalconEditor::FillUnitList()+2899 byte(s), d:\wip\bms\svn\code-4.35\tools\falconeditor\falconeditor.cpp, line 2211, Parameters(0x0000000000000296 0x000000001420BC70 0x0000000017096C60 0x00000000000000FF) 0033:00000000044CE1B2 Editor.exe, NewFalconEditor::FillUnitLists()+338 byte(s), d:\wip\bms\svn\code-4.35\tools\falconeditor\falconeditor.cpp, line 2060, Parameters(0x0000000017096080 0x0000000024E68B08 0x000000000014F9B0 0x0000000000000003) 0033:00000000044C3699 Editor.exe, NewFalconEditor::NewFalconEditor()+3433 byte(s), d:\wip\bms\svn\code-4.35\tools\falconeditor\falconeditor.cpp, line 310, Parameters(0x0000000017096080 0x00000000249A7B58 0x000000001647BA78 0x0000000017096790) 0033:00000000045160E8 Editor.exe, ObjEdApp::OnInit()+1112 byte(s), d:\wip\bms\svn\code-4.35\tools\falconeditor\main.cpp, line 212+25 byte(s), Parameters(0x0000000017096080 0x0000000000000001 0x0000000000000000 0x000000000CFED530) 0033:0000000004B9060F Editor.exe, wxEntryReal()+191 byte(s), d:\wip\bms\svn\code-4.35\extlibs\wxwidgets28\src\common\init.cpp, line 432+13 byte(s), Parameters(0x000000000CFED501 0x000000000014FE88 0x0000000000000000 0x0000000000469760) 0033:0000000004B7EDF8 Editor.exe, wxEntry()+40 byte(s), d:\wip\bms\svn\code-4.35\extlibs\wxwidgets28\src\msw\main.cpp, line 209+11 byte(s), Parameters(0x0000000000469760 0x0000000000000000 0x00000000004541B7 0x0000000000000000) 0033:0000000004516474 Editor.exe, WinMainWrapper()+244 byte(s), d:\wip\bms\svn\code-4.35\tools\falconeditor\main.cpp, line 294, Parameters(0x00000000004541B7 0x0000000000000000 0x0000000000469760 0x000000000014FD50) 0033:00000000046C9DBD Editor.exe, ThreadUnhandledExceptionWrapper()+109 byte(s), d:\wip\bms\svn\code-4.35\falclib\ehandler.cpp, line 1585+5 byte(s), Parameters(0x0000000000000005 0x0000000000000000 0x0000000000000000 0x0000000004476730) 0033:00000000045164D5 Editor.exe, WinMain()+21 byte(s), d:\wip\bms\svn\code-4.35\tools\falconeditor\main.cpp, line 306, Parameters(0x0000000000000005 0x0000000000000000 0x0000000000000000 0x0000000000000000) 0033:0000000004CFAEC2 Editor.exe, __scrt_common_main_seh()+262 byte(s), d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl, line 288+33 byte(s), Parameters(0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000) 0033:000000004B347C24 KERNEL32.DLL, BaseThreadInitThunk()+20 byte(s), Parameters(0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000) 0033:000000004CAED4D1 ntdll.dll, RtlUserThreadStart()+33 byte(s), Parameters(0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000) Top of Stack: 0x000000000014F610: 0000000000000296 0000000004DD4EF0 0000000000000002 0000000000000000 .........N...................... 0x000000000014F630: 0000000000000001 00000000044D0C41 0000000000000000 00000000000F1CD4 ........A.M..................... 0x000000000014F650: 00000000000010C6 0000000000000001 0000000000000000 00007FFA4CAC130D ...........................L.... 0x000000000014F670: 0000000034393234 000000001420BC70 0000000000000000 000000000014F800 4294....p. ..................... 0x000000000014F690: 0000005100000001 00000000000F1C90 00000000247AD4F0 0000018B249A7398 ....Q.............z$.....s.$.... 0x000000000014F6B0: FFFFFFFF00000003 00000000249A0F70 000000000014F808 0000000004D3EA3C ........p..$............4...#I......cQ............. ================================================================================ TLS frame allocator: 0 allocations with 0 bytes [0] 0 allocations with 0 bytes [1] Renderer command count: 0 Object at RCX(000000000014F798) Data inaccessible ================================================================================ Compiler Options: _MSC_VER=1916 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 4.35\Bin\x64\Editor.exe', run by AlfonsoP. Error occurred at 23:42:22 on 2021-01-14. Version: Falcon BMS 4.35.0 (x64) 22548 Not in game Theater terrain path: 'C:\Falcon BMS 4.35\Data\Add-On Iberia\Terrdata\Iberia' Operating System: Windows 10 (10.0.18363) Platform 2 . Computer Name: ALFONSOP-HP Domain: WORKGROUP. 8 logical processor(s), type 8664. CPU: Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz. GenuineIntel. Stepping: 7 Model: A Family: 6. 56% memory in use: 6092 MB physical memory 2646 MB physical memory free 12236 MB paging file 5715 MB paging file free 134217728 MB user address space 134211036 MB user address space free Module List: C:\Falcon BMS 4.35\Bin\x64\Editor.exe, loaded at 0x0000000004470000 - 72478720 bytes - TimeDateStamp 0x 5fd4b68b - File date is 13:24:48 on 2020-12-12 Environment Variables: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27:
-
Right now I have done all the work of converting both the 3d database and 2d database. I thought after resolving all the mistakes (which I made a few) the crashes will end. But they do not.
Let me show you a little bit about the database:
This is what is different in POHs 2d database. I have already updated all this files.
They all have this structure. KTO is at the base of the database and POHs custom records are “above” so the increase the records. As you can see, KTO 4.35 and my database are just different on hte custom stuff.
-
I couldn’t understand most of what you wrote m8…
What do you mean with “capped” the Database? -
I couldn’t understand most of what you wrote m8…
What do you mean with “capped” the Database?I means that I removed any CT record above 4095 in FALCON4_CT.XML (When my database actually goes up to 4485).
In this context something capped means limited in size. (Here some database related usage of “capped” https://docs.mongodb.com/manual/core/capped-collections/ )
cellphone
-
Current Dev version is running at 4302 CTs without any noticeable issues.
-
Thanks. I will recheck.
The thing is my 4.34 working 2d database which opens fine and has same structure (as far as I have noticed) did crashed 4.35 editor.
I also runned a small experiment to test this. I increased my 4095 “capped” db to 4096 ct records and while the first did not crashed editor, the 4096 one did crashed.
FalconBMS.exe did not crashed with neither the 4095 or 4096 capped dbs but does on the whole 4400something db
Enviado desde mi SM-A715F mediante Tapatalk
-
I am still checking more issues on the DB I haven’t yet fixed well.
So I am not actually sure if this is my issue. Probably is.
Once I have fixed all the database I would know if I jumped too fast on conclusions.
-
I have updated first post explaining that I was wrong.
Enviado desde mi SM-A715F mediante Tapatalk
-
Such limitation may exist. But no idea if/what it could be.
-
Thanks, I will know if/when I update my db…
My biggest concern regarding limits would be the PDX table, since it is the one with more records.
For now I restarted from 0 a few days ago. Let’s see if I can make it work.
Enviado desde mi SM-A715F mediante Tapatalk