[Mono-bugs] [Bug 566263] New: [2.4.3/2.6.1] Dead lock in 'mono mod-mono-server2.exe'

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Dec 19 12:53:54 EST 2009



           Summary: [2.4.3/2.6.1] Dead lock in 'mono mod-mono-server2.exe'
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.4.x
          Platform: Sparc
        OS/Version: Linux
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: JIT
        AssignedTo: lupus at novell.com
        ReportedBy: joel.bertrand at systella.fr
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; fr; rv:
Gecko/20091112 Iceape/2.0 (Debian-2.0-1)

I have installed iFolder on a sparc server (T1 processor) running Linux Debian
and mono 2.4.3. I have tried to build mono 2.6.1 and I have seen the same dead
lock. I use mono 2.4.3 because there are some issues with 2.6.1 and iFolder
(admin interface doesn't work and I have no time to investigate. I have written
I have to investigate in my todo list ;-) ).

Apache 2 loads mod-mono when it is started. iFolder runs fine, but when an user
tries to log in, a mono process is launched and take 100% of a CPU !
When another user connects, another mono process is spawnd and uses 100% of
another CPU...

Both 2.4.3 and 2.6.1 lock at the same point :
(gdb) backtrace
#0  0xf7e1bc28 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00170a20 in _wapi_handle_timedwait_signal_handle (handle=0x400, 
    timeout=0x0, alertable=1, poll=0) at handles.c:1606
#2  0x00177700 in WaitForMultipleObjectsEx (numobjects=3, handles=0xf6704990, 
    waitall=0, timeout=4294967295, alertable=0) at wait.c:724
#3  0x000e1fc4 in wait_for_tids_or_state_change () at threads.c:2510
#4  mono_thread_manage () at threads.c:2717
#5  0x00075f70 in mono_main (argc=<value optimized out>, argv=0xfffd3d84)
    at driver.c:1648
#6  0xf7bd0858 in __libc_start_main () from /lib/libc.so.6
#7  0x00022578 in _start ()

All others threads seem to sleep. Maybe this bug is the same as Bug #565159,
but I'm not sure. All backtraces are included in attached file.

Reproducible: Always

Steps to Reproduce:
1. start apache2 with mod_mono
2. try to connect to iFolder (3.8)
3. when connection is established, mono takes 100% if a CPU. When iFolder
session is closed, CPU usage does't decrease.

Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list