Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

R6025 pure virtual function call

Mentor ,
Feb 13, 2012 Feb 13, 2012

Hello,

Got error "R6025 pure virtual function call".

Thats an error send by InCopy after quitting application.

Sorry for writing on this forum but on InCopy Forum is 2 month freeze from the last post

So, this error is showing when I run a #targetengine "session" script (no errors) and try to quit application after that.

Script is, in general, finding text tool, which open series of InCopy docs (visible false), close them, and showing total findText() result in window ("palette")

Can you help me to find a solution or where should I looking for?

Thx

TOPICS
Scripting
16.2K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Mentor ,
Feb 13, 2012 Feb 13, 2012

1. Apr 12, 2011 2:50 AM (in response to barbron3608)

  Re: How do I correct a Runtime error  R6025?     

This has nothing to do with Adobe software. This is a system error and usually indicates problems with missing DLLs or other such stuff. Could have been a Windows update or some otehr programs.... Impossible to tell from a distance. Check your Windows event viewer for more concrete info.

Mylenium

Just to deeper explain...

This error shows ONLY if I had run this script and ONLY when I try to close application (InCopy). Doesn't matter if 1 minute or few hours later.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Mentor ,
Feb 14, 2012 Feb 14, 2012

OK, just to more deeper explain,

From my debugging moves looks like there is a question about #targetengine "session" vs. window ("palette") vs. open.file

The last thing script do is showing find results in window "palette" and allow user to open chosen file from list box.

(as I wrote, there is no errors when I run script, use a list from "palette" to open file (files), close "palette" or keep it opened, use InCopy for further purpose.)

Error is shown when I close InCopy, but...

1. When I did not open any doc from "palette" - there is no error.

2. When I opened some file - doesn't matter if I closed it, left open, left "palette" open or close - and try to quit application - error is shown.

So, and thats a beginner question, if my #targetengine "session" script open some file and user (not script) close it - there is some "handler" active which involves this kind of error when application is going to quit?

Or, closing my #targetengine "session" script, which I understand as closing "palette", should proceed some more procedures then only win.close()?

Thx for your patience

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Mentor ,
Feb 20, 2012 Feb 20, 2012

So, should I assume thats this kind of problem is

to wide to discuss?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 04, 2012 Oct 04, 2012

Not to wide to discuss! I am having the same issue with very similiar circumstances. I have a script that opens a dialog that gives a list of page ranges. After the user clicks ok the new document is created. From there, there are multiple palettes that can be open and closed for various reasons so I could never wittle it down to a certain circumstance like you have but I imagine it is the same thing. Any other luck on this?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Mentor ,
Oct 04, 2012 Oct 04, 2012

Hi,

No luck.

I just change window ("palette") to window ("dialog")

so user is in "single mode" with this Find Feature.

This is a step back but error disappear in this case.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 09, 2012 Oct 09, 2012

hmm, that stinks. I unfortunately need the type palette so I can work on the document in the background while keeping my UI up. If by chance you stumble on to anything else that may help post it back here. I will be doing the same.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 30, 2016 May 30, 2016

I'm getting this same error every time I quit Adobe Animate CC, no matter what it is I'm doing. It also seems to undo all my setting Sync updates.

Runtime Error!

(lists exe file)

R6025

- pure virtual function call

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
May 31, 2016 May 31, 2016

Unlikely to help but worth trying "window" instead of "palette"

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Mentor ,
May 31, 2016 May 31, 2016
LATEST

No script should crash the application, so the OS error message indicates a bug.

You might get lucky if you remove all references to the closed palette object and then explicitly invoke the garbage collector.

E.g. your "session" target engine may still have a pointer from its global variable "win".

// assign something else

win = null;

// or

delete win;

// force garbage collection

$.gc();

// do it twice, I found that makes a difference

$.gc();

// Have a look at this output, maybe the palette is reachable by other means (variable pointing to a button?)

$.summary();

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines