08-09-2013 08:20 AM
It doesn't happen every time, but the conditions that often seem to trigger it are when (a) I've just done an operation that made the program change the contents of the tree and (b) I move the vertical scrollbar fast.
08-28-2013 01:57 AM
I just want to report that I have a similar case. We use a CVI GUI for several years now. The GUI has a dialog with a table control. I don't know exactly the code of that control at the moment so I cannot say how row/column addition/deletion is programmed. Fact is that the table displays log entries which are update live. We recently had setup a few systems for a customer with LV2012SP1. Previously we shiped our systems with LV2010SP1. Since the upgrade to 2012 (it seems) we experience random crashes when scrolling the table control. The crash is also a GPF in ProcessSystemEvents. I I run the same compiled Exe on a LV2010 system the effect cannot be seen.
08-28-2013 07:53 AM
Hi zaphod,
This bug was introduced in version 2012 of the CVI run-time and fixed in version 2013. If you download the lastest version of the run-time, it should fix this problem.
10-14-2013 08:48 AM
Gents,
I have one question concerning this bug, is it possible to reproduce the crash in debug mode ? I ask this because since I move to CVI2012 I face random application crash when playing with table controls that I am not able to reproduce in debug mode.
Regards,
Stephane
10-15-2013 08:03 AM
This is a bug in the run-time engine that is completely independent of the compiler, and so it's just as likely to happen when you're running a release build of your program as when you're running a debug build.
If you would like to find out whether you're hitting this particular bug or not, you can paste here the exception address that the operating system reports after the crash. That, along with the exact version of your cvirte.dll, should allow me to confirm whether it's the same bug or not.
Luis
10-15-2013 08:27 AM
LuisG,
I have installed CVI2013 run-time engine to make a trial and I am not able to reproduce the crash so it can be linked to that bug. But now, if I replace CVI2013 cvirte.dll by my old version (12.0.0.422) in the application directory I am still not able to reproduce the crash ;-(
Is the bug located in cvirte.dll itself or in a dependency ? Do you have an accurate description on how to reproduce this bug on a table control ?
In my case, it seems that in debug mode the bug is very difficult to reproduce, my application is quite heavy and runs very slow in debug mode could it be a reason of the difficulties I have to reproduce this bug ?
Last question, is run-time engine upgrade the only solution ?
Best regards,
Stephane
10-16-2013 05:20 AM
Hello LuisG,
here is the error :
FATAL RUN-TIME ERROR: Unknown source position, thread id 0x00001084: A non-debuggable thread caused a 'General Protection' fault at address 0x684AA34A.
cvirte.dll version = 12.0.0.422
I got it only when running the release build.
Regards,
Stephane
10-16-2013 09:28 AM - edited 10-16-2013 09:29 AM
Yes, this is the same problem. It should be fixed with the 2013 version, so you shouldn't see that crash any more. Unfortunately, there's no workaround other than upgrading cvirte.dll (the bug is in cvirte.dll, not in any of its dependencies).
As far as how to reproduce it is concerned, you should take a look at the description of issue 396240 here. The only thing I'd add to that is that it's relatively common for this to happen when you're dragging the scrollbar of the table, depending on where your mouse pointer is, exactly.
I don't think that your ability to reproduce it would be affected by how slowly your application runs, but I can't be completely sure that that slowness might not affect how the table scrolls, for example.