Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unhandled exception AssertionFailed
20-03-2017, 10:25 PM
Post: #1
Unhandled exception AssertionFailed
I recently received the following error message while shutting down MinimServer on Windows:

ohNet fatal error: Unhandled exception AssertionFailed at Os/Windows/SignalHandlers.cpp:19 in thread TimerManager

_OhNetLibraryStartCombined@4
RtlRaiseStatus
RtlRaiseStatus
KiUserExceptionDispatcher
_OhNetLibraryStartCombined@4
_OhNetLibraryStartCombined@4

After producing this output, ohNet crashed with an access violation. I repeated the same steps but the error didn't occur again. Does the above output provide any useful pointers?
Find all posts by this user
Quote this message in a reply
22-03-2017, 11:37 AM
Post: #2
RE: Unhandled exception AssertionFailed
I'd guess that this shows a race on shutdown that can cause freed memory to be accessed.

ohNet fatal error: Unhandled exception AssertionFailed at Os/Windows/SignalHandlers.cpp:19 in thread TimerManager

says that ohNet has caught a Windows structured exception of type EXCEPTION_ACCESS_VIOLATION. This could be caused by accessing freed or otherwise invalid memory but we can't say for sure. The stack has been trashed by this point - the call stack that follows this message is nonsense.

I haven't seen any similar issues from our tests. I'll keep an eye out for anything similar though.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: