How to find the error in 'Program .. exited with code -2147483645 (0x80000003).'

I have testing a uwp project on Win 10 iot kernel with raspberry pi 3. I am doing remote debugging on a device. After a while, the application crashes, and only I see that there is an error in debugging. "Program .. exited with code -2147483645 (0x80000003)". how can i see more meaningful things about this. After that, debugging stops.

Edit The output in vs 2015 is no longer displayed. Only this mistake. My project is related to devices. I am doing some read and write operations using ConcurrentDictionary

from different threads. But all these operations are in a try catch block. I can't be sure if this is the problem because nobody comes to catch.Also I have the following App.cs code

this.UnhandledException += (sender, e) =>
            {
                e.Handled = true;
                System.Diagnostics.Debug.WriteLine(e.Exception);
            };

      

But this code is also not displayed.

+3


source to share


2 answers


I faced a similar error while wrapping a C ++ DLL for a Windows Forms Application.

The problem was that I returned unmanaged const char*

from the C ++ process and declared it as string

in the C # environment (which should work), but the system did not recognize it, but not catch any error.

This seems to be built in C # behavior. I had to go through IntPtr

and marshal to string and the error magically disappeared.



It might have nothing to do with your settings, but the symptoms were the same: "The application crashed without warning and no exception was thrown or caught."

If I were you, and if you are still struggling with this problem, I would look for problems in DLL wrappers.

0


source


According to this Wiki it is an issue with misconfigured system files. Decision:

1) Start your computer and log in as an administrator.

2) Click the "Start" button, then select "All Programs", "Accessories", "System Tools" and "System Restore".

3) In the new window, select the option "Restore my computer to an earlier time" and click "Next".



4) Select the most recent system restore point from the "In the list, click the restore list" list and click "Next".

5) Click "Next" in the confirmation window.

6) Reboots the computer when the recovery is complete.

-1


source







All Articles