LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

'General Protection' fault at 001B:0040269A

Solved!
Go to solution
While I am in de-Bug break mode I can not run any panels in interactive execution with out returning to the paused program to resume. this causes a 'General Protection' fault at the last line number I was paused at (I am in "Classic View")   
0 Kudos
Message 1 of 13
(6,234 Views)
Hi ASIC,

Can you please provide a series of steps that I can run to reproduce the problem? I tried reproducing it based off what you already mentioned but was unable to.  Also, what version of CVI are you using?

Thanks

Best Regards,
Jonathan N.
National Instruments
0 Kudos
Message 2 of 13
(6,212 Views)

CVI version 8.5. Look like I need to restate the problem. whit the program paused (break mode, I did this by clicking the <running> or a break point set, I stepped over a few lines, I select a library control panel like th POW function, set a couple values and ran that panel then without closing the library panel go back to the paused program and select run continue. this action usually generates a General Protection fault at ....

It also occurs when I am interactively conversing with an instrument through the instrument driver interactive panel with a paused program in the background. again, without closing panel returning to the paused program to resume generates this crash too.

0 Kudos
Message 3 of 13
(6,199 Views)
Hi ASIC,

So far I am unable to reproduce the behavior you are seeing. Does this GPF occur everytime you perform the set of steps you mentioned? Does it just occur with your project or have you tried an shipping example? By that I mean run one of our shipping examples and see if performing those same steps causes the problem.  I'll try your steps on a few other machines to see if the problem occurs.

Best Regards,
Jonathan N.
National Instruments
0 Kudos
Message 4 of 13
(6,192 Views)

Every time on all the lab machines and laptops I installed 8.5 on... and tested sofar (about 30 machines)

 

Thanks,

ChipB 

0 Kudos
Message 5 of 13
(6,169 Views)
Hi ASIC,

Does the issue occur with example projects? I couldn't tell when you said "every time" if you were just referring to your projects that you are running or any project. I had a few of my co-workers also try and replicate your issue (just in case I was missing some steps) and they were unable to reproduce the issue as well. I have a feeling that we are just doing different steps than you are.  Can you please provide more specific steps (i.e. please be very detailed about step 1. place a breakpoint; step 2. run the application; ... open this function panel..) Normally I would ask for such detail since you already provided some steps but I really wan't to reproduce your issue so we can fix it. 

Thanks

Best Regards,
Jonathan N.
National Instruments
0 Kudos
Message 6 of 13
(6,166 Views)

Thanks all at NI for checking...

Yes example projects too...

step 1: load a project, I loaded a graphing example myself, that is a problem I need to work on so this was handy in the file-menu...

step 2: in the classic view in de-bug mode I compiled and run, I now have a gunning GUI on screen.

step 3: click on the words in the project window <<Running>> and select the Break Execution... I now have a "c" window with a red boxed break line... in this case the RunUserInterface (); is the line I have.

step 4; pick a library or an instrument... it does not matter. I chose a POW function to test the 2^32 and get a numerical answer run that panel and get an answer.

setp 5; highligh the reactivate the project window... ya know, click on the to bar to bring to front and make it the active window. and click on the green light(GO) which will pop up with a  "Continue" on an extended mouse hover. this is where I get the General Protection fault... 

At this point I am hosed, I must restart the project...

ChipB

0 Kudos
Message 7 of 13
(6,162 Views)
Solution
Accepted by topic author ASIC_LabRat
Hi ASIC,

Thanks so much for clarifying those steps as I can now reproduce the GPF you are seeing. Actually, you don't have to be in Classic View to see this behavior as it occurs with the Integrated View as well.  Anyway, for your reference, the bug ID is #99057.

Thanks for reporting this and I'll see if we can get this fixed in our upcoming maintenance release for you.

Best Regards,
Jonathan N.
National Instruments
0 Kudos
Message 8 of 13
(6,149 Views)

Great! thanks for the update!

 

ChipB in ASIC IIBU

0 Kudos
Message 9 of 13
(6,146 Views)

i got the same problem but i am unable to solve it.

can anyone give me soluation.??

i am using threads for updating GUI and for communication over k-line.

 

0 Kudos
Message 10 of 13
(4,901 Views)