Skip to main content
Participant
July 22, 2010
Question

InDesign CS5 Desktop crashes while saving a document

  • July 22, 2010
  • 3 replies
  • 1035 views

Hello everybody,

We have ported our CS4 PlugIn to CS5 version (using kModelPlugIn flag in PluginVersion). This plugin tries to save a document, operation that works in Server version but crashes in the Desktop version. When using the Debug version the following assert is displayed:

ASSERT 'idleTaskThread' in ..\..\..\source\components\threading\IDTask.cpp at line 452 failed.

I tried the IDocFileHandler, IDocumentCommands interfaces, none of them did work.

Anyone any ideas?

Thank you

This topic has been closed for replies.

3 replies

Participating Frequently
October 4, 2010

I found an answer at: http://reviews.cnet.com/8301-13727_7-20005310-263.html

Participating Frequently
October 4, 2010

Same here---over and over. I had this problem in CS3 with Adobe's Acrobat update 8.2.4 which fowled everything up. I carefully followed the instructions to uninstall and reinstall all of CS3 but then every program in my CS3 crashed on opening, or soon thereafter. I spent the money to update to CS5 and just complete that, except 'Save As' still crashes. I must go to the finder and rename the doc from there. For details on the CS3 problem see my previous post at: http://forums.adobe.com/message/3086555#3086555

July 22, 2010

I would guess that this has to do with the changes regarding threading that was implemented in CS5 but it is hard to say for sure since the information you give is not very detailed. If you set breakpoints in your code and try to step through the execution, is it possible to isolate which line of code that causes this crash?

bvuserAuthor
Participant
July 23, 2010

Hello

I was able to identify the line in the debug build, and crash occurs exactly when the following function is used:

docFileHandler->SaveAs(m_DocumentUIDRef, &file, kSuppressUI);

I tried also with SaveAs of the IDocumentCommands interface with the same result. I suspect also with threading model, but since I don't have any UI in PlugIn should be no problem. Unfortunately, the Debug version provides almost no useful information, the Call Stack being also not useful.

Thank you.