[Mono-dev] Random deadlocks when spawning via new Process
gerber.matthew
gerber.matthew at gmail.com
Sat Aug 10 03:50:42 UTC 2013
Hello,
I'm getting random (as far as I can tell) deadlocks when spawning new
Processes. My application spawns tons of new Process objects (always within
a using block though). Sometimes it runs for a few minutes, and sometimes it
runs for an hour. But it always seems to hang at Process.Start. I found the
following in the gdp thread dump. It looks like it's forking the new process
and then immediately suspending. Any ideas on what might be causing this?
===========================
Thread 6 (Thread 0x7fb020e77700 (LWP 19763)):
#0 0x00007fb02af877a4 in sigsuspend () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00000000005c40fc in suspend_thread (info=0x7faffc003ca0,
context=0x7fb020e75b80) at sgen-os-posix.c:113
#2 0x00000000005c4265 in suspend_handler (sig=<optimized out>,
siginfo=<optimized out>, context=0x7fb020e75b80) at sgen-os-posix.c:134
#3 <signal handler called>
#4 0x00007fb02b010936 in fork () from /lib/x86_64-linux-gnu/libc.so.6
#5 0x0000000000608856 in CreateProcess (appname=<optimized out>,
cmdline=<optimized out>, process_attrs=0x17, thread_attrs=0x7faffc01e850,
inherit_handles=
1, create_flags=134218752, new_environ=0x0, cwd=0x0,
startup=0x7fb020e76320, process_info=0x7fb020e76390) at processes.c:966
#6 0x00000000005760d8 in
ves_icall_System_Diagnostics_Process_CreateProcess_internal
(proc_start_info=0x7fb029dfdd98, stdin_handle=<optimized out>,
stdout_handle=<optimized out>, stderr_handle=<optimized out>,
process_info=0x7fb020e76638) at process.c:760
--
View this message in context: http://mono.1490590.n4.nabble.com/Random-deadlocks-when-spawning-via-new-Process-tp4660495.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
More information about the Mono-devel-list
mailing list