LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

CVI2009 The program has caused a 'General Protection' fault

Hello Jan -

 

Thanks for the information - it's been a great help in narrowing down the cause of the issue.  

 

Yesterday I was able to create a small program that recreated the crash you were seeing, and as a result, we've been able to carefully characterize this issue.  The bug ID for this issue is 201259.  Unfortunately, due to the nature of the issue, there does not appear to be an easy workaround for you.  The only thing I can think of is that because the root of the issue lies in removing WinMsgCallbacks, if you were to synchronize around removing those callbacks, the issue should go away.  However, I certainly realize this would be a pretty major change to your code, and likely unacceptable.

 

Just curious, what is the urgency of this issue for you?  We will certainly fix this for the next release of CVI, but because CVI 2009 has just released, the next release quite a ways away.  Is this fix something you can wait for, or are you stuck in your tracks?

 

Thanks, and sorry for any inconvenience,

 

NickB

National Instruments 

0 Kudos
Message 11 of 18
(2,900 Views)

Hi NickB,

 

We would like a patch for this in the next couple of months. The next version of our application was planned to be released in April. The bug does not affect us during the development phase.

 

We do understand that you want to stick to your release schedules, but we would appreciate a downloadable  fixed RTE. If I remember correctly, you have issued downloadable fixes before.

 

Thanks for very good support regarding this matter.Smiley Happy

 

Jan

 

0 Kudos
Message 12 of 18
(2,875 Views)

Hello Jan - 

 

Thanks for the information.  In order to proceed further, I'm going to need to contact you via email.  Do I have your permission to get your email address from the Forum Administrator?

 

Thanks -

 

NickB

National Instruments 

0 Kudos
Message 13 of 18
(2,853 Views)

Hi,

 

Please go ahead. You have my permission to obtain my e-mail address from Forum Administrator.

 

Jan

0 Kudos
Message 14 of 18
(2,839 Views)

Has this issue finally been solved in an release?

I also see a 'General Protection' fault that appears to be a race condition.

0 Kudos
Message 15 of 18
(1,519 Views)

Hi

 

It was fixed in CVI2009 ServicePack 1

Performance

ID Fixed Issue Has Run-Time Impact?
    No
    Yes
    Yes
201259 Calling RegisterWinMsgCallback and UnRegisterWinMsgCallback from different threads may result in a crash. Yes

 

Jan

 

0 Kudos
Message 16 of 18
(1,501 Views)

Thank you for the information! Smiley Happy

0 Kudos
Message 17 of 18
(1,486 Views)

Hello, I made simply sql programs including read/write to sql but ı take error "FATAL RUN-TIME ERROR: "sqlite3.c", line 43631, col 3, thread id 0x00001B10: The program has caused a 'General Protection' fault at 0x01889948." line 43631 "osGetSystemInfo(&winSysInfo); " in sqlite.h.  Also ıt run another pc as both of them  win7 x64. Are there any solution about it?

0 Kudos
Message 18 of 18
(1,268 Views)