Skip to main content
try67
Community Expert
Community Expert
July 23, 2008
Question

ILL-CS2 runtime error R6025

  • July 23, 2008
  • 3 replies
  • 1568 views
I wrote a script that from time to time produces a "runtime error R6025
- pure virtual function call" for no apparant reason. I've noticed that when I run the script through the debugger this error doesn't occur, but it does when I let it run on it's own. I've also checked online and read what information I could about this C++ error, but I can't seem to solve this issue.

Does anyone have any experience with this runtime error, or has any ideas on how to solve it?
This topic has been closed for replies.

3 replies

try67
Community Expert
try67Community ExpertAuthor
Community Expert
August 8, 2008
I forgot to mention that I think this error was caused by memory leak. The script basically creates a large array based on character attributes. When run on a small number of characters it worked fine, but when the number increased, Ill. crashed with the R6025 error.
try67
Community Expert
try67Community ExpertAuthor
Community Expert
August 7, 2008
Hi Nate,

Thanks for the tip. I was finally able to write the script I wanted using VBasic, and was also able to write a more simplified version with JScript, without encountering the dreaded R6025 error (although basically the script does exactly the same)...

I will consider trying it using CS3 as well.
Participating Frequently
August 7, 2008
In my experience CS2 can be very buggy, even when just using JS. I'd seriously consider moving up to CS3 if possible. It's much more stable in my experience.

-Nate Delage