Hard Light Productions Forums

General FreeSpace => FreeSpace & FreeSpace Open Support => Topic started by: Bryan See on February 06, 2018, 12:38:43 pm

Title: Assert: "count < max_ints"
Post by: Bryan See on February 06, 2018, 12:38:43 pm
Hello, I've been revamping one of the oldest FreeSpace 2 mods to modern standards as asked by woutersmits. After fixing weapons and ship tables, I got the message:

Code: [Select]
Assert: "count < max_ints"
File: parselo.cpp
Line: 2867
Too many entries in integer list. Expected 3, found 4.
List type was Weapon Types

ntdll.dll! NtWaitForSingleObject + 20 bytes
KERNELBASE.dll! WaitForSingleObjectEx + 159 bytes
fs2_open_3_8_1_20180205_ccaa766_x64_SSE2-FASTDBG.exe! SDL_main + 2771115 bytes
fs2_open_3_8_1_20180205_ccaa766_x64_SSE2-FASTDBG.exe! SDL_main + 3889036 bytes
fs2_open_3_8_1_20180205_ccaa766_x64_SSE2-FASTDBG.exe! SDL_main + 3331609 bytes
fs2_open_3_8_1_20180205_ccaa766_x64_SSE2-FASTDBG.exe! SDL_main + 3275815 bytes
fs2_open_3_8_1_20180205_ccaa766_x64_SSE2-FASTDBG.exe! SDL_main + 705333 bytes
fs2_open_3_8_1_20180205_ccaa766_x64_SSE2-FASTDBG.exe! SDL_main + 700522 bytes
fs2_open_3_8_1_20180205_ccaa766_x64_SSE2-FASTDBG.exe! SDL_main + 709701 bytes
fs2_open_3_8_1_20180205_ccaa766_x64_SSE2-FASTDBG.exe! SDL_main + 670271 bytes
fs2_open_3_8_1_20180205_ccaa766_x64_SSE2-FASTDBG.exe! SDL_main + 767716 bytes
fs2_open_3_8_1_20180205_ccaa766_x64_SSE2-FASTDBG.exe! SDL_main + 57645 bytes
fs2_open_3_8_1_20180205_ccaa766_x64_SSE2-FASTDBG.exe! SDL_main + 14425 bytes
fs2_open_3_8_1_20180205_ccaa766_x64_SSE2-FASTDBG.exe! SDL_main + 130 bytes
fs2_open_3_8_1_20180205_ccaa766_x64_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_8_1_20180205_ccaa766_x64_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_8_1_20180205_ccaa766_x64_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_8_1_20180205_ccaa766_x64_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_8_1_20180205_ccaa766_x64_SSE2-FASTDBG.exe! <no symbol>
KERNEL32.DLL! BaseThreadInitThunk + 20 bytes
ntdll.dll! RtlUserThreadStart + 33 bytes

[ This info is in the clipboard so you can paste it somewhere now ]


Use Debug to break into Debugger, Exit will close the application.

ntdll.dll! NtWaitForSingleObject + 20 bytes
KERNELBASE.dll! WaitForSingleObjectEx + 159 bytes
fs2_open_3_8_1_20180205_ccaa766_x64_SSE2-FASTDBG.exe! SDL_main + 2771115 bytes
fs2_open_3_8_1_20180205_ccaa766_x64_SSE2-FASTDBG.exe! SDL_main + 3889036 bytes
fs2_open_3_8_1_20180205_ccaa766_x64_SSE2-FASTDBG.exe! SDL_main + 3327638 bytes
fs2_open_3_8_1_20180205_ccaa766_x64_SSE2-FASTDBG.exe! SDL_main + 3331901 bytes
fs2_open_3_8_1_20180205_ccaa766_x64_SSE2-FASTDBG.exe! SDL_main + 3275815 bytes
fs2_open_3_8_1_20180205_ccaa766_x64_SSE2-FASTDBG.exe! SDL_main + 705333 bytes
fs2_open_3_8_1_20180205_ccaa766_x64_SSE2-FASTDBG.exe! SDL_main + 700522 bytes
fs2_open_3_8_1_20180205_ccaa766_x64_SSE2-FASTDBG.exe! SDL_main + 709701 bytes
fs2_open_3_8_1_20180205_ccaa766_x64_SSE2-FASTDBG.exe! SDL_main + 670271 bytes
fs2_open_3_8_1_20180205_ccaa766_x64_SSE2-FASTDBG.exe! SDL_main + 767716 bytes
fs2_open_3_8_1_20180205_ccaa766_x64_SSE2-FASTDBG.exe! SDL_main + 57645 bytes
fs2_open_3_8_1_20180205_ccaa766_x64_SSE2-FASTDBG.exe! SDL_main + 14425 bytes
fs2_open_3_8_1_20180205_ccaa766_x64_SSE2-FASTDBG.exe! SDL_main + 130 bytes
fs2_open_3_8_1_20180205_ccaa766_x64_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_8_1_20180205_ccaa766_x64_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_8_1_20180205_ccaa766_x64_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_8_1_20180205_ccaa766_x64_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_8_1_20180205_ccaa766_x64_SSE2-FASTDBG.exe! <no symbol>
KERNEL32.DLL! BaseThreadInitThunk + 20 bytes
ntdll.dll! RtlUserThreadStart + 33 bytes

Here is the attachments. One is the zip file and the FSO log file.

[attachment stolen by Russian hackers]
Title: Re: Assert: "count < max_ints"
Post by: The E on February 06, 2018, 01:51:17 pm
Open the debug_filter.cfg file in %appdata%\HardLightProductions\FreeSpaceOpen\data. Look for a line that says "-Parse". Change it to "+Parse". Run the debug build again until it hits this error. Then look at the log, and use the info therein to figure out which particular entry the parser is choking on.
Title: Re: Assert: "count < max_ints"
Post by: Bryan See on February 07, 2018, 09:25:01 am
Still nothing. Here are the attachments.

[attachment stolen by Russian hackers]
Title: Re: Assert: "count < max_ints"
Post by: The E on February 07, 2018, 11:40:59 am
Don't use portable mode. If that's not an option, copy the debug_filter.cfg you've posted here to <FS2 directory>\data\
Title: Re: Assert: "count < max_ints"
Post by: Bryan See on February 08, 2018, 10:48:21 am
I've copied the debug_filter.cfg into the FS2 data directory and I'm sure I can find the error.

[attachment stolen by Russian hackers]
Title: Re: Assert: "count < max_ints"
Post by: The E on February 08, 2018, 11:37:39 am
Yeah, it's really easy to find.