06-18-2008 03:15 PM
Hi Robert,
Having experienced the "Internal Error Message ThEvent.cpp line 192" error, I'd say this is a different issue you are having. We have experienced that error several times and NI is working on it. For us it was an issue related to network shared variables on quad core machines. Is this relevant to you?
Sima
06-18-2008 06:45 PM
06-19-2008 08:39 AM - edited 06-19-2008 08:40 AM
That's very interesting. No shared variables?
The way I started the debugging process was to disable chunks of the code one at a time and see if what would crash. Eventually, I ended up with a single loop that contained some networked shared variables writing to single process variables. NI said they believed the crash was related to networked shared variables on quad core machines, and they were able to reproduce this error (i.e. Thevent.cpp line 192) using the VI I sent them.
Since you don't have shared variables, I wonder if something else is going on. Could you briefly describe what your code is doing?
06-19-2008 09:21 AM
I have a main calculation loop that is talking to lots of other loops over RT FIFOs. I have a CAN loop, a TCP loop, a DAQ loop, a VISA loop that talks to a custom PCI device, and several other minor loops. There's a lot going on.
I wish I could spend more time tracking down crashes and LabVIEW bugs, but it feels like if I did that, I wouldn't have time to do any actual development.
06-19-2008 11:31 AM
I was just running the app in the dev environment targeted to my quad core RT desktop target. When I hit the stop button, the RT box crashed with the following error:
"System error KERNEL.446571: 344: Internal error detected by SMP multi-tasker."
Is this 344 error related to the 1528? What does 344 mean?
No error info was logged to the error log file. This is the first time I've seen the error, and I've already followed the same procedure (without crashing) about 10 times with the same code.
Any ideas, Mike? NI?
06-19-2008 12:31 PM
06-19-2008 12:38 PM
FlamingYawn wrote:
I have a main calculation loop that is talking to lots of other loops over RT FIFOs. I have a CAN loop, a TCP loop, a DAQ loop, a VISA loop that talks to a custom PCI device, and several other minor loops. There's a lot going on.
I wish I could spend more time tracking down crashes and LabVIEW bugs, but it feels like if I did that, I wouldn't have time to do any actual development.
Unfortunately, we've had to do a lot of that as it was the only way we could get closer to a solution. Try a binary search: disable half your code and find out the result. If it passes, do a binary search on your other half, and so on.
I'm interested to find out if the "ThEvent.cpp line 192" error you experienced is related to this kernel crash or whether they are 2 separate problems. I'd also like to know what else other than networked shared variables on a quad core can cause that crash (which happened in your code).
06-19-2008 12:58 PM - edited 06-19-2008 01:01 PM
06-19-2008 01:00 PM
06-19-2008 01:12 PM