PDF-XChange - Tracker PDF Viewer - TIFF-XChange - Image-XChange - XMF-XChange - Raster-XChange - Support

Moderators: TrackerSupp-Daniel, Tracker Support, Chris - Tracker Supp, Vasyl-Tracker Dev Team, Sean - Tracker, Tracker Supp-Stefan

Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.

When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
 
mmasood
User
Topic Author
Posts: 85
Joined: Fri Sep 18, 2015 9:49 pm

Crash on Application Exit

Tue Oct 17, 2017 2:49 pm

Hi,

I am seeing a Process has stopped working error when I close my application randomly may be 30-40% of the time. Following are the details of the error that I get:

Faulting application name: MyApp.exe, version: 5.13.0.71, time stamp: 0x59e10b80
Faulting module name: PDFXCoreAPI.x86.dll_unloaded, version: 6.0.322.5, time stamp: 0x595a5bee
Exception code: 0xc0000409
Fault offset: 0x008b470c
Faulting process id: 0xa94
Faulting application start time: 0x01d34458042fca9d
Faulting application path: C:\Program Files (x86)\MyApp\MyApp.exe
Faulting module path: PDFXCoreAPI.x86.dll
Report Id: 1e4ffa60-b04f-11e7-81af-02d5df3b493b
Faulting package full name:
Faulting package-relative application ID:


I am using VB6 and i am setting the variables that I use to Nothing in the Form_Unload method. I am calling the "pInst.Finalize" method in the unload function as well.

What am I missing out here?

Regards,
M
 
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 12025
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Crash on Application Exit

Fri Oct 20, 2017 4:22 pm

Hello M,

I've checked with a colleague from the dev team, and he says that unfortunately only with the description we can not help much.
We would need a sample project as well. Can you please prepare that one for us?

Cheers,
Stefan
 
mmasood
User
Topic Author
Posts: 85
Joined: Fri Sep 18, 2015 9:49 pm

Re: Crash on Application Exit

Wed Oct 25, 2017 5:36 pm

Hi Stefan,

The application that is causing this behavior is very large and complex and unfortunately I cannot create a stripped down version of it to provide to you. Are there any best practices that I can go through and see if anything is missing in my code that might be causing this issue?

Regards,
M
 
User avatar
Sasha - Tracker Dev Team
User
Posts: 2796
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Crash on Application Exit

Thu Oct 26, 2017 7:35 am

Hello mmasood,

Well I'm almost 100% sure that some object is being left alive when you call Finalize. Check in that direction - I'm afraid that we can't tell anything else.

Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
 
mmasood
User
Topic Author
Posts: 85
Joined: Fri Sep 18, 2015 9:49 pm

Re: Crash on Application Exit

Thu Dec 21, 2017 5:56 pm

Hi Alex,

I have been working on this and have a pattern and code to reproduce this issue.

I am using the VB6 and the latest version of Core Api 6.0.322.7 (per web page) or 7.0.323.2 (per the actual file that is installed). However i can reproduce this issue with older versions of Core Api.

Just let the attached exe run for approximately 15 mins and close the application to produce the issue.

Please let me know if you are able to reproduce the issue.

Regards,
M
Attachments
DeletePages For Tracker.zip
(5.07 KiB) Downloaded 4 times
 
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 12025
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Crash on Application Exit

Fri Dec 22, 2017 1:16 pm

Hello M,

Thanks for the sample project.
I will pass it along to Alex, but he said that because of some tasks he has today - he will be able to investigate this only tomorrow.
We will post here as soon as there are any news!

Happy holidays,
Stefan
 
User avatar
Sasha - Tracker Dev Team
User
Posts: 2796
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Crash on Application Exit

Sat Dec 23, 2017 6:55 am

Hello mmasood,

We will try to look at this one on Monday, when our developer who can investigate VB6 code will be available.

Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
 
mmasood
User
Topic Author
Posts: 85
Joined: Fri Sep 18, 2015 9:49 pm

Re: Crash on Application Exit

Tue Dec 26, 2017 2:13 pm

Hi Alex,

Did you have any success figuring out the issue so far? This issue is causing problems with our clients in production.

Regards,
M
 
User avatar
Sasha - Tracker Dev Team
User
Posts: 2796
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Crash on Application Exit

Wed Dec 27, 2017 9:54 am

Hello mmasood,

We were able to reproduce the crash itself (not from the first time though), and are trying to see whether we will have a possibility to debug this.

Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
 
mmasood
User
Topic Author
Posts: 85
Joined: Fri Sep 18, 2015 9:49 pm

Re: Crash on Application Exit

Thu Dec 28, 2017 2:15 pm

Hi Alex,

Were you able to make any progress on this issue?

Regards,
M
 
User avatar
Sasha - Tracker Dev Team
User
Posts: 2796
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Crash on Application Exit

Fri Dec 29, 2017 7:46 am

Hello mmasood,

Well what we can say is that some thread is still alive after shutdown and this causes this exception. We are not sure whether the problem is in VB engine or somewhere in our code that conflicts with the VB. We will try to investigate further.

Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
 
mmasood
User
Topic Author
Posts: 85
Joined: Fri Sep 18, 2015 9:49 pm

Re: Crash on Application Exit

Mon Jan 01, 2018 2:00 pm

Hi Alex,

Have you been able to find a fix for this? This is affecting our clients in Production and they are pressing hard for a fix. Can you give me an estimate that I can update my clients with?

Regards,
M
 
User avatar
Sasha - Tracker Dev Team
User
Posts: 2796
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Crash on Application Exit

Tue Jan 02, 2018 3:57 pm

Hello mmasood,

There are no estimates on this cause - we are trying to find out the root of the problem though still no luck.

Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
 
whoit
User
Posts: 150
Joined: Tue Jul 07, 2015 3:30 pm

Re: Crash on Application Exit

Thu Jan 04, 2018 5:06 pm

Hi Alex -

Can you see if there is at least a work-around for this problem?

Our clients run this unattended in Production, and it can lock up their system for hours when it happens.
It's not something we have been able to trap, so unless a person is actively shutting the app down and is also
there to handle the error, then we have a lock up problem...

Thanks,
Wayne
 
Roman - Tracker Supp
Power User
Posts: 218
Joined: Sun Nov 21, 2004 3:19 pm

Re: Crash on Application Exit

Sat Jan 06, 2018 4:59 am

Hi,
The issue has been resolved. As this is a blocking issue for you we can provide an out-of-order build of the Core API SDK on Monday.
Tracker Software Products

Please ZIP any files uploaded to this forum or they will not be posted !
You may also use a RAR or 7Z archive format
 
whoit
User
Posts: 150
Joined: Tue Jul 07, 2015 3:30 pm

Re: Crash on Application Exit

Mon Jan 08, 2018 3:55 pm

Hi Roman -

Yes this is a showstopper for some, so a fix today (or tomorrow) would be terrific!

Thanks for addressing this so quickly,
Wayne
 
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 12025
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Crash on Application Exit

Mon Jan 08, 2018 4:23 pm

Hi Wayne,

I've asked Roman to prepare the custom build - and share it with you as soon as possible!

Cheers,
Stefan
 
Roman - Tracker Supp
Power User
Posts: 218
Joined: Sun Nov 21, 2004 3:19 pm

Re: Crash on Application Exit

Mon Jan 08, 2018 7:16 pm

Hi Wayne,
Here it is. Please replace the original SDK DLLs with ones from the attached ZIP.
Actually for your VB6 application you need only 32-bit SDK DLL (PDFXCoreAPI.x86.dll).
Please let us know the outcome.
Attachments
PDFXCoreAPI.zip
(17.02 MiB) Downloaded 3 times
Tracker Software Products

Please ZIP any files uploaded to this forum or they will not be posted !
You may also use a RAR or 7Z archive format
 
whoit
User
Posts: 150
Joined: Tue Jul 07, 2015 3:30 pm

Re: Crash on Application Exit

Mon Jan 08, 2018 7:28 pm

Hi Roman -

Great, thanks!
We'll download and test it - it'll take a couple days to verify everything and we'll let you know the results.

Thanks Again,
Wayne
 
User avatar
Sasha - Tracker Dev Team
User
Posts: 2796
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Crash on Application Exit

Tue Jan 09, 2018 7:59 am

Hello Wayne,

Do notify us if everything worked for you.

Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
 
whoit
User
Posts: 150
Joined: Tue Jul 07, 2015 3:30 pm

Re: Crash on Application Exit

Thu Jan 11, 2018 7:00 pm

Hi -

We've done a bunch of internal testing and the problem seems to be resolved.
We have yet to install it into a client environment for further testing, but it looks good so far!

Thanks Again!

-Wayne
 
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 12025
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Crash on Application Exit

Fri Jan 12, 2018 1:02 pm

Thanks Wayne,

Glad to hear that the problem seems to be gone!

Cheers,
Stefan

Who is online

Users browsing this forum: No registered users and 1 guest