Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
mongolu
Creator
Creator

Qv.exe crash batch process - 0xc0000005

Hi everybody.

We've got recently a new machine for migrating our existent Qlikview environment.

We choose to install Windows Server 2012 R2 x64. We installed the same version of QlikView, server and client, namely Qlikview 12 SR 4 x64.

We have some automatic reloading processes. QVW has a macro for exporting some charts into QVD format and an OnLoad trigger which triggers this macro when opened with a specific variable value (to trigger the export and to know what to export).

In few words, a batch script (cmd) starts reloading a QVW file (/r) and waits for it to finish. The second step is opening the same QVW with a value of export variable (like EXPORT1) and waits for it to finish.

All is fine, QVD is saved.

The problem is at end: it crashes.

The error is this:

test_qv_crash_ 0xc0000005.jpg

Full text says:

Problem signature:

  Problem Event Name:    APPCRASH

  Application Name:    Qv.exe

  Application Version:    12.0.20300.0

  Application Timestamp:    5763d56e

  Fault Module Name:    Qv.exe

  Fault Module Version:    12.0.20300.0

  Fault Module Timestamp:    5763d56e

  Exception Code:    c0000005

  Exception Offset:    0000000000517f8a

  OS Version:    6.3.9600.2.0.0.272.7

  Locale ID:    1033

  Additional Information 1:    c355

  Additional Information 2:    c35565538b7db5524c416719ab84a6a1

  Additional Information 3:    6027

  Additional Information 4:    6027f8a91ce2c2eadb5a60fa6c351c1e

Read our privacy statement online:

  http://go.microsoft.com/fwlink/?linkid=280262

If the online privacy statement is not available, please read our privacy statement offline:

  C:\Windows\system32\en-US\erofflps.txt

There is also an entry in Windows Event log, which says:

Faulting application name: Qv.exe, version: 12.0.20300.0, time stamp: 0x5763d56e

Faulting module name: Qv.exe, version: 12.0.20300.0, time stamp: 0x5763d56e

Exception code: 0xc0000005

Fault offset: 0x0000000000517f8a

Faulting process id: 0x1af0

Faulting application start time: 0x01d1ed6ed105ffd6

Faulting application path: C:\PROGRA~1\QlikView\Qv.exe

Faulting module path: C:\PROGRA~1\QlikView\Qv.exe

Report Id: 100d6a76-5962-11e6-80c6-a4bf01014afa

Faulting package full name:

Faulting package-relative application ID:

I put togheter an example (please see the attached file).

Has anyone been hit by this problem?

Labels (5)
1 Solution

Accepted Solutions
marcus_sommer

Here: c++ - Exception Error c0000005 in VC++ - Stack Overflow is an explanation of the error-code. I would interpret it that there is a timing-problem and some code/script-parts aren't finished when certain system-resources are already released. I'm not sure if you could get rid of them with adding some WaitForIdle/Sleep statements but this would be the first thing what I would trying.

- Marcus

View solution in original post

2 Replies
marcus_sommer

Here: c++ - Exception Error c0000005 in VC++ - Stack Overflow is an explanation of the error-code. I would interpret it that there is a timing-problem and some code/script-parts aren't finished when certain system-resources are already released. I'm not sure if you could get rid of them with adding some WaitForIdle/Sleep statements but this would be the first thing what I would trying.

- Marcus

mongolu
Creator
Creator
Author

Thanks Marcus.

I’ve added ActiveDocument.GetApplication.Sleep 5000 before Quit command and it’s OK now.

I’ve tried also with ActiveDocument.GetApplication.WaitForIdle and didn’t work.

I’ve noticed that splash screen do not “finish to appear” when QV runs last command, ActiveDocument.GetApplication.Quit.

So I added a line in C:\Users\[username]\AppData\Roaming\QlikTech\QlikView\Settings.ini file, “[Settings 7]” section, with SuppressSplash=1 and now it’s working fine.

(also I removed Sleep command in macro).

Thank you.