Good day. There is some bug found in new versions since v5.5.
When I trying to open my header files writen on C++ with templates and their partial specialization, application crashes or just freezes, so I used to call Task Manager.
Here is some information about OS and Dev C++.
Version: 5.5.3
OS version: Windows 8.1 professional x86
Error reported: IGR
Steps needed to reproduce the problem: open single .hpp file with templates and their partial specifications.
Some more information from app:
Version : 5.5.3
Build Time : November 5 2013 - 19:35
Message : Invalid pointer operation
Address : 0x00102E28
Platform : Windows NT
OS version : 6.2 (build 9200)
Computer Name : IGR
0020F85E (0010E85E): TExceptionFrm.GetStackReport (ExceptionFrm - 392)
0020EBE2 (0010DBE2): TEAnalyzer.EHandler (ExceptionFrm - 139)
0020ECD0 (0010DCD0): TEAnalyzer.EHandler (ExceptionFrm - 148)
0020ECD0 (0010DCD0): TEAnalyzer.EHandler (ExceptionFrm - 148)
0020EC24 (0010DC24): TEAnalyzer.EHandler (ExceptionFrm - 146)
0020EC4E (0010DC4E): TEAnalyzer.EHandler (ExceptionFrm - 146)
001CC16F (000CB16F): TCppTokenizer.Reset (CppTokenizer - 137)
001D390F (000D290F): TCppParser.Reset (CppParser - 1774)
00240F13 (0013FF13): TMainForm.CloseEditor (main - 1480)
002433E8 (001423E8): TMainForm.actCloseAllExecute (main - 2195)
0023E3EA (0013D3EA): TMainForm.FormClose (main - 958)
0023E3EA (0013D3EA): TMainForm.FormClose (main - 958)
Please, fix this bug as fast as you can.
My thanks
This one has been fixed since a very early 5.5.4 build. I'll release a beta of that version 'soon' if all goes well.
FYI, the problem is related to a buffer overflow in the tokenizer. If it creates tokens longer than 32767 characters, it will fail. This usually happens to the pattern recognition failure of template code.
Thank you very much for the job, you've done.
Hope, it goes well.
And thanks for supporting this project.
Best regards.
Your thankful user.
Can I have the file that causes the problem?
Fixed as of 5.6.x. Thanks for reporting.