[MonoDevelop] on the fly code formatting issue with readonly properties
Sergey Lobko-Lobanovsky
serge.lobanovsky at gmail.com
Fri Oct 15 17:43:24 EDT 2010
I've tried to debug this, but the debugger crashes via a SIGABRT when it
enters the breakpoint in DomIndentationVisitor.IsSimpleAccessor
:(
* Assertion: should not be reached at debugger-agent.c:4326
Stacktrace:
Native stacktrace:
/usr/local/bin/mono() [0x80dba74]
[0xf14410]
/lib/tls/i686/cmov/libc.so.6(abort+0x182) [0xb6ba82]
/usr/local/bin/mono() [0x8213986]
/usr/local/bin/mono() [0x8213a05]
/usr/local/bin/mono() [0x80f77e2]
/usr/local/bin/mono() [0x80f8959]
/usr/local/bin/mono() [0x80f8b4f]
/usr/local/bin/mono() [0x8100d8b]
/usr/local/bin/mono() [0x81e833f]
/usr/local/bin/mono() [0x82186ee]
/lib/tls/i686/cmov/libpthread.so.0(+0x596e) [0x21e96e]
/lib/tls/i686/cmov/libc.so.6(clone+0x5e) [0xc0ba4e]
Debug info from gdb:
Mono support loaded.
[Thread debugging using libthread_db enabled]
[New Thread 0x5ad1b70 (LWP 2517)]
[New Thread 0x1a8cb70 (LWP 2516)]
[New Thread 0x1788b70 (LWP 2515)]
[New Thread 0x2d2eb70 (LWP 2507)]
[New Thread 0x2669b70 (LWP 2506)]
[New Thread 0x2442b70 (LWP 2505)]
[New Thread 0x1e96b70 (LWP 2504)]
[New Thread 0x21c5b70 (LWP 2502)]
[New Thread 0x52d6b70 (LWP 2501)]
[New Thread 0x1d53b70 (LWP 2500)]
[New Thread 0x1b8db70 (LWP 2499)]
[New Thread 0x1fafb70 (LWP 2496)]
[New Thread 0x219fb70 (LWP 2489)]
[New Thread 0x332b70 (LWP 2485)]
[New Thread 0x210b70 (LWP 2484)]
[New Thread 0xb7717b70 (LWP 2482)]
0x00f14422 in __kernel_vsyscall ()
17 Thread 0xb7717b70 (LWP 2482) 0x00f14422 in __kernel_vsyscall ()
16 Thread 0x210b70 (LWP 2484) 0x00f14422 in __kernel_vsyscall ()
15 Thread 0x332b70 (LWP 2485) 0x00f14422 in __kernel_vsyscall ()
14 Thread 0x219fb70 (LWP 2489) 0x00f14422 in __kernel_vsyscall ()
13 Thread 0x1fafb70 (LWP 2496) 0x00f14422 in __kernel_vsyscall ()
12 Thread 0x1b8db70 (LWP 2499) 0x00f14422 in __kernel_vsyscall ()
11 Thread 0x1d53b70 (LWP 2500) 0x00f14422 in __kernel_vsyscall ()
10 Thread 0x52d6b70 (LWP 2501) 0x00f14422 in __kernel_vsyscall ()
9 Thread 0x21c5b70 (LWP 2502) 0x00f14422 in __kernel_vsyscall ()
8 Thread 0x1e96b70 (LWP 2504) 0x00f14422 in __kernel_vsyscall ()
7 Thread 0x2442b70 (LWP 2505) 0x00f14422 in __kernel_vsyscall ()
6 Thread 0x2669b70 (LWP 2506) 0x00f14422 in __kernel_vsyscall ()
5 Thread 0x2d2eb70 (LWP 2507) 0x00f14422 in __kernel_vsyscall ()
4 Thread 0x1788b70 (LWP 2515) 0x00f14422 in __kernel_vsyscall ()
3 Thread 0x1a8cb70 (LWP 2516) 0x00f14422 in __kernel_vsyscall ()
2 Thread 0x5ad1b70 (LWP 2517) 0x00f14422 in __kernel_vsyscall ()
* 1 Thread 0xb7876b50 (LWP 2481) 0x00f14422 in __kernel_vsyscall ()
Thread 17 (Thread 0xb7717b70 (LWP 2482)):
#0 0x00f14422 in __kernel_vsyscall ()
#1 0x00223015 in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/tls/i686/cmov/libpthread.so.0
#2 0x08218a51 in GC_wait_marker () at pthread_support.c:1790
#3 0x0821b7fa in GC_help_marker (my_mark_no=41) at mark.c:1116
#4 0x08217946 in GC_mark_thread (id=0x0) at pthread_support.c:548
#5 0x0021e96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6 0x00c0ba4e in clone () from /lib/tls/i686/cmov/libc.so.6
Thread 16 (Thread 0x210b70 (LWP 2484)):
#0 0x00f14422 in __kernel_vsyscall ()
#1 0x00225245 in sem_wait@@GLIBC_2.1 ()
from /lib/tls/i686/cmov/libpthread.so.0
#2 0x0820af68 in mono_sem_wait (sem=0x82e9af8, alertable=0)
at mono-semaphore.c:102
#3 0x081cf4b0 in finalizer_thread (unused=0x0) at gc.c:1040
#4 0x08138ea4 in start_wrapper (data=0x87be330) at threads.c:750
#5 0x081e833f in thread_start_routine (args=0x8799bc4) at wthreads.c:285
#6 0x082186ee in GC_start_routine (arg=0x5dfe0) at pthread_support.c:1395
#7 0x0021e96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8 0x00c0ba4e in clone () from /lib/tls/i686/cmov/libc.so.6
Thread 15 (Thread 0x332b70 (LWP 2485)):
#0 0x00f14422 in __kernel_vsyscall ()
#1 0x00225f5b in read () from /lib/tls/i686/cmov/libpthread.so.0
#2 0x080dbc3c in read (signal=6, ctx=0x331c5c)
at /usr/include/bits/unistd.h:45
#3 mono_handle_native_sigsegv (signal=6, ctx=0x331c5c)
at mini-exceptions.c:2030
#4 <signal handler called>
#5 0x00f14422 in __kernel_vsyscall ()
#6 0x00b68651 in raise () from /lib/tls/i686/cmov/libc.so.6
#7 0x00b6ba82 in abort () from /lib/tls/i686/cmov/libc.so.6
#8 0x08213986 in monoeg_g_logv (log_domain=0x0,
log_level=G_LOG_LEVEL_ERROR,
format=0x8238004 "* Assertion: should not be reached at %s:%d\n", args=
0x3320f4 "\245\220$\b\346\020") at goutput.c:137
#9 0x08213a05 in monoeg_assertion_message (format=
0x8238004 "* Assertion: should not be reached at %s:%d\n")
at goutput.c:157
#10 0x080f77e2 in buffer_add_value_full (buf=0x0, t=0x6,
addr=<value optimized out>, domain=0x36e70, as_vtype=0)
at debugger-agent.c:4326
#11 0x080f8959 in add_var (buf=0x33228c, t=<value optimized out>,
var=<value optimized out>, ctx=0x923a988, domain=0x36e70, as_vtype=0)
at debugger-agent.c:4498
#12 0x080f8b4f in frame_commands (command=<value optimized out>, p=
0x924e3c0 "ctor", <incomplete sequence \341>, end=<value optimized
out>,
buf=0x33228c) at debugger-agent.c:6362
#13 0x08100d8b in debugger_thread (arg=0x0) at debugger-agent.c:6767
#14 0x081e833f in thread_start_routine (args=0x8799c4c) at wthreads.c:285
#15 0x082186ee in GC_start_routine (arg=0x5dfe0) at pthread_support.c:1395
#16 0x0021e96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#17 0x00c0ba4e in clone () from /lib/tls/i686/cmov/libc.so.6
Thread 14 (Thread 0x219fb70 (LWP 2489)):
#0 0x00f14422 in __kernel_vsyscall ()
#1 0x00223015 in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/tls/i686/cmov/libpthread.so.0
#2 0x081fcb61 in _wapi_handle_timedwait_signal_handle (handle=0x40b,
timeout=
0x0, alertable=1, poll=0) at handles.c:1638
#3 0x081fcbd4 in _wapi_handle_wait_signal_handle (handle=0x40b,
alertable=1)
at handles.c:1581
#4 0x081ebc67 in WaitForSingleObjectEx (handle=0x40b, timeout=4294967295,
alertable=1) at wait.c:203
#5 0x081ebe50 in WaitForMultipleObjectsEx (numobjects=1,
handles=0xac9cafa8,
waitall=1, timeout=4294967295, alertable=1) at wait.c:579
#6 0x08137af9 in ves_icall_System_Threading_WaitHandle_WaitAll_internal (
mono_handles=0xb5993450, ms=-1, exitContext=0) at threads.c:1577
#7 0x00b269de in ?? ()
#8 0x011821b2 in System.Threading.WaitHandle:WaitAll (waitHandles=
System.Threading.WaitHandle [1])
at
/home/sergey/dev/mono-dev/mono/mcs/class/corlib/System.Threading/WaitHandle.cs:107
#9 0x00b260b4 in ?? ()
#10 0x0117e8a8 in System.Threading.Thread:StartUnsafe (this=...)
at
/home/sergey/dev/mono-dev/mono/mcs/class/corlib/System.Threading/Thread.cs:844
#11 0x00b17be0 in ?? ()
#12 0x080624d8 in mono_jit_runtime_invoke (method=
"System.Threading.ThreadStart:Invoke ()", obj=0xa2348,
params=0x219f2a8,
exc=0x0) at mini.c:5413
#13 0x081d3b90 in mono_runtime_invoke (method=
"System.Threading.ThreadStart:Invoke ()", obj=0xa2348,
params=0x219f2a8,
exc=0x0) at object.c:2709
#14 0x081d3df4 in mono_runtime_delegate_invoke (delegate=0xa2348, params=
0x219f2a8, exc=0x0) at object.c:3360
#15 0x08138f77 in start_wrapper (data=0xb5c3cfe0) at threads.c:756
#16 0x081e833f in thread_start_routine (args=0x8799e6c) at wthreads.c:285
#17 0x082186ee in GC_start_routine (arg=0x5df60) at pthread_support.c:1395
#18 0x0021e96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#19 0x00c0ba4e in clone () from /lib/tls/i686/cmov/libc.so.6
Thread 13 (Thread 0x1fafb70 (LWP 2496)):
#0 0x00f14422 in __kernel_vsyscall ()
#1 0x00223342 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
from /lib/tls/i686/cmov/libpthread.so.0
#2 0x081fca8c in _wapi_handle_timedwait_signal_handle (handle=0x46e,
timeout=
0x1faf058, alertable=1, poll=0) at handles.c:1636
#3 0x081ebb66 in WaitForSingleObjectEx (handle=0x46e, timeout=5000,
alertable=1) at wait.c:205
#4 0x08135493 in ves_icall_System_Threading_WaitHandle_WaitOne_internal (
this=0xb23ef990, handle=0x46e, ms=5000, exitContext=1) at threads.c:1678
#5 0x066ec8be in ?? ()
#6 0x01182c34 in System.Threading.WaitHandle:WaitOne (this=...,
millisecondsTimeout=5000, exitContext=true)
at
/home/sergey/dev/mono-dev/mono/mcs/class/corlib/System.Threading/WaitHandle.cs:345
#7 0x066ec7dc in ?? ()
#8 0x066ec5f2 in ?? ()
#9 0x0117e8a8 in System.Threading.Thread:StartUnsafe (this=...)
at
/home/sergey/dev/mono-dev/mono/mcs/class/corlib/System.Threading/Thread.cs:844
#10 0x00b17be0 in ?? ()
#11 0x080624d8 in mono_jit_runtime_invoke (method=
"System.Threading.ThreadStart:Invoke ()", obj=0xb4cf9508, params=
0x1faf2a8, exc=0x0) at mini.c:5413
#12 0x081d3b90 in mono_runtime_invoke (method=
"System.Threading.ThreadStart:Invoke ()", obj=0xb4cf9508, params=
0x1faf2a8, exc=0x0) at object.c:2709
#13 0x081d3df4 in mono_runtime_delegate_invoke (delegate=0xb4cf9508, params=
0x1faf2a8, exc=0x0) at object.c:3360
#14 0x08138f77 in start_wrapper (data=0xad65e2a0) at threads.c:756
#15 0x081e833f in thread_start_routine (args=0x879d304) at wthreads.c:285
#16 0x082186ee in GC_start_routine (arg=0xb58abfc0) at
pthread_support.c:1395
#17 0x0021e96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#18 0x00c0ba4e in clone () from /lib/tls/i686/cmov/libc.so.6
Thread 12 (Thread 0x1b8db70 (LWP 2499)):
#0 0x00f14422 in __kernel_vsyscall ()
#1 0x00226736 in nanosleep () from /lib/tls/i686/cmov/libpthread.so.0
#2 0x081e7120 in SleepEx (ms=500, alertable=1) at wthreads.c:1025
#3 0x081a265f in monitor_thread (data=0x82e97a0) at threadpool.c:1255
#4 0x08138ea4 in start_wrapper (data=0x8f30e00) at threads.c:750
#5 0x081e833f in thread_start_routine (args=0x879d6bc) at wthreads.c:285
#6 0x082186ee in GC_start_routine (arg=0xb58abfc0) at
pthread_support.c:1395
#7 0x0021e96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8 0x00c0ba4e in clone () from /lib/tls/i686/cmov/libc.so.6
Thread 11 (Thread 0x1d53b70 (LWP 2500)):
#0 0x00f14422 in __kernel_vsyscall ()
#1 0x002253e8 in sem_timedwait () from /lib/tls/i686/cmov/libpthread.so.0
#2 0x0820b062 in mono_sem_timedwait (sem=0x82e97c4, timeout_ms=2000,
alertable=1) at mono-semaphore.c:72
#3 0x081a4638 in async_invoke_thread (data=0x0) at threadpool.c:2041
#4 0x08138ea4 in start_wrapper (data=0x8efa980) at threads.c:750
#5 0x081e833f in thread_start_routine (args=0x879d744) at wthreads.c:285
#6 0x082186ee in GC_start_routine (arg=0xb58abfc0) at
pthread_support.c:1395
#7 0x0021e96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8 0x00c0ba4e in clone () from /lib/tls/i686/cmov/libc.so.6
Thread 10 (Thread 0x52d6b70 (LWP 2501)):
#0 0x00f14422 in __kernel_vsyscall ()
#1 0x002253e8 in sem_timedwait () from /lib/tls/i686/cmov/libpthread.so.0
#2 0x0820b062 in mono_sem_timedwait (sem=0x82e97c4, timeout_ms=2000,
alertable=1) at mono-semaphore.c:72
#3 0x081a4638 in async_invoke_thread (data=0x0) at threadpool.c:2041
#4 0x08138ea4 in start_wrapper (data=0x8f0dee0) at threads.c:750
#5 0x081e833f in thread_start_routine (args=0x879d8dc) at wthreads.c:285
#6 0x082186ee in GC_start_routine (arg=0xb58abf40) at
pthread_support.c:1395
#7 0x0021e96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8 0x00c0ba4e in clone () from /lib/tls/i686/cmov/libc.so.6
Thread 9 (Thread 0x21c5b70 (LWP 2502)):
#0 0x00f14422 in __kernel_vsyscall ()
#1 0x00c0c2c6 in epoll_wait () from /lib/tls/i686/cmov/libc.so.6
#2 0x081a3758 in socket_io_epoll_main (p=0x82e9760) at threadpool.c:700
#3 0x08138ea4 in start_wrapper (data=0x8f426e0) at threads.c:750
#4 0x081e833f in thread_start_routine (args=0x879da74) at wthreads.c:285
#5 0x082186ee in GC_start_routine (arg=0xb376bfe0) at
pthread_support.c:1395
#6 0x0021e96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7 0x00c0ba4e in clone () from /lib/tls/i686/cmov/libc.so.6
Thread 8 (Thread 0x1e96b70 (LWP 2504)):
#0 0x00f14422 in __kernel_vsyscall ()
#1 0x002253e8 in sem_timedwait () from /lib/tls/i686/cmov/libpthread.so.0
#2 0x0820b062 in mono_sem_timedwait (sem=0x82e9864, timeout_ms=2000,
alertable=1) at mono-semaphore.c:72
#3 0x081a4638 in async_invoke_thread (data=0x0) at threadpool.c:2041
#4 0x08138ea4 in start_wrapper (data=0x8f991c0) at threads.c:750
#5 0x081e833f in thread_start_routine (args=0x879dc94) at wthreads.c:285
#6 0x082186ee in GC_start_routine (arg=0xafa95fe0) at
pthread_support.c:1395
#7 0x0021e96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8 0x00c0ba4e in clone () from /lib/tls/i686/cmov/libc.so.6
Thread 7 (Thread 0x2442b70 (LWP 2505)):
#0 0x00f14422 in __kernel_vsyscall ()
#1 0x002253e8 in sem_timedwait () from /lib/tls/i686/cmov/libpthread.so.0
#2 0x0820b062 in mono_sem_timedwait (sem=0x82e9864, timeout_ms=2000,
alertable=1) at mono-semaphore.c:72
#3 0x081a4638 in async_invoke_thread (data=0x0) at threadpool.c:2041
#4 0x08138ea4 in start_wrapper (data=0x8f96a00) at threads.c:750
#5 0x081e833f in thread_start_routine (args=0x879de2c) at wthreads.c:285
#6 0x082186ee in GC_start_routine (arg=0xafa95fa0) at
pthread_support.c:1395
#7 0x0021e96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8 0x00c0ba4e in clone () from /lib/tls/i686/cmov/libc.so.6
Thread 6 (Thread 0x2669b70 (LWP 2506)):
#0 0x00f14422 in __kernel_vsyscall ()
#1 0x002253e8 in sem_timedwait () from /lib/tls/i686/cmov/libpthread.so.0
#2 0x0820b062 in mono_sem_timedwait (sem=0x82e9864, timeout_ms=2000,
alertable=1) at mono-semaphore.c:72
#3 0x081a4638 in async_invoke_thread (data=0x0) at threadpool.c:2041
#4 0x08138ea4 in start_wrapper (data=0x8f96a00) at threads.c:750
#5 0x081e833f in thread_start_routine (args=0x879df3c) at wthreads.c:285
#6 0x082186ee in GC_start_routine (arg=0xafa95fa0) at
pthread_support.c:1395
#7 0x0021e96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8 0x00c0ba4e in clone () from /lib/tls/i686/cmov/libc.so.6
Thread 5 (Thread 0x2d2eb70 (LWP 2507)):
#0 0x00f14422 in __kernel_vsyscall ()
#1 0x002253e8 in sem_timedwait () from /lib/tls/i686/cmov/libpthread.so.0
#2 0x0820b062 in mono_sem_timedwait (sem=0x82e9864, timeout_ms=2000,
alertable=1) at mono-semaphore.c:72
#3 0x081a4638 in async_invoke_thread (data=0x0) at threadpool.c:2041
#4 0x08138ea4 in start_wrapper (data=0x8f964c0) at threads.c:750
#5 0x081e833f in thread_start_routine (args=0x879e04c) at wthreads.c:285
#6 0x082186ee in GC_start_routine (arg=0xafa95f40) at
pthread_support.c:1395
#7 0x0021e96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8 0x00c0ba4e in clone () from /lib/tls/i686/cmov/libc.so.6
Thread 4 (Thread 0x1788b70 (LWP 2515)):
#0 0x00f14422 in __kernel_vsyscall ()
#1 0x00223015 in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/tls/i686/cmov/libpthread.so.0
#2 0x081fcb61 in _wapi_handle_timedwait_signal_handle (handle=0x492,
timeout=
0x0, alertable=1, poll=0) at handles.c:1638
#3 0x081fcbd4 in _wapi_handle_wait_signal_handle (handle=0x492,
alertable=1)
at handles.c:1581
#4 0x081ebc67 in WaitForSingleObjectEx (handle=0x492, timeout=4294967295,
alertable=1) at wait.c:203
#5 0x08135493 in ves_icall_System_Threading_WaitHandle_WaitOne_internal (
this=0xb46e04c8, handle=0x492, ms=-1, exitContext=0) at threads.c:1678
#6 0x066ec8be in ?? ()
#7 0x01182b69 in System.Threading.WaitHandle:WaitOne (this=...)
at
/home/sergey/dev/mono-dev/mono/mcs/class/corlib/System.Threading/WaitHandle.cs:326
#8 0x01bca8d9 in ?? ()
#9 0x0117e8a8 in System.Threading.Thread:StartUnsafe (this=...)
at
/home/sergey/dev/mono-dev/mono/mcs/class/corlib/System.Threading/Thread.cs:844
#10 0x00b17be0 in ?? ()
#11 0x080624d8 in mono_jit_runtime_invoke (method=
"System.Threading.ThreadStart:Invoke ()", obj=0xb56f9188, params=
0x17882a8, exc=0x0) at mini.c:5413
#12 0x081d3b90 in mono_runtime_invoke (method=
"System.Threading.ThreadStart:Invoke ()", obj=0xb56f9188, params=
0x17882a8, exc=0x0) at object.c:2709
#13 0x081d3df4 in mono_runtime_delegate_invoke (delegate=0xb56f9188, params=
0x17882a8, exc=0x0) at object.c:3360
#14 0x08138f77 in start_wrapper (data=0xac867c20) at threads.c:756
#15 0x081e833f in thread_start_routine (args=0x879e624) at wthreads.c:285
#16 0x082186ee in GC_start_routine (arg=0xb3862e80) at
pthread_support.c:1395
#17 0x0021e96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#18 0x00c0ba4e in clone () from /lib/tls/i686/cmov/libc.so.6
Thread 3 (Thread 0x1a8cb70 (LWP 2516)):
#0 0x00f14422 in __kernel_vsyscall ()
#1 0x00223015 in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/tls/i686/cmov/libpthread.so.0
#2 0x081fcb61 in _wapi_handle_timedwait_signal_handle (handle=0x497,
timeout=
0x0, alertable=1, poll=0) at handles.c:1638
#3 0x081fcbd4 in _wapi_handle_wait_signal_handle (handle=0x497,
alertable=1)
at handles.c:1581
#4 0x081ebc67 in WaitForSingleObjectEx (handle=0x497, timeout=4294967295,
alertable=1) at wait.c:203
#5 0x08135493 in ves_icall_System_Threading_WaitHandle_WaitOne_internal (
this=0xb1d9cbe8, handle=0x497, ms=-1, exitContext=0) at threads.c:1678
#6 0x066ec8be in ?? ()
#7 0x01182b69 in System.Threading.WaitHandle:WaitOne (this=...)
at
/home/sergey/dev/mono-dev/mono/mcs/class/corlib/System.Threading/WaitHandle.cs:326
#8 0x0434b0e4 in ?? ()
#9 0x0117e8a8 in System.Threading.Thread:StartUnsafe (this=...)
at
/home/sergey/dev/mono-dev/mono/mcs/class/corlib/System.Threading/Thread.cs:844
#10 0x00b17be0 in ?? ()
#11 0x080624d8 in mono_jit_runtime_invoke (method=
"System.Threading.ThreadStart:Invoke ()", obj=0xb28e50e0, params=
0x1a8c2a8, exc=0x0) at mini.c:5413
#12 0x081d3b90 in mono_runtime_invoke (method=
"System.Threading.ThreadStart:Invoke ()", obj=0xb28e50e0, params=
0x1a8c2a8, exc=0x0) at object.c:2709
#13 0x081d3df4 in mono_runtime_delegate_invoke (delegate=0xb28e50e0, params=
0x1a8c2a8, exc=0x0) at object.c:3360
#14 0x08138f77 in start_wrapper (data=0xac589ee0) at threads.c:756
#15 0x081e833f in thread_start_routine (args=0x879e8cc) at wthreads.c:285
#16 0x082186ee in GC_start_routine (arg=0xb3862e40) at
pthread_support.c:1395
#17 0x0021e96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#18 0x00c0ba4e in clone () from /lib/tls/i686/cmov/libc.so.6
Thread 2 (Thread 0x5ad1b70 (LWP 2517)):
#0 0x00f14422 in __kernel_vsyscall ()
#1 0x00223015 in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/tls/i686/cmov/libpthread.so.0
#2 0x080f9ecc in suspend_current () at debugger-agent.c:2257
#3 0x080fccac in process_suspend () at debugger-agent.c:2081
#4 process_single_step_inner () at debugger-agent.c:3698
#5 process_single_step () at debugger-agent.c:3843
#6 0x08808000 in ?? ()
#7 0x03d6153e in ?? ()
#8 0x0117e8a8 in System.Threading.Thread:StartUnsafe (this=...)
at
/home/sergey/dev/mono-dev/mono/mcs/class/corlib/System.Threading/Thread.cs:844
#9 0x00b17be0 in ?? ()
#10 0x080624d8 in mono_jit_runtime_invoke (method=
"System.Threading.ThreadStart:Invoke ()", obj=0xafac0c08, params=
0x5ad12a8, exc=0x0) at mini.c:5413
#11 0x081d3b90 in mono_runtime_invoke (method=
"System.Threading.ThreadStart:Invoke ()", obj=0xafac0c08, params=
0x5ad12a8, exc=0x0) at object.c:2709
#12 0x081d3df4 in mono_runtime_delegate_invoke (delegate=0xafac0c08, params=
0x5ad12a8, exc=0x0) at object.c:3360
#13 0x08138f77 in start_wrapper (data=0xac5d7eb0) at threads.c:756
#14 0x081e833f in thread_start_routine (args=0x879eaec) at wthreads.c:285
#15 0x082186ee in GC_start_routine (arg=0xb3862d80) at
pthread_support.c:1395
#16 0x0021e96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#17 0x00c0ba4e in clone () from /lib/tls/i686/cmov/libc.so.6
Thread 1 (Thread 0xb7876b50 (LWP 2481)):
#0 0x00f14422 in __kernel_vsyscall ()
#1 0x00223015 in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/tls/i686/cmov/libpthread.so.0
#2 0x080f9ecc in suspend_current () at debugger-agent.c:2257
#3 0x080fbc5a in process_event (event=EVENT_KIND_BREAKPOINT,
arg=<value optimized out>, il_offset=<value optimized out>, ctx=
0xbfb69d0c, events=0xabdd8520, suspend_policy=2) at
debugger-agent.c:2805
#4 0x080fd70f in process_breakpoint_inner () at debugger-agent.c:3618
#5 process_breakpoint () at debugger-agent.c:3636
#6 0x00d2c190 in ?? ()
#7 0x020285c7 in ?? ()
#8 0x020243e2 in ?? ()
#9 0x02021d29 in ?? ()
#10 0x0202767c in ?? ()
#11 0x02021ab2 in ?? ()
#12 0x0202152e in ?? ()
#13 0x02021a2c in ?? ()
#14 0x02025d55 in ?? ()
#15 0x02021992 in ?? ()
#16 0x0202152e in ?? ()
#17 0x020213b4 in ?? ()
#18 0x02024904 in ?? ()
#19 0x0202127a in ?? ()
#20 0x06c89be1 in ?? ()
#21 0x06c898ed in ?? ()
#22 0x06c88ad1 in ?? ()
#23 0x06c88617 in ?? ()
#24 0x06c8856c in ?? ()
#25 0x06c88133 in ?? ()
#26 0x00d2c2b8 in ?? ()
#27 0x080624d8 in mono_jit_runtime_invoke (method=
"MonoDevelop.Ide.Gui.ViewCommandHandlers:OnSaveFile ()",
obj=0xb2014890,
params=0x0, exc=0x0) at mini.c:5413
#28 0x081d3b90 in mono_runtime_invoke (method=
"MonoDevelop.Ide.Gui.ViewCommandHandlers:OnSaveFile ()",
obj=0xb2014890,
params=0x0, exc=0x0) at object.c:2709
#29 0x081d96c1 in mono_runtime_invoke_array (method=
"MonoDevelop.Ide.Gui.ViewCommandHandlers:OnSaveFile ()",
obj=0xb2014890,
params=0x0, exc=0x0) at object.c:4082
#30 0x081accb0 in ves_icall_InternalInvoke (method=0xb3794c30, this=
0xb2014890, params=0x0, exc=0xbfb6a630) at icall.c:2826
#31 0x00b17e85 in ?? ()
#32 0x0104f76e in System.Reflection.MonoMethod:Invoke (this=..., obj=
MonoDevelop.Ide.Gui.ViewCommandHandlers, invokeAttr=Default,
binder=...,
parameters=null, culture=...)
at
/home/sergey/dev/mono-dev/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:223
#33 0x01048890 in System.Reflection.MethodBase:Invoke (this=..., obj=
MonoDevelop.Ide.Gui.ViewCommandHandlers, parameters=null)
at
/home/sergey/dev/mono-dev/mono/mcs/class/corlib/System.Reflection/MethodBase.cs:96
#34 0x06c880db in ?? ()
#35 0x06c87ed4 in ?? ()
#36 0x06c879ae in ?? ()
#37 0x06c86f86 in ?? ()
#38 0x0370f735 in ?? ()
#39 0x055d100a in ?? ()
#40 0x080624d8 in mono_jit_runtime_invoke (method=
"MonoDevelop.Components.Commands.CommandManager:OnKeyPressed ()", obj=
0xb025aed8, params=0xbfb6a8c0, exc=0x0) at mini.c:5413
#41 0x081d3b90 in mono_runtime_invoke (method=
"MonoDevelop.Components.Commands.CommandManager:OnKeyPressed ()", obj=
0xb025aed8, params=0xbfb6a8c0, exc=0x0) at object.c:2709
#42 0x081d96c1 in mono_runtime_invoke_array (method=
"MonoDevelop.Components.Commands.CommandManager:OnKeyPressed ()", obj=
0xb025aed8, params=0xb22f8b28, exc=0x0) at object.c:4082
#43 0x081accb0 in ves_icall_InternalInvoke (method=0xb207a468, this=
0xb025aed8, params=0xb22f8b28, exc=0xbfb6aa10) at icall.c:2826
#44 0x00b17e85 in ?? ()
#45 0x0104f76e in System.Reflection.MonoMethod:Invoke (this=..., obj=
MonoDevelop.Components.Commands.CommandManager, invokeAttr=Default,
binder=..., parameters=System.Object [2], culture=...)
at
/home/sergey/dev/mono-dev/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:223
#46 0x01048890 in System.Reflection.MethodBase:Invoke (this=..., obj=
MonoDevelop.Components.Commands.CommandManager, parameters=
System.Object [2])
at
/home/sergey/dev/mono-dev/mono/mcs/class/corlib/System.Reflection/MethodBase.cs:96
#47 0x00fa2803 in System.Delegate:DynamicInvokeImpl (this=..., args=
System.Object [2])
at
/home/sergey/dev/mono-dev/mono/mcs/class/corlib/System/Delegate.cs:408
#48 0x00fb9d70 in System.MulticastDelegate:DynamicInvokeImpl (this=...,
args=
System.Object [2])
at
/home/sergey/dev/mono-dev/mono/mcs/class/corlib/System/MulticastDelegate.cs:69
#49 0x00fa2654 in System.Delegate:DynamicInvoke (this=..., args=
System.Object [2])
at
/home/sergey/dev/mono-dev/mono/mcs/class/corlib/System/Delegate.cs:382
#50 0x055d0d55 in ?? ()
#51 0x055d0b59 in ?? ()
#52 0x055cf05f in ?? ()
#53 0x00b1aff1 in ?? ()
#54 0x003c7252 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#55 0x003db99d in ?? () from /usr/lib/libgobject-2.0.so.0
#56 0x003dcc33 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#57 0x003dd256 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#58 0x02a9a636 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#59 0x02965b33 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#60 0x02966e07 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#61 0x0054739a in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#62 0x009cd5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#63 0x009d12d8 in ?? () from /lib/libglib-2.0.so.0
#64 0x009d1817 in g_main_loop_run () from /lib/libglib-2.0.so.0
#65 0x029673c9 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#66 0x01963e84 in ?? ()
#67 0x01963e05 in ?? ()
#68 0x01963cc5 in ?? ()
#69 0x00815120 in ?? ()
#70 0x0080adcd in ?? ()
#71 0x0080b1d1 in ?? ()
#72 0x080624d8 in mono_jit_runtime_invoke (method=
"MonoDevelop.Startup.MonoDevelopMain:Main ()", obj=0x0, params=
0xbfb6b54c, exc=0x0) at mini.c:5413
#73 0x081d3b90 in mono_runtime_invoke (method=
"MonoDevelop.Startup.MonoDevelopMain:Main ()", obj=0x0, params=
0xbfb6b54c, exc=0x0) at object.c:2709
#74 0x081d7523 in mono_runtime_exec_main (method=
"MonoDevelop.Startup.MonoDevelopMain:Main ()", args=0x3cdb0, exc=0x0)
at object.c:3870
#75 0x080b890d in main_thread_handler (argc=4, argv=0xbfb6b734)
at driver.c:999
#76 mono_main (argc=4, argv=0xbfb6b734) at driver.c:1830
#77 0x080592ca in mono_main_with_options (argc=4, argv=0xbfb6b734)
at main.c:66
#78 main (argc=4, argv=0xbfb6b734) at main.c:97
=================================================================
Got a SIGABRT 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.Debugger.Soft.VMDisconnectedException: Exception of type
'Mono.Debugger.Soft.VMDisconnectedException' was thrown.
at Mono.Debugger.Soft.Connection.SendReceive (CommandSet command_set,
Int32 command, Mono.Debugger.Soft.PacketWriter packet) [0x000d7] in
/Users/plasma/Work/mono-trunk/mcs/class/Mono.Debugger.Soft/Mono.Debugger.Soft/Connection.cs:1156
at Mono.Debugger.Soft.Connection.StackFrame_GetValues (Int64 thread_id,
Int64 id, System.Int32[] pos) [0x00004] in
/Users/plasma/Work/mono-trunk/mcs/class/Mono.Debugger.Soft/Mono.Debugger.Soft/Connection.cs:1729
at Mono.Debugger.Soft.StackFrame.GetValue
(Mono.Debugger.Soft.LocalVariable var) [0x0002d] in
/Users/plasma/Work/mono-trunk/mcs/class/Mono.Debugger.Soft/Mono.Debugger.Soft/StackFrame.cs:103
at Mono.Debugging.Soft.VariableValueReference.get_Value () [0x0000c] in
/home/sergey/dev/mono-dev/monodevelop/main/src/addins/MonoDevelop.Debugger.Soft/Mono.Debugging.Soft/VariableValueReference.cs:67
at Mono.Debugging.Evaluation.ValueReference.OnCreateObjectValue
(Mono.Debugging.Client.EvaluationOptions options) [0x00020] in
/home/sergey/dev/mono-dev/monodevelop/main/src/core/Mono.Debugging/Mono.Debugging.Evaluation/ValueReference.cs:131
at Mono.Debugging.Evaluation.ValueReference.CreateObjectValue
(Mono.Debugging.Client.EvaluationOptions options) [0x00050] in
/home/sergey/dev/mono-dev/monodevelop/main/src/core/Mono.Debugging/Mono.Debugging.Evaluation/ValueReference.cs:106
On Sat, Oct 16, 2010 at 12:22 AM, Sergey Lobko-Lobanovsky <
serge.lobanovsky at gmail.com> wrote:
> I am using the on the fly code formatting option and I keep getting this
> error when I have readonly properties in an interface defition, such as
>
> public interface ISearchable
> {
> string Content { get; }
> }
>
> Is this a known issue? Exception stack trace below:
>
> System.Reflection.TargetInvocationException: Exception has been thrown by
> the target of an invocation. ---> System.NullReferenceException: Object
> reference not set to an instance of an object
> at MonoDevelop.CSharp.Formatting.DomIndentationVisitor.IsSimpleAccessor
> (MonoDevelop.CSharp.Dom.Accessor accessor) [0x00000] in
> /home/sergey/dev/mono-dev/monodevelop/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Formatting/DomIndentationVisitor.cs:195
> at
> MonoDevelop.CSharp.Formatting.DomIndentationVisitor.VisitPropertyDeclaration
> (MonoDevelop.CSharp.Dom.PropertyDeclaration propertyDeclaration,
> System.Object data) [0x00031] in
> /home/sergey/dev/mono-dev/monodevelop/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Formatting/DomIndentationVisitor.cs:209
> at
> MonoDevelop.CSharp.Dom.PropertyDeclaration.AcceptVisitor[Object,Object]
> (ICSharpDomVisitor`2 visitor, System.Object data) [0x00000] in
> /home/sergey/dev/mono-dev/monodevelop/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Dom/TypeMembers/PropertyDeclaration.cs:83
> at
> MonoDevelop.CSharp.Dom.AbtractCSharpDomVisitor`2[T,S].VisitTypeDeclaration
> (MonoDevelop.CSharp.Dom.TypeDeclaration typeDeclaration,
> MonoDevelop.CSharp.Dom.T data) [0x0001f] in
> /home/sergey/dev/mono-dev/monodevelop/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Dom/AbtractCSharpDomVisitor.cs:86
> at
> MonoDevelop.CSharp.Formatting.DomIndentationVisitor.VisitTypeDeclaration
> (MonoDevelop.CSharp.Dom.TypeDeclaration typeDeclaration, System.Object data)
> [0x000e8] in
> /home/sergey/dev/mono-dev/monodevelop/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Formatting/DomIndentationVisitor.cs:183
> at MonoDevelop.CSharp.Dom.TypeDeclaration.AcceptVisitor[Object,Object]
> (ICSharpDomVisitor`2 visitor, System.Object data) [0x00000] in
> /home/sergey/dev/mono-dev/monodevelop/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Dom/GeneralScope/TypeDeclaration.cs:87
> at MonoDevelop.CSharp.Dom.AbtractCSharpDomVisitor`2[T,S].VisitChildren
> (ICSharpNode node, MonoDevelop.CSharp.Dom.T data) [0x00011] in
> /home/sergey/dev/mono-dev/monodevelop/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Dom/AbtractCSharpDomVisitor.cs:37
> at
> MonoDevelop.CSharp.Dom.AbtractCSharpDomVisitor`2[T,S].VisitNamespaceDeclaration
> (MonoDevelop.CSharp.Dom.NamespaceDeclaration namespaceDeclaration,
> MonoDevelop.CSharp.Dom.T data) [0x00000] in
> /home/sergey/dev/mono-dev/monodevelop/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Dom/AbtractCSharpDomVisitor.cs:80
> at
> MonoDevelop.CSharp.Formatting.DomIndentationVisitor.VisitNamespaceDeclaration
> (MonoDevelop.CSharp.Dom.NamespaceDeclaration namespaceDeclaration,
> System.Object data) [0x0006d] in
> /home/sergey/dev/mono-dev/monodevelop/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Formatting/DomIndentationVisitor.cs:147
> at
> MonoDevelop.CSharp.Dom.NamespaceDeclaration.AcceptVisitor[Object,Object]
> (ICSharpDomVisitor`2 visitor, System.Object data) [0x00000] in
> /home/sergey/dev/mono-dev/monodevelop/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Dom/GeneralScope/NamespaceDeclaration.cs:84
> at MonoDevelop.CSharp.Dom.AbtractCSharpDomVisitor`2[T,S].VisitChildren
> (ICSharpNode node, MonoDevelop.CSharp.Dom.T data) [0x00011] in
> /home/sergey/dev/mono-dev/monodevelop/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Dom/AbtractCSharpDomVisitor.cs:37
> at
> MonoDevelop.CSharp.Dom.AbtractCSharpDomVisitor`2[T,S].VisitCompilationUnit
> (MonoDevelop.CSharp.Dom.CompilationUnit unit, MonoDevelop.CSharp.Dom.T data)
> [0x00000] in
> /home/sergey/dev/mono-dev/monodevelop/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Dom/AbtractCSharpDomVisitor.cs:45
> at
> MonoDevelop.CSharp.Formatting.DomIndentationVisitor.VisitCompilationUnit
> (MonoDevelop.CSharp.Dom.CompilationUnit unit, System.Object data) [0x00000]
> in
> /home/sergey/dev/mono-dev/monodevelop/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Formatting/DomIndentationVisitor.cs:78
> at MonoDevelop.CSharp.Dom.CompilationUnit.AcceptVisitor[Object,Object]
> (ICSharpDomVisitor`2 visitor, System.Object data) [0x00000] in
> /home/sergey/dev/mono-dev/monodevelop/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Dom/CompilationUnit.cs:97
> at MonoDevelop.CSharp.Formatting.CSharpFormatter.OnTheFlyFormat
> (MonoDevelop.Projects.Policies.PolicyContainer policyParent, System.Object
> textEditorData, Int32 startOffset, Int32 endOffset) [0x0007b] in
> /home/sergey/dev/mono-dev/monodevelop/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Formatting/CSharpFormatter.cs:110
> at MonoDevelop.Projects.Text.Formatter.OnTheFlyFormat
> (MonoDevelop.Projects.Policies.PolicyContainer policyParent, System.Object
> textEditorData, Int32 startOffset, Int32 endOffset) [0x00026] in
> /home/sergey/dev/mono-dev/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Text/Formatter.cs:95
> at MonoDevelop.SourceEditor.SourceEditorView.Save (System.String
> fileName, System.String encoding) [0x000f3] in
> /home/sergey/dev/mono-dev/monodevelop/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/SourceEditorView.cs:363
> at MonoDevelop.SourceEditor.SourceEditorView.Save (System.String
> fileName) [0x00000] in
> /home/sergey/dev/mono-dev/monodevelop/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/SourceEditorView.cs:334
> at MonoDevelop.Ide.Gui.Document.Save () [0x00123] in
> /home/sergey/dev/mono-dev/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Document.cs:239
> at MonoDevelop.Ide.Gui.ViewCommandHandlers.OnSaveFile () [0x00000] in
> /home/sergey/dev/mono-dev/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/ViewCommandHandlers.cs:71
> at (wrapper managed-to-native)
> System.Reflection.MonoMethod:InternalInvoke
> (System.Reflection.MonoMethod*,object,object[],System.Exception&)
> at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags
> invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
> System.Globalization.CultureInfo culture) [0x000d0] in
> /home/sergey/dev/mono-dev/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:223
> --- End of inner exception stack trace ---
> at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags
> invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
> System.Globalization.CultureInfo culture) [0x000eb] in
> /home/sergey/dev/mono-dev/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:231
> at System.Reflection.MethodBase.Invoke (System.Object obj,
> System.Object[] parameters) [0x00000] in
> /home/sergey/dev/mono-dev/mono/mcs/class/corlib/System.Reflection/MethodBase.cs:96
> at MonoDevelop.Components.Commands.CommandHandlerInfo.Run (System.Object
> cmdTarget, MonoDevelop.Components.Commands.Command cmd) [0x00029] in
> /home/sergey/dev/mono-dev/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs:1273
> at
> MonoDevelop.Components.Commands.CommandManager+<DispatchCommand>c__AnonStorey3D.<>m__4F
> () [0x0003d] in
> /home/sergey/dev/mono-dev/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs:579
> at MonoDevelop.Components.Commands.CommandManager.DispatchCommand
> (System.Object commandId, System.Object dataItem, System.Object
> initialTarget, CommandSource source) [0x00298] in
> /home/sergey/dev/mono-dev/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs:596
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodevelop-list/attachments/20101016/3ce28aa8/attachment-0001.html
More information about the Monodevelop-list
mailing list