- Posts: 9
- Thank you received: 0
Microsoft Windows Phone 8.1 support ends (13 Jul 2017)
Microsoft has ended support for Windows Phone 8.1
Questions about Windows 8.1, 10, WindowsPhone, Windows UWP
Application crash after open and close PDF rapidly
IP: 192.168.0.71
11 years 8 months ago - 11 years 8 months ago #6644
by ppanda15
Application crash after open and close PDF rapidly was created by ppanda15
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'.
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
P.S.2 Sometimes, it shows this message:
The program '[2888] TaskHost.exe' has exited with code -1073741819 (0xc0000005) 'Access violation'.
Last edit: 11 years 8 months ago by thuc. Reason: Add more error code.
IP: 192.168.0.71
11 years 8 months ago #6650
by radaee
Replied by radaee on topic Application crash after open and close PDF rapidly
do you invoked PDFView.vClose()?
mostly need:
mostly need:
Code:
PDFView.vClose();
Document.Close();
IP: 192.168.0.71
11 years 7 months ago #6768
by ppanda15
Replied by ppanda15 on topic Application crash after open and close PDF rapidly
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.
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.
IP: 192.168.0.71
11 years 7 months ago #6769
by radaee
Replied by radaee on topic Application crash after open and close PDF rapidly
seems some variable like stream, not set to null, and in not check null when NavigateTo.
IP: 192.168.0.71
11 years 7 months ago #6774
by goldkyo
Replied by goldkyo on topic Application crash after open and close PDF rapidly
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.
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.
Time to create page: 0.403 seconds