[Mono-dev] Random deadlocks when spawning via new Process

gerber.matthew gerber.matthew at gmail.com
Sat Aug 10 18:53:38 UTC 2013

Rodrigo Kumpera wrote
> Can you produce a test case that shows this hang? This it will be much
> easier for the moonteam to debug and fix it.


Thanks for your willingness to help. I know you probably have plenty of bugs
to look at, but if you could take a quick at this one I would be extremely
appreciative. I am attaching a simple test case that will produce a
deadlock. To reproduce:

1) Compile with "gmcs Program.cs"
2) Run with "mono Program.exe"
3) If the deadlock does not happen in a second or two, hit CTRL+C and
restart. It might take a few tries, but I haven't had to try more than 10
times or so.

Here are my specs:

Mono JIT compiler version 3.2.0 (tarball Sat Jul 27 11:48:35 EDT 2013)
Copyright (C) 2002-2012 Novell, Inc, Xamarin Inc and Contributors.
	TLS:           __thread
	SIGSEGV:       altstack
	Notifications: epoll
	Architecture:  amd64
	Disabled:      none
	Misc:          softdebug 
	LLVM:          supported, not enabled.
	GC:            sgen

OS:  Xubuntu 12.04

Program.cs <http://mono.1490590.n4.nabble.com/file/n4660504/Program.cs>  

View this message in context: http://mono.1490590.n4.nabble.com/Random-deadlocks-when-spawning-via-new-Process-tp4660495p4660504.html
Sent from the Mono - Dev mailing list archive at Nabble.com.

More information about the Mono-devel-list mailing list