mmehr2 / Msw4

Source code for MagicScroll for Windows (basic) project.
0 stars 0 forks source link

Crash (assert() failure) in RtfHelper.cpp line 667 when opening a file #23

Closed mmehr2 closed 6 years ago

mmehr2 commented 6 years ago

Occurred on my Dell opening the standard testing file 3.rtf.

mmehr2 commented 6 years ago

It's unclear if this should be an ASSERT at all, or detection of some possible runtime condition. Because here it is. What is wrong here? Test the file with the original source code too.

mmehr2 commented 6 years ago

Does not happen in Release versions. Debugger reports a difference between the two quantities that are supposed to be equal here (5 and 6). I don't understand the test. It prevents the Debug version from loading this file, which loads fine by the Release.

Just providing a record of this.