Solved Fatal Error when exiting app
-
I'm getting the following error in the Application Output window when I exit my app:
# # Fatal error in: ../../rtc_base/task_queue_win.cc, line 225 # last system error: 1444 # Check failed: 1816L == ::GetLastError() (1816 vs. 1444) # 10:08:43: The program has unexpectedly finished.=
It doesn't seem to affect the app, except I think on Windows 7, my user gets a crash dialog. Any ideas how I can track this down?
-
Hi
If you run it in the debugger, maybe
the call stack can show more information on
what it was doing ?
I have not seen this error before.
is in on linux ?
also is task_queue_win.cc your file or part of system ? -
This is on Windows, but I'm not sure if it happens on other platforms. This is also not my code.
-
@JonathanA
well does it happen with debugger on ? -
It does and, upon further reflection, while it isn't actually my code, it is in a library that we use. So it just looks like something isn't getting cleaned up correctly on exit.
-
Any ideas how I can track this down?
https://chromium.googlesource.com/external/webrtc/+/master/rtc_base/task_queue_win.cc, indeed line #225. It's a warning. You are getting a ERROR_INVALID_THREAD_ID, you are only supposed to get a ERROR_NOT_ENOUGH_QUOTA. Whether you can do anything with that information I don't know.