Application crash after open and close PDF rapidly - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Questions about Windows 8.1, 10, WindowsPhone, Windows UWP
  • Page:
  • 1

TOPIC: Application crash after open and close PDF rapidly

Application crash after open and close PDF rapidly 4 years 4 months ago #6644

  • ppanda15
  • ppanda15's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
Hi,
I created application on Windows Phone 8 by using RadaeePDF. After I open and close PDF file rapidly,
application is closed automatically. Debugger doesn't stop. No break point is hit. But I got this message on Output Windows in Visual Studio 2012 which said:

The program '[3488] TaskHost.exe' has exited with code -1073740940 (0xc0000374).

I tried to google about this exit code, but no luck. Could you please help me with this?

P.S. The project, which contain part of PDF viewer in the application, cannot be attached because it's too big (only 1.1 MB :( ). Can I send the sample project via email?

P.S.2 Sometimes, it shows this message:

The program '[2888] TaskHost.exe' has exited with code -1073741819 (0xc0000005) 'Access violation'.

Please Log in or Create an account to join the conversation.

Last edit: by thuc. Reason: Add more error code.

Application crash after open and close PDF rapidly 4 years 4 months ago #6650

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 846
  • Karma: 43
  • Thank you received: 12
do you invoked PDFView.vClose()?
mostly need:
PDFView.vClose();
Document.Close();
The following user(s) said Thank You: thuc

Please Log in or Create an account to join the conversation.

Application crash after open and close PDF rapidly 4 years 3 months ago #6768

  • ppanda15
  • ppanda15's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
Sorry for late reply.
Yes. Those two lines are included.
We found it later that no need to do it rapidly, sometimes it crashes since the first time PDF viewer is closed.

Please Log in or Create an account to join the conversation.

Application crash after open and close PDF rapidly 4 years 3 months ago #6769

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 846
  • Karma: 43
  • Thank you received: 12
seems some variable like stream, not set to null, and in not check null when NavigateTo.

Please Log in or Create an account to join the conversation.

Application crash after open and close PDF rapidly 4 years 3 months ago #6774

  • goldkyo
  • goldkyo's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 12
  • Karma: 1
  • Thank you received: 1
Hi,

This problem is caused by that some streams are not released when closing the document. We have released a new update for Windows Phone demo. Please download and investigate RadaeePDFPage class for solution. Thank you.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum