runtime icon indicating copy to clipboard operation
runtime copied to clipboard

Assert failure "Looks like a random breakpoint/trap that was not prepared by the EE debugger"

Open saper opened this issue 11 years ago • 3 comments

When debugging https://github.com/dotnet/coreclr/issues/1102 on FreeBSD I have managed to trigger

Assert failure (unable to format)
/home/saper/git/coreclr/src/vm/stackwalk.cpp
!"Thread::VirtualUnwindToFirstManagedCallFrame: PAL_VirtualUnwind failed"
**** MessageBox invoked, title 'Assert failure (unable to format)' ****
  !"Thread::VirtualUnwindToFirstManagedCallFrame: PAL_VirtualUnwind failed"

(this can be reproduced by applying https://gist.github.com/f58345e94f949d69090d and trying to run a non-CLR executable via ./corerun <name>)

After assertion I get the endless stream of

********

Assert failure(PID 17724 [0x0000453c], Thread: 29385728 [0x1c06400]): !"Looks like a random breakpoint/trap that was not prepared by the EE debugger"
    File: /home/saper/git/coreclr/src/vm/exceptionhandling.cpp, Line: 5066 Image:
/home/saper/sw/dotnet/roslyn/corerun
**** MessageBox invoked, title 'corerun - Assert Failure (PID 17724, Thread 29385728/1c06400)        ' ****
  !"Looks like a random breakpoint/trap that was not prepared by the EE debugger"

/home/saper/git/coreclr/src/vm/exceptionhandling.cpp, Line: 5066

Abort - Kill program
Retry - Debug
Ignore - Keep running

This should not be the case, the program should (ideally) exit.

saper avatar Jun 06 '15 17:06 saper

Since dotnet/coreclr#1136 is merged, can you confirm if this is still happening with latest master?

ghost avatar Jun 18 '15 21:06 ghost

This shouldn't be happening since it required an incorrect patch to trigger this.

kangaroo avatar Jun 19 '15 01:06 kangaroo

Closing this issue since it looks like the problem has been addressed by dotnet/coreclr#1136 and there's not been any activity in a while. Please feel free to reopen if anyone feels differently.

tzwlai avatar Oct 28 '15 20:10 tzwlai