[Gtk-sharp-list] Monodevelop 0.19 crashes

Andrew York andy at brdstudio.net
Mon Feb 18 22:01:05 EST 2008


MonoDevelop seemed to run better today, I have updated no more files. 
When I do update I update Mono as a whole through the distros 
repositories, I'm not sure what else what updated at the same time, 
sorry maybe I should pay more attention. I hate to state the obvious but 
it looks like the problem is in threading which would explain the 
randomness of the problem. Here is the debug output after a crash:

Debug info from gdb:

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1211251008 (LWP 6472)]
[New Thread -1243898976 (LWP 6758)]
[New Thread -1495524448 (LWP 6757)]
[New Thread -1496577120 (LWP 6754)]
[New Thread -1244951648 (LWP 6749)]
[New Thread -1491604576 (LWP 6746)]
[New Thread -1489499232 (LWP 6589)]
[New Thread -1242846304 (LWP 6581)]
[New Thread -1246004320 (LWP 6580)]
[New Thread -1471558752 (LWP 6578)]
[New Thread -1274459232 (LWP 6577)]
[New Thread -1272968288 (LWP 6491)]
[New Thread -1223001184 (LWP 6476)]
[New Thread -1222853728 (LWP 6475)]
0xffffe410 in __kernel_vsyscall ()
  14 Thread -1222853728 (LWP 6475)  0xffffe410 in __kernel_vsyscall ()
  13 Thread -1223001184 (LWP 6476)  0xffffe410 in __kernel_vsyscall ()
  12 Thread -1272968288 (LWP 6491)  0xffffe410 in __kernel_vsyscall ()
  11 Thread -1274459232 (LWP 6577)  0xffffe410 in __kernel_vsyscall ()
  10 Thread -1471558752 (LWP 6578)  0xffffe410 in __kernel_vsyscall ()
  9 Thread -1246004320 (LWP 6580)  0xffffe410 in __kernel_vsyscall ()
  8 Thread -1242846304 (LWP 6581)  0xffffe410 in __kernel_vsyscall ()
  7 Thread -1489499232 (LWP 6589)  0xffffe410 in __kernel_vsyscall ()
  6 Thread -1491604576 (LWP 6746)  0xffffe410 in __kernel_vsyscall ()
  5 Thread -1244951648 (LWP 6749)  0xffffe410 in __kernel_vsyscall ()
  4 Thread -1496577120 (LWP 6754)  0xffffe410 in __kernel_vsyscall ()
  3 Thread -1495524448 (LWP 6757)  0xffffe410 in __kernel_vsyscall ()
  2 Thread -1243898976 (LWP 6758)  0xffffe410 in __kernel_vsyscall ()
  1 Thread -1211251008 (LWP 6472)  0xffffe410 in __kernel_vsyscall ()

Thread 14 (Thread -1222853728 (LWP 6475)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7e30386 in __nanosleep_nocancel () from /lib/libpthread.so.0
#2  0x08122c5e in collection_thread (unused=0x0) at collection.c:34
#3  0xb7e292ab in start_thread () from /lib/libpthread.so.0
#4  0xb7d9b58e in clone () from /lib/libc.so.6

Thread 13 (Thread -1223001184 (LWP 6476)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7e2d056 in pthread_cond_wait@@GLIBC_2.3.2 () from 
/lib/libpthread.so.0
#2  0x0811d50f in timedwait_signal_poll_cond (cond=0xb76a51dc,
    mutex=0xb76a51c4, timeout=0x0, alertable=0) at handles.c:1443
#3  0x0811d60f in _wapi_handle_timedwait_signal_handle (handle=0x404,
    timeout=0x0, alertable=0) at handles.c:1523
#4  0x0811d75a in _wapi_handle_wait_signal_handle (handle=0xfffffffc,
    alertable=-4) at handles.c:1483
#5  0x0810d741 in WaitForSingleObjectEx (handle=0x404, timeout=4294967295,
    alertable=0) at wait.c:200
#6  0x080e29e7 in finalizer_thread (unused=0x0) at gc.c:894
#7  0x080c7ca0 in start_wrapper (data=0x8260768) at threads.c:573
#8  0x0810fa30 in thread_start_routine (args=0xb75a6518) at threads.c:264
#9  0x0812d004 in GC_start_routine (arg=0xfffffffc) at 
pthread_support.c:1369
#10 0xb7e292ab in start_thread () from /lib/libpthread.so.0
#11 0xb7d9b58e in clone () from /lib/libc.so.6

Thread 12 (Thread -1272968288 (LWP 6491)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7e30386 in __nanosleep_nocancel () from /lib/libpthread.so.0
#2  0x0810ee24 in SleepEx (ms=500, alertable=1) at threads.c:1008
#3  0x080c7488 in ves_icall_System_Threading_Thread_Sleep_internal (ms=-516)
    at threads.c:960
#4  0xb424efbe in ?? ()
#5  0x000001f4 in ?? ()
#6  0x08c1a058 in ?? ()
#7  0x00672aa0 in ?? ()
#8  0x00672aa0 in ?? ()
#9  0xb42002d0 in ?? ()
#10 0x00000000 in ?? ()

Thread 11 (Thread -1274459232 (LWP 6577)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7e2d2cc in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#2  0x0811d4bf in timedwait_signal_poll_cond (cond=0xb76a9bb0,
    mutex=0xb76a9b98, timeout=0xb40941e4, alertable=1) at handles.c:1453
#3  0x0811d60f in _wapi_handle_timedwait_signal_handle (handle=0x4b3,
    timeout=0xb40941e4, alertable=0) at handles.c:1523
#4  0x0810d66c in WaitForSingleObjectEx (handle=0x4b3, timeout=5000,
    alertable=1) at wait.c:202
#5  0x080c56d0 in ves_icall_System_Threading_WaitHandle_WaitOne_internal (
    this=0x2f75d0, handle=0xfffffffc, ms=-4, exitContext=1) at 
threads.c:1357
#6  0xb430b94a in ?? ()
#7  0x002f75d0 in ?? ()
#8  0x000004b3 in ?? ()
#9  0x00001388 in ?? ()
#10 0x00000001 in ?? ()
#11 0x08cd5950 in ?? ()
#12 0xb4094278 in ?? ()
#13 0xb430b892 in ?? ()
#14 0x001d1ce8 in ?? ()
#15 0x00000000 in ?? ()

Thread 10 (Thread -1471558752 (LWP 6578)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7e30386 in __nanosleep_nocancel () from /lib/libpthread.so.0
#2  0x0810ee24 in SleepEx (ms=750, alertable=1) at threads.c:1008
#3  0x080c7488 in ves_icall_System_Threading_Thread_Sleep_internal (ms=-516)
    at threads.c:960
#4  0xb424efbe in ?? ()
#5  0x000002ee in ?? ()
#6  0x08f4dc28 in ?? ()
#7  0xb680d68d in ?? ()
#8  0x00000000 in ?? ()

Thread 9 (Thread -1246004320 (LWP 6580)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7e2fd88 in accept () from /lib/libpthread.so.0
#2  0x08111779 in _wapi_accept (fd=25, addr=0x0, addrlen=0x0) at 
sockets.c:201
#3  0x080c2637 in ves_icall_System_Net_Sockets_Socket_Accept_internal (
    sock=4294966784, error=0xb5bb7264) at socket-io.c:779
#4  0xa759f5ca in ?? ()
#5  0x00000019 in ?? ()
#6  0xb5bb7264 in ?? ()
#7  0x09d6ba28 in ?? ()
#8  0xb7e2c35c in __pthread_mutex_unlock_usercnt () from 
/lib/libpthread.so.0
#9  0xa759f3e6 in ?? ()
#10 0x00000019 in ?? ()
#11 0xb5bb7264 in ?? ()
#12 0x00000004 in ?? ()
#13 0x00b2ed20 in ?? ()
#14 0x0810e047 in GetCurrentThreadId () at threads.c:620
#15 0xa759f31a in ?? ()
#16 0x00b2eb70 in ?? ()
#17 0x00b1f258 in ?? ()
#18 0x00b2eb40 in ?? ()
#19 0xb5bb72a8 in ?? ()
#20 0xa759f2c9 in ?? ()
#21 0x00b1f258 in ?? ()
#22 0x00b2ed20 in ?? ()
#23 0xb5bb72cc in ?? ()
#24 0xa759f244 in ?? ()
#25 0x00b1f258 in ?? ()
#26 0x0191d960 in ?? ()
#27 0x00000000 in ?? ()

Thread 8 (Thread -1242846304 (LWP 6581)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7e2d2cc in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#2  0x0811d4bf in timedwait_signal_poll_cond (cond=0xb76acb5c,
    mutex=0xb76acb44, timeout=0xb5eba114, alertable=1) at handles.c:1453
#3  0x0811d60f in _wapi_handle_timedwait_signal_handle (handle=0x524,
    timeout=0xb5eba114, alertable=0) at handles.c:1523
#4  0x0810d66c in WaitForSingleObjectEx (handle=0x524, timeout=10000,
    alertable=1) at wait.c:202
#5  0x080c56d0 in ves_icall_System_Threading_WaitHandle_WaitOne_internal (
    this=0xb1f168, handle=0xfffffffc, ms=-4, exitContext=1) at 
threads.c:1357
#6  0xb430b94a in ?? ()
#7  0x00b1f168 in ?? ()
#8  0x00000524 in ?? ()
#9  0x00002710 in ?? ()
#10 0x00000001 in ?? ()
#11 0x09d69ef8 in ?? ()
#12 0xb5eba1a8 in ?? ()
#13 0xb430b892 in ?? ()
#14 0x00b30a30 in ?? ()
#15 0x00000000 in ?? ()

Thread 7 (Thread -1489499232 (LWP 6589)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7e30386 in __nanosleep_nocancel () from /lib/libpthread.so.0
#2  0x0810ee24 in SleepEx (ms=3000, alertable=1) at threads.c:1008
#3  0x080c7488 in ves_icall_System_Threading_Thread_Sleep_internal (ms=-516)
    at threads.c:960
#4  0xb424efbe in ?? ()
#5  0x00000bb8 in ?? ()
#6  0x09db9ee8 in ?? ()
#7  0xb680d68d in ?? ()
#8  0x017c4f28 in ?? ()
#9  0x00000000 in ?? ()

Thread 6 (Thread -1491604576 (LWP 6746)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7e2d2cc in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#2  0x0811d4bf in timedwait_signal_poll_cond (cond=0xb76a502c,
    mutex=0xb76a5014, timeout=0xa717e318, alertable=1) at handles.c:1453
#3  0x0811d60f in _wapi_handle_timedwait_signal_handle (handle=0x400,
    timeout=0xa717e318, alertable=0) at handles.c:1523
#4  0x0810d66c in WaitForSingleObjectEx (handle=0x400, timeout=10000,
    alertable=1) at wait.c:202
#5  0x080c3b04 in async_invoke_thread (data=0x0) at threadpool.c:1226
#6  0x080c7ca0 in start_wrapper (data=0xa7905fb8) at threads.c:573
#7  0x0810fa30 in thread_start_routine (args=0xb75bd798) at threads.c:264
#8  0x0812d004 in GC_start_routine (arg=0xfffffffc) at 
pthread_support.c:1369
#9  0xb7e292ab in start_thread () from /lib/libpthread.so.0
#10 0xb7d9b58e in clone () from /lib/libc.so.6

Thread 5 (Thread -1244951648 (LWP 6749)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7e2d2cc in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#2  0x0811d4bf in timedwait_signal_poll_cond (cond=0x8206480, 
mutex=0x82064b4,
    timeout=0x0, alertable=1) at handles.c:1453
#3  0x0811d7bc in _wapi_handle_wait_signal () at handles.c:1469
#4  0x0810dbf4 in WaitForMultipleObjectsEx (numobjects=2, handles=0xa7a9bc8,
    waitall=0, timeout=4294967295, alertable=1) at wait.c:675
#5  0x080c6e29 in ves_icall_System_Threading_WaitHandle_WaitAny_internal (
    mono_handles=0x16cf138, ms=-4, exitContext=0) at threads.c:1317
#6  0xb6612a87 in ?? ()
#7  0x016cf138 in ?? ()
#8  0xffffffff in ?? ()
#9  0x00000000 in ?? ()

Thread 4 (Thread -1496577120 (LWP 6754)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7e2d2cc in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#2  0x0811d4bf in timedwait_signal_poll_cond (cond=0xb76ac9ac,
    mutex=0xb76ac994, timeout=0x0, alertable=1) at handles.c:1453
#3  0x0811d60f in _wapi_handle_timedwait_signal_handle (handle=0x520,
    timeout=0x0, alertable=0) at handles.c:1523
#4  0x0811d75a in _wapi_handle_wait_signal_handle (handle=0xfffffffc,
    alertable=-4) at handles.c:1483
#5  0x0810d741 in WaitForSingleObjectEx (handle=0x520, timeout=4294967295,
    alertable=1) at wait.c:200
#6  0x080c56d0 in ves_icall_System_Threading_WaitHandle_WaitOne_internal (
    this=0xb1f3a8, handle=0xfffffffc, ms=-4, exitContext=0) at 
threads.c:1357
#7  0xb430b94a in ?? ()
#8  0x00b1f3a8 in ?? ()
#9  0x00000520 in ?? ()
#10 0xffffffff in ?? ()
#11 0x00000000 in ?? ()

Thread 3 (Thread -1495524448 (LWP 6757)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7e2ff08 in recvfrom () from /lib/libpthread.so.0
#2  0x08110e8e in _wapi_recvfrom (fd=29, buf=0x1949010, len=4096,
    recv_flags=0, from=0x0, fromlen=0x0) at sockets.c:565
#3  0x08110f7e in _wapi_recv (fd=4294966784, buf=0xfffffe00, len=4294966784,
    recv_flags=-512) at sockets.c:543
#4  0x080c2417 in ves_icall_System_Net_Sockets_Socket_Receive_internal (
    sock=4294966784, buffer=0x1949000, offset=0, count=4096, flags=0,
    error=0xa6dc1120) at socket-io.c:1328
#5  0xa749e536 in ?? ()
#6  0x0000001d in ?? ()
#7  0x01949000 in ?? ()
#8  0x00000000 in ?? ()

Thread 2 (Thread -1243898976 (LWP 6758)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7e2d2cc in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#2  0x0811d4bf in timedwait_signal_poll_cond (cond=0xb76af6d0,
    mutex=0xb76af6b8, timeout=0xb5db91dc, alertable=1) at handles.c:1453
#3  0x0811d60f in _wapi_handle_timedwait_signal_handle (handle=0x58b,
    timeout=0xb5db91dc, alertable=0) at handles.c:1523
#4  0x0810d66c in WaitForSingleObjectEx (handle=0x58b, timeout=10000,
    alertable=1) at wait.c:202
#5  0x080c56d0 in ves_icall_System_Threading_WaitHandle_WaitOne_internal (
    this=0x1afc870, handle=0xfffffffc, ms=-4, exitContext=0) at 
threads.c:1357
#6  0xb430b94a in ?? ()
#7  0x01afc870 in ?? ()
#8  0x0000058b in ?? ()
#9  0x00002710 in ?? ()
#10 0x00000000 in ?? ()

Thread 1 (Thread -1211251008 (LWP 6472)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7d94c71 in ___newselect_nocancel () from /lib/libc.so.6
#2  0xb7e8f9a0 in g_spawn_sync () from /opt/gnome/lib/libglib-2.0.so.0
#3  0xb7e8fd6c in g_spawn_command_line_sync ()
   from /opt/gnome/lib/libglib-2.0.so.0
#4  0x08170dfb in mono_handle_native_sigsegv (signal=11, ctx=0xbfd587ac)
    at mini-exceptions.c:1061
#5  0x0813d432 in sigsegv_signal_handler (_dummy=11, info=0xbfd5872c,
    context=0xbfd587ac) at mini.c:11596
#6  <signal handler called>
#7  0xb62b06fd in gdk_events_pending () from 
/opt/gnome/lib/libgdk-x11-2.0.so.0
#8  0xb62b21bb in gdk_events_pending () from 
/opt/gnome/lib/libgdk-x11-2.0.so.0
#9  0xb62b255f in gdk_add_client_message_filter ()
   from /opt/gnome/lib/libgdk-x11-2.0.so.0
#10 0xb7e64abd in g_main_context_dispatch ()
   from /opt/gnome/lib/libglib-2.0.so.0
#11 0xb7e67cbf in g_main_context_check () from 
/opt/gnome/lib/libglib-2.0.so.0
#12 0xb7e68069 in g_main_loop_run () from /opt/gnome/lib/libglib-2.0.so.0
#13 0xb6437d04 in gtk_main () from /opt/gnome/lib/libgtk-x11-2.0.so.0
#14 0xa7b91e7e in ?? ()
#15 0xbfd58df0 in ?? ()
#16 0xa7b91e48 in ?? ()
#17 0x0821c0d0 in ?? ()
#18 0xa7b91e40 in ?? ()
#19 0xa7b91e28 in ?? ()
#20 0x000f1d80 in ?? ()
#21 0x00000000 in ?? ()
#0  0xffffe410 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.
=================================================================

Aborted


Lluis Sanchez wrote:
> Are you running MD 0.19 with the same gtk# and mono version you ran MD
> 0.18? Did you update anything else in your system?
> Can you post the output you get when MD crashes?
>
> El dl 18 de 02 del 2008 a les 06:02 -0500, en/na Andrew York va
> escriure:
>   
>> I'm having a heck of a time with the new Monodevelop 0.19 RC1. It is 
>> crashing often at various times, sometimes when compiling, sometimes 
>> when opening a stetic gui. I had little or no problems with 0.18 Beta3.
>>
>> These crashes are happening with OpenSuse 10.1 and Ubuntu 7.2, I'm 
>> thinking that maybe I have some config files that need to be cleaned up 
>> but I'm not sure. Using the command line MonoDevelop --debug didn't not 
>> give me any specific errors that may help, and I didn't see anything 
>> unusual with the stack.
>>
>> I would appreciate any trouble shooting tips you may have.
>>
>> Thanks
>>
>> Andy
>>
>>
>> _______________________________________________
>> Gtk-sharp-list maillist  -  Gtk-sharp-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
>>     
>
>
>
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20080218/aa40e250/attachment-0001.html 


More information about the Gtk-sharp-list mailing list