Hello All,

   I have developed a Winforms appliication in C# .NET 2005. It runs fine with 
MONO2.0 on windows. But when I run it on MONO 2.0 on RHEL5, it crashes during 
the startup giving the following exceptions -

Thread 3 (Thread 8915856 (LWP 20616)):
#0  0x00e6a402 in __kernel_vsyscall ()
#1  0x00d51236 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x0814cc2f in timedwait_signal_poll_cond (cond=0x89c63a4, mutex=0x89c638c, 
    timeout=0x0, alertable=0) at handles.c:1490
.
.
.
Thread 2 (Thread 86682512 (LWP 20617)):
#0  0x00e6a402 in __kernel_vsyscall ()
#1  0x00d53dfb in read () from /lib/libpthread.so.0
#2  0x0806c1ab in mono_handle_native_sigsegv (signal=11, ctx=0x52a9e2c)
    at mini-exceptions.c:1327
#3  0x08173ccb in sigsegv_signal_handler (_dummy=11, info=0x52a9dac, 
    context=0x52a9e2c) at mini.c:13392
#4  <signal handler called>
.
.
.
Thread 1 (Thread 1116400 (LWP 20614)):
#0  0x00e6a402 in __kernel_vsyscall ()
#1  0x00d53b31 in __lll_mutex_unlock_wake () from /lib/libpthread.so.0
#2  0x00d50869 in _L_mutex_unlock_101 () from /lib/libpthread.so.0
#3  0x00d504d0 in __pthread_mutex_unlock_usercnt () from /lib/libpthread.so.0
#4  0x00d50860 in pthread_mutex_unlock () from /lib/libpthread.so.0
.
.
.
=================================================================
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.
=================================================================


  I have attached the Full Stack Trace Report with the mail.

  Please help me identify the problem here. Am I missing anything ?


Thanks,
Om..
Native stacktrace:

        mono [0x806c039]
        mono [0x8173ccb]
        [0xe6a440]
        /usr/local/lib/libgluezilla.so(_ZN6Widget6ResizeEjj+0x4e) [0x5ce320e]
        /usr/local/lib/libgluezilla.so(_ZN6Widget6ResizeEP6Params+0x2e) 
[0x5ce791e]
        /usr/local/lib/libgluezilla.so [0x5ce379a]
        /usr/local/lib/libglib-2.0.so.0 [0x46df41]
        /usr/local/lib/libglib-2.0.so.0(g_main_context_dispatch+0x17c) 
[0x46fb2c]
        /usr/local/lib/libglib-2.0.so.0 [0x472f7f]
        /usr/local/lib/libglib-2.0.so.0(g_main_loop_run+0x1a9) [0x473329]
        /usr/lib/libgtk-x11-2.0.so.0(gtk_main+0xb4) [0x5522b84]
        /usr/local/lib/libgluezilla.so(_Z11gtk_startupPv+0x52) [0x5ce6882]
        /usr/local/lib/libglib-2.0.so.0 [0x4980af]
        /lib/libpthread.so.0 [0xd4d43b]
        /lib/libc.so.6(clone+0x5e) [0xca4fde]

Debug info from gdb:

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 1116400 (LWP 20614)]
[New Thread 86682512 (LWP 20617)]
[New Thread 8915856 (LWP 20616)]
[New Thread 3378064 (LWP 20615)]
0x00e6a402 in __kernel_vsyscall ()
  4 Thread 3378064 (LWP 20615)  0x00e6a402 in __kernel_vsyscall ()
  3 Thread 8915856 (LWP 20616)  0x00e6a402 in __kernel_vsyscall ()
  2 Thread 86682512 (LWP 20617)  0x00e6a402 in __kernel_vsyscall ()
  1 Thread 1116400 (LWP 20614)  0x00e6a402 in __kernel_vsyscall ()

Thread 4 (Thread 3378064 (LWP 20615)):
#0  0x00e6a402 in __kernel_vsyscall ()
#1  0x00d545f6 in nanosleep () from /lib/libpthread.so.0
#2  0x0814a021 in collection_thread (unused=0x0) at collection.c:34
#3  0x00d4d43b in start_thread () from /lib/libpthread.so.0
#4  0x00ca4fde in clone () from /lib/libc.so.6

Thread 3 (Thread 8915856 (LWP 20616)):
#0  0x00e6a402 in __kernel_vsyscall ()
#1  0x00d51236 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x0814cc2f in timedwait_signal_poll_cond (cond=0x89c63a4, mutex=0x89c638c, 
    timeout=0x0, alertable=0) at handles.c:1490
#3  0x0814f922 in _wapi_handle_timedwait_signal_handle (handle=0x404, 
    timeout=0x0, alertable=0) at handles.c:1570
#4  0x0814f99c in _wapi_handle_wait_signal_handle (handle=0x404, alertable=0)
    at handles.c:1530
#5  0x0815329d in WaitForSingleObjectEx (handle=0x404, timeout=4294967295, 
    alertable=0) at wait.c:205
#6  0x081c292a in finalizer_thread (unused=0x0) at gc.c:908
#7  0x080e2f60 in start_wrapper (data=0x89d0780) at threads.c:621
#8  0x0814c355 in thread_start_routine (args=0x89c65e4) at threads.c:279
#9  0x0816b0b1 in GC_start_routine (arg=0x26f20) at pthread_support.c:1382
#10 0x00d4d43b in start_thread () from /lib/libpthread.so.0
#11 0x00ca4fde in clone () from /lib/libc.so.6

Thread 2 (Thread 86682512 (LWP 20617)):
#0  0x00e6a402 in __kernel_vsyscall ()
#1  0x00d53dfb in read () from /lib/libpthread.so.0
#2  0x0806c1ab in mono_handle_native_sigsegv (signal=11, ctx=0x52a9e2c)
    at mini-exceptions.c:1327
#3  0x08173ccb in sigsegv_signal_handler (_dummy=11, info=0x52a9dac, 
    context=0x52a9e2c) at mini.c:13392
#4  <signal handler called>
#5  0x05ce09e7 in BrowserWindow::SetDimensions (this=0x8d9fa70, flags=2, x=0, 
    y=0, cx=292, cy=266) at BrowserWindow.cpp:678
#6  0x05ce320e in Widget::Resize (this=0x8db22e8, width=292, height=266)
    at Widget.cpp:316
#7  0x05ce791e in Widget::Resize (this=0x8db22e8, params=0x8de43c8)
    at Widget.h:111
#8  0x05ce379a in gtk_invoke (data=0x8de43c8) at FastDelegate.h:997
#9  0x0046df41 in g_idle_dispatch (source=0x8dd84d8, callback=0x2, 
    user_data=0x8de43c8) at gmain.c:3924
#10 0x0046fb2c in IA__g_main_context_dispatch (context=0x8c67cb8)
    at gmain.c:1814
#11 0x00472f7f in g_main_context_iterate (context=0x8c67cb8, block=1, 
    dispatch=1, self=0x8cb82d8) at gmain.c:2448
#12 0x00473329 in IA__g_main_loop_run (loop=0x8d6cc10) at gmain.c:2656
#13 0x05522b84 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#14 0x05ce6882 in gtk_startup (data=0x0) at gluezilla.cpp:468
#15 0x004980af in g_thread_create_proxy (data=0x8cb82d8) at gthread.c:635
#16 0x00d4d43b in start_thread () from /lib/libpthread.so.0
#17 0x00ca4fde in clone () from /lib/libc.so.6

Thread 1 (Thread 1116400 (LWP 20614)):
#0  0x00e6a402 in __kernel_vsyscall ()
#1  0x00d53b31 in __lll_mutex_unlock_wake () from /lib/libpthread.so.0
#2  0x00d50869 in _L_mutex_unlock_101 () from /lib/libpthread.so.0
#3  0x00d504d0 in __pthread_mutex_unlock_usercnt () from /lib/libpthread.so.0
#4  0x00d50860 in pthread_mutex_unlock () from /lib/libpthread.so.0
#5  0x00471bea in IA__g_source_attach (source=0x8dd84d8, context=0x8c67cbc)
    at gmain.c:680
#6  0x00471cdc in IA__g_idle_add_full (priority=200, 
    function=0x5ce3720 <gtk_invoke>, data=0x8de43c8, notify=0) at gmain.c:3986
#7  0x00471d48 in IA__g_idle_add (function=0x5ce3720 <gtk_invoke>, 
    data=0x8de43c8) at gmain.c:4013
#8  0x05ce3684 in Widget::BeginInvoke (this=0x8db22e8, params=0x8de43c8)
    at Widget.cpp:54
#9  0x05ce6f4f in gluezilla_resize (instance=0x8db22e8, width=292, height=266)
    at gluezilla.cpp:157
#10 0x02ce5f91 in ?? ()
#11 0x08db22e8 in ?? ()
#12 0x00000124 in ?? ()
#13 0x0000010a in ?? ()
#14 0xbfc305b0 in ?? ()
#15 0x02ce5ed5 in ?? ()
#16 0x0899f570 in ?? ()
#17 0x0004a850 in ?? ()
#18 0x000568c0 in ?? ()
#19 0x00000004 in ?? ()
#20 0x00000124 in ?? ()
#21 0x0005ca80 in ?? ()
#22 0x0000010a in ?? ()
#23 0xbfc30594 in ?? ()
#24 0x02ce5f64 in ?? ()
#25 0xbfc305b0 in ?? ()
#26 0x02ce5ed5 in ?? ()
#27 0x08db22e8 in ?? ()
#28 0x00000124 in ?? ()
#29 0x0000010a in ?? ()
#30 0x0100010a in ?? ()
#31 0x0004a850 in ?? ()
#32 0xbfc305c4 in ?? ()
#33 0x02ce5e89 in ?? ()
#34 0x000568c0 in ?? ()
#35 0x00000124 in ?? ()
#36 0x0000010a in ?? ()
#37 0xbfc305d8 in ?? ()
#38 0x02ce55cf in ?? ()
#39 0x000568c0 in ?? ()
#40 0x00000124 in ?? ()
#41 0x0000010a in ?? ()
#42 0xbfc305f8 in ?? ()
#43 0x0773e256 in ?? ()
#44 0x0005ca80 in ?? ()
#45 0x00000000 in ?? ()
#0  0x00e6a402 in __kernel_vsyscall ()

=================================================================
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.
=================================================================

_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

Reply via email to