Bug 16807 - Assertion should not be reached while run code from debugger.
Summary: Assertion should not be reached while run code from debugger.
Status: NEW
Alias: None
Product: Runtime
Classification: Mono
Component: General (show other bugs)
Version: 3.2.x
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Zoltan Varga
URL:
Depends on:
Blocks:
 
Reported: 2013-12-15 15:16 UTC by Sergey Zhukov
Modified: 2014-07-21 12:48 UTC (History)
4 users (show)

See Also:
Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
TestCase (2.25 KB, text/x-csharp)
2013-12-15 15:17 UTC, Sergey Zhukov
Details

Description Sergey Zhukov 2013-12-15 15:16:58 UTC
When I run the test from monodevelop debugger, I've got an exception:

Aborted write b1=True, b2=True, b3=False, b4=False, s2=True
Aborted read b1=True, b2=True, b3=False, b4=False, s2=True
Next iter
Aborted write b1=True, b2=True, b3=True, b4=False, s2=True
* Assertion: should not be reached at exceptions-x86.c:891

Stacktrace:

* Assertion: should not be reached at exceptions-x86.c:891

bash: line 1:  7465 Aborted                 (core dumped) /usr/bin/mono --debug --debugger-agent=transport=dt_socket,address=127.0.0.1:49982 "/home/sergey/Projects/OrphanedLockTest/OrphanedLockTest/bin/Debug/OrphanedLockTest.exe"

Mono Runtime Engine version 3.2.7 (master/01b7a50 Sat Dec 14 01:48:49 NOVT 2013)
Copyright (C) 2002-2013 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
	TLS:           __thread
	SIGSEGV:       altstack
	Notifications: epoll
	Architecture:  x86
	Disabled:      none
	Misc:          softdebug 
	LLVM:          yes(3.4svn-mono-mono/e656cac)
	GC:            sgen

OS: Ubuntu Linux 32 bit
Comment 1 Sergey Zhukov 2013-12-15 15:17:24 UTC
Created attachment 5664 [details]
TestCase
Comment 2 Zoltan Varga 2014-01-21 23:34:41 UTC
This seems to be related to the finally guard trampolines, if I disable MONO_ARCH_HAVE_HANDLER_BLOCK_GUARD in mini-x86.h, it no longer crashes.

Note You need to log in before you can comment on or make changes to this bug.