[Mono-dev] mono SEGFAULT problem

Hubert FONGARNAND informatique.internet at fiducial.fr
Fri Apr 25 06:30:41 EDT 2008


Hi, everibody

    Since about a week, my SMTP Server (which is in C#/mono) crashes
about 1 time /day...
It's a multithreaded program that work on an RHEL4 server with 3
double-core processor and 16Gio RAM.
The segfaults appears randomly... and i cannot reproduce the bug on my
devs and beta machine. My program doesn't call any C library, so the
crash seems to be on mono itself

I'm running mono 1.9.1 (it crashes too with mono 1.2.6)

without gdb it crashes with:


Stacktrace:
 
 
Native stacktrace:
 
        mono [0x8152f80]
        mono [0x807819a]
        /lib/tls/libpthread.so.0 [0x6b2890]
        mono [0x813bc94]
        mono [0x80bd5c1]
        mono [0x80bdd0a]
        mono [0x8102656]
        mono [0x8116769]
        /lib/tls/libpthread.so.0 [0x6ac371]
        /lib/tls/libc.so.6(__clone+0x5e) [0x535ffe]
 
Debug info from gdb:
 
 
 
=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

  Aborted 

I've run my program with Gdb 

[New Thread 66501552 (LWP 7705)]
[Thread 117857200 (LWP 7700) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 19356592 (LWP 4481)]
mono_debugger_thread_cleanup (jit_tls=0x85ba670) at debug-mini.c:802
802                     if (info->jit_tls != jit_tls)
(gdb) bt
#0  mono_debugger_thread_cleanup (jit_tls=0x85ba670) at debug-mini.c:802
#1  0x08148794 in mini_thread_cleanup (thread=0xb6f5ce70) at mini.c:9670
#2  0x080c4860 in thread_cleanup (thread=0xb6f5ce70) at threads.c:509
#3  0x080c4fc1 in start_wrapper (data=0xb66a7fa0) at threads.c:605
#4  0x0810d09e in thread_start_routine (args=0xb78a4938) at threads.c:282
#5  0x08121b19 in GC_start_routine (arg=0xb65aa9a0) at pthread_support.c:1369
#6  0x006ac371 in start_thread () from /lib/tls/libpthread.so.0
#7  0x00535ffe in clone () from /lib/tls/libc.so.6
(gdb) q
The program is running.  Exit anyway? (y or n) y
[root at lxlyosmc10 Server]# 



Could someone help me please

It seems this is a GC issue 




_________________________________________________

Ce message et les éventuels documents joints peuvent contenir des informations confidentielles.
Au cas où il ne vous serait pas destiné, nous vous remercions de bien vouloir le supprimer et en aviser immédiatement l'expéditeur. Toute utilisation de ce message non conforme à sa destination, toute diffusion ou publication, totale ou partielle et quel qu'en soit le moyen est formellement interdite.
Les communications sur internet n'étant pas sécurisées, l'intégrité de ce message n'est pas assurée et la société émettrice ne peut être tenue pour responsable de son contenu.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080425/b90c066c/attachment-0001.html 


More information about the Mono-devel-list mailing list