Bug 19217 - Assertion: should not be reached at tramp-amd64.c:405
Summary: Assertion: should not be reached at tramp-amd64.c:405
Alias: None
Product: Runtime
Classification: Mono
Component: GC ()
Version: 3.2.x
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2014-04-22 08:50 UTC by Anton Tayanovskyy
Modified: 2014-06-03 22:33 UTC (History)
4 users (show)

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

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Anton Tayanovskyy 2014-04-22 08:50:39 UTC

Native stacktrace:

    /usr/lib/libmonosgen-2.0.so.1(+0xd6092) [0x7f89aa9a5092]
    /usr/lib/libpthread.so.0(+0xf880) [0x7f89aa6c1880]
    /usr/lib/libc.so.6(gsignal+0x39) [0x7f89aa33f389]
    /usr/lib/libc.so.6(abort+0x148) [0x7f89aa340788]
    /usr/lib/libmonosgen-2.0.so.1(+0x262b15) [0x7f89aab31b15]
    /usr/lib/libmonosgen-2.0.so.1(+0x262c56) [0x7f89aab31c56]
    /usr/lib/libmonosgen-2.0.so.1(+0x1336c3) [0x7f89aaa026c3]

Debug info from gdb:

Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.

This happens when handling exceptions in our heavily multi-threaded F# application. I do not think it is always deterministic. Have not found a small repro example yet, will post if I do.

Comment 1 Anton Tayanovskyy 2014-04-22 08:51:45 UTC
Mono JIT compiler version 3.2.8 (tarball Mon Mar  3 12:37:20 UTC 2014)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
	TLS:           __thread
	SIGSEGV:       altstack
	Notifications: epoll
	Architecture:  amd64
	Disabled:      none
	Misc:          softdebug 
	LLVM:          supported, not enabled.
	GC:            sgen
Comment 2 Zoltan Varga 2014-04-22 17:29:42 UTC
Could you try mono 3.4.0 ?
Comment 3 Zoltan Varga 2014-04-22 18:02:42 UTC
Also, before the assertion, the runtime should print out a number to standard output. Does that happen ?
Comment 4 Anton Tayanovskyy 2014-06-03 22:27:03 UTC
Since we've moved on to Mono 3.4.0, I have not been able to reproduce this. Thanks!
Comment 5 Rodrigo Kumpera 2014-06-03 22:33:04 UTC
marking as fixed.