Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Kestrellius on January 24, 2019, 05:06:23 am

Title: Assert: "0"
Post by: Kestrellius on January 24, 2019, 05:06:23 am
I've been putting together a modpack from various ships, and I figured I'd go through and start fixing the errors they were throwing at me. After a little while I ran into this one:

Code: [Select]
Assert: "0"
File: parselo.cpp
Line: 234

ntdll.dll! ZwWaitForSingleObject + 10 bytes
KERNELBASE.dll! WaitForSingleObjectEx + 156 bytes
fs2_open_3_8_0_x64_AVX-FASTDBG.exe! <no symbol>
fs2_open_3_8_0_x64_AVX-FASTDBG.exe! <no symbol>
fs2_open_3_8_0_x64_AVX-FASTDBG.exe! <no symbol>
fs2_open_3_8_0_x64_AVX-FASTDBG.exe! <no symbol>
fs2_open_3_8_0_x64_AVX-FASTDBG.exe! <no symbol>
fs2_open_3_8_0_x64_AVX-FASTDBG.exe! <no symbol>
fs2_open_3_8_0_x64_AVX-FASTDBG.exe! <no symbol>
fs2_open_3_8_0_x64_AVX-FASTDBG.exe! <no symbol>
fs2_open_3_8_0_x64_AVX-FASTDBG.exe! <no symbol>
fs2_open_3_8_0_x64_AVX-FASTDBG.exe! <no symbol>
fs2_open_3_8_0_x64_AVX-FASTDBG.exe! <no symbol>
fs2_open_3_8_0_x64_AVX-FASTDBG.exe! <no symbol>
fs2_open_3_8_0_x64_AVX-FASTDBG.exe! <no symbol>
fs2_open_3_8_0_x64_AVX-FASTDBG.exe! <no symbol>
fs2_open_3_8_0_x64_AVX-FASTDBG.exe! <no symbol>
fs2_open_3_8_0_x64_AVX-FASTDBG.exe! <no symbol>
fs2_open_3_8_0_x64_AVX-FASTDBG.exe! <no symbol>
fs2_open_3_8_0_x64_AVX-FASTDBG.exe! <no symbol>
fs2_open_3_8_0_x64_AVX-FASTDBG.exe! <no symbol>
fs2_open_3_8_0_x64_AVX-FASTDBG.exe! <no symbol>
kernel32.dll! BaseThreadInitThunk + 13 bytes
ntdll.dll! RtlUserThreadStart + 29 bytes

Now this is a problem, because it seems to force-close the debug build -- there's no "continue" button, only "debug" and "exit", and "debug" just crashes FSO. This means that I can't access any of the errors that come after this one in the list, so I need to deal with this before I can continue.

Judging by my research, parselo.cpp is some component of the source code that I'm not going to be able to access on my own (even if I could figure out what the hell "Assert 0" means), so I needed to come to you guys.

My fs2_open.log is here: https://fsnebula.org/log/5c499c17cb0d330946c29e1d

Thanks for any help!
Title: Re: Assert: "0"
Post by: AdmiralRalwood on January 25, 2019, 08:07:47 am
Somehow, while parsing test-shp.tbm, FSO encountered an error on a line that's apparently beyond the end of the file. That obviously shouldn't be possible, but might be due to a code error from the fact that 3.8.0 is now somewhat out-of-date (we're hoping for another stable release some time in the next few months). Try running your test mod on a recent nightly build (go to Knossos's settings, expand the "Knossos" section, set "Preferred Engine Stability" to "Nightlies", hit save, then update FSO) and see if you trip the same assertion; if you do, upload this table somewhere so we can see why it's going horribly wrong.
Title: Re: Assert: "0"
Post by: Kestrellius on January 25, 2019, 11:36:40 am
This seems to have worked. Thanks!