Bug 15429 - Segmentation fault in mono debugger on Linux
Summary: Segmentation fault in mono debugger on Linux
Status: RESOLVED NOT_ON_ROADMAP
Alias: None
Product: Runtime
Classification: Mono
Component: Debugger ()
Version: unspecified
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2013-10-16 07:44 UTC by Vitaliy Filippov
Modified: 2015-02-20 12:29 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Hello world program (147 bytes, application/octet-stream)
2013-10-16 07:44 UTC, Vitaliy Filippov
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED NOT_ON_ROADMAP

Description Vitaliy Filippov 2013-10-16 07:44:27 UTC
Created attachment 5150 [details]
Hello world program

I'm trying to use mdb from github master branch with Mono 3.2.3. Even with the simplest 'hello world' (attached) program I get a SIGSEGV. What do you think the problem may be?

$ mdb helloworld.exe 
Mono Debugger
(mdb) run
Starting program: helloworld.exe 
Stacktrace:


Native stacktrace:

        /usr/bin/mono() [0x80ff08b]
        /usr/bin/mono() [0x8149814]
        /usr/bin/mono() [0x8069a8b]
        linux-gate.so.1(__kernel_rt_sigreturn+0) [0xf77ca410]
        /usr/lib/libmonodebuggerserver.so(bfd_glue_get_symbol+0x6b) [0xf544f2ab]
        [0xf5d0a80c]
        [0xf5d09ff8]
        [0xf5d08294]
        [0xf5d07790]
        [0xf5d07574]
        [0xf5d06d04]
        [0xf5d062f4]
        [0xf5d06040]
        [0xf5d04ca0]
        [0xf5d04af8]
        [0xf5d04784]
        [0xf5d04710]
        [0xf5d1e440]
        [0xf5d1d094]
        /usr/lib/mono/2.0/mscorlib.dll.so(+0x28e468) [0xf62bb468]
        [0xf74c02c0]
        /usr/bin/mono() [0x80693f0]

Debug info from gdb:

warning: Could not load shared library symbols for linux-gate.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[New LWP 16717]
[New LWP 16716]
[New LWP 16715]
[New LWP 16714]
[New LWP 16713]
[New LWP 16712]
[New LWP 16711]
[New LWP 16710]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".
0xf77ca430 in __kernel_vsyscall ()
  Id   Target Id         Frame 
  9    Thread 0xf5ef3b40 (LWP 16710) "mono" 0xf77ca430 in __kernel_vsyscall ()
  8    Thread 0xf55ffb40 (LWP 16711) "mono" 0xf77ca430 in __kernel_vsyscall ()
  7    Thread 0xf52ffb40 (LWP 16712) "mono" 0xf77ca430 in __kernel_vsyscall ()
  6    Thread 0xf4fffb40 (LWP 16713) "mono" 0xf77ca430 in __kernel_vsyscall ()
  5    Thread 0xf57fbb40 (LWP 16714) "mono" 0xf77ca430 in __kernel_vsyscall ()
  4    Thread 0xf49ffb40 (LWP 16715) "mono" 0xf77ca430 in __kernel_vsyscall ()
  3    Thread 0xf46ffb40 (LWP 16716) "mono" 0xf77ca430 in __kernel_vsyscall ()
  2    Thread 0xf43ffb40 (LWP 16717) "mono" 0xf77ca430 in __kernel_vsyscall ()
* 1    Thread 0xf7562700 (LWP 16705) "mono" 0xf77ca430 in __kernel_vsyscall ()

Thread 9 (Thread 0xf5ef3b40 (LWP 16710)):
#0  0xf77ca430 in __kernel_vsyscall ()
#1  0xf771faf5 in sem_wait@@GLIBC_2.1 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/sem_wait.S:79
#2  0x08273ef6 in mono_sem_wait (sem=sem@entry=0x83b869c <finalizer_sem>, alertable=alertable@entry=1) at mono-semaphore.c:116
#3  0x081ea5c3 in finalizer_thread (unused=unused@entry=0x0) at gc.c:1073
#4  0x081cc630 in start_wrapper_internal (data=0xa2089b0) at threads.c:608
#5  start_wrapper (data=0xa2089b0) at threads.c:653
#6  0x082680ef in thread_start_routine (args=args@entry=0xa1d2e14) at wthreads.c:294
#7  0x08278303 in inner_start_thread (arg=0xa20bd90) at mono-threads-posix.c:49
#8  0xf7719cf1 in start_thread (arg=0xf5ef3b40) at pthread_create.c:311
#9  0xf765308e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 8 (Thread 0xf55ffb40 (LWP 16711)):
#0  0xf77ca430 in __kernel_vsyscall ()
#1  0xf771d7ab in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0x0824fd1c in _wapi_handle_timedwait_signal_handle (handle=handle@entry=0x419, timeout=timeout@entry=0x0, alertable=alertable@entry=1, poll=poll@entry=0) at handles.c:1588
#3  0x0824fdf3 in _wapi_handle_wait_signal_handle (handle=handle@entry=0x419, alertable=alertable@entry=1) at handles.c:1533
#4  0x08264d7b in WaitForSingleObjectEx (handle=0x419, timeout=timeout@entry=4294967295, alertable=alertable@entry=1) at wait.c:196
#5  0x081cbab4 in mono_wait_uninterrupted (thread=thread@entry=0xf74afea0, multiple=multiple@entry=0, numhandles=numhandles@entry=1, handles=handles@entry=0xf55fee54, waitall=waitall@entry=0, ms=ms@entry=-1, alertable=1) at threads.c:1490
#6  0x081cddab in ves_icall_System_Threading_WaitHandle_WaitOne_internal (this=0xf7024be0, handle=0x419, ms=-1, exitContext=0) at threads.c:1622
#7  0xf5d1794c in ?? ()
#8  0xf62bffd9 in System.Threading.WaitHandle:WaitOne (this=...) at <unknown>:357
#9  0xf5d01d5b in ?? ()
#10 0xf5d01c34 in ?? ()
#11 0xf5d20c0c in ?? ()
#12 0xf5d20b6c in ?? ()
#13 0xf5d1b2dc in ?? ()
#14 0xf5d1b0f0 in ?? ()
#15 0xf5d1b05c in ?? ()
#16 0xf5d1af6f in ?? ()
#17 0xf5d1a818 in ?? ()
#18 0xf5d1a5e4 in ?? ()
#19 0xf5d171e4 in ?? ()
#20 0xf62bb468 in System.Threading.Thread:StartInternal (this=...) at <unknown>:682
#21 0xf74c02c0 in ?? ()
#22 0x080693f0 in mono_jit_runtime_invoke (method=0xa272e74, obj=0xf701c010, params=0xf55ff2ac, exc=0x0) at mini.c:6473
#23 0x081f487f in mono_runtime_invoke (method=0xa272e74, obj=obj@entry=0xf701c010, params=params@entry=0xf55ff2ac, exc=exc@entry=0x0) at object.c:2827
#24 0x081f56e5 in mono_runtime_delegate_invoke (delegate=delegate@entry=0xf701c010, params=params@entry=0xf55ff2ac, exc=exc@entry=0x0) at object.c:3538
#25 0x081cc700 in start_wrapper_internal (data=0xa2ecc50) at threads.c:614
#26 start_wrapper (data=0xa2ecc50) at threads.c:653
#27 0x082680ef in thread_start_routine (args=args@entry=0xa1d3254) at wthreads.c:294
#28 0x08278303 in inner_start_thread (arg=0xa2fe3b8) at mono-threads-posix.c:49
#29 0xf7719cf1 in start_thread (arg=0xf55ffb40) at pthread_create.c:311
#30 0xf765308e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 7 (Thread 0xf52ffb40 (LWP 16712)):
#0  0xf77ca430 in __kernel_vsyscall ()
#1  0xf771d7ab in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0x0824fd1c in _wapi_handle_timedwait_signal_handle (handle=0x400, timeout=timeout@entry=0x0, alertable=alertable@entry=1, poll=poll@entry=0) at handles.c:1588
#3  0x0824fd75 in _wapi_handle_wait_signal (poll=poll@entry=0) at handles.c:1521
#4  0x082658c8 in WaitForMultipleObjectsEx (numobjects=numobjects@entry=3, handles=handles@entry=0xf52fef40, waitall=waitall@entry=0, timeout=timeout@entry=4294967295, alertable=alertable@entry=1) at wait.c:668
#5  0x081cba48 in mono_wait_uninterrupted (thread=thread@entry=0xf74afdf0, multiple=multiple@entry=1, numhandles=numhandles@entry=3, handles=handles@entry=0xf52fef40, waitall=waitall@entry=0, ms=ms@entry=-1, alertable=1) at threads.c:1488
#6  0x081cdcc9 in ves_icall_System_Threading_WaitHandle_WaitAny_internal (mono_handles=0xf7021c00, ms=-1, exitContext=0) at threads.c:1586
#7  0xf5d1a548 in ?? ()
#8  0xf62bf9b2 in System.Threading.WaitHandle:WaitAny (waitHandles=0xf7021c00) at <unknown>:167
#9  0xf5d1a42c in ?? ()
#10 0xf5d17f44 in ?? ()
#11 0xf5d17b9c in ?? ()
#12 0xf62bb468 in System.Threading.Thread:StartInternal (this=...) at <unknown>:682
#13 0xf74c02c0 in ?? ()
#14 0x080693f0 in mono_jit_runtime_invoke (method=0xa272e74, obj=0xf701c138, params=0xf52ff2ac, exc=0x0) at mini.c:6473
#15 0x081f487f in mono_runtime_invoke (method=0xa272e74, obj=obj@entry=0xf701c138, params=params@entry=0xf52ff2ac, exc=exc@entry=0x0) at object.c:2827
#16 0x081f56e5 in mono_runtime_delegate_invoke (delegate=delegate@entry=0xf701c138, params=params@entry=0xf52ff2ac, exc=exc@entry=0x0) at object.c:3538
#17 0x081cc700 in start_wrapper_internal (data=0xa2ed0a8) at threads.c:614
#18 start_wrapper (data=0xa2ed0a8) at threads.c:653
#19 0x082680ef in thread_start_routine (args=args@entry=0xa1d3364) at wthreads.c:294
#20 0x08278303 in inner_start_thread (arg=0xa308b28) at mono-threads-posix.c:49
#21 0xf7719cf1 in start_thread (arg=0xf52ffb40) at pthread_create.c:311
#22 0xf765308e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 6 (Thread 0xf4fffb40 (LWP 16713)):
#0  0xf77ca430 in __kernel_vsyscall ()
#1  0xf771db93 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:250
#2  0x0824fb20 in _wapi_handle_timedwait_signal_handle (handle=handle@entry=0x412, timeout=timeout@entry=0xf4ffef18, alertable=alertable@entry=1, poll=poll@entry=0) at handles.c:1586
#3  0x08264b74 in WaitForSingleObjectEx (handle=0x412, timeout=timeout@entry=59999, alertable=alertable@entry=1) at wait.c:198
#4  0x081cbab4 in mono_wait_uninterrupted (thread=thread@entry=0xf74afd40, multiple=multiple@entry=0, numhandles=numhandles@entry=1, handles=handles@entry=0xf4ffefe4, waitall=waitall@entry=0, ms=ms@entry=59999, alertable=1) at threads.c:1490
#5  0x081cddab in ves_icall_System_Threading_WaitHandle_WaitOne_internal (this=0xf701da70, handle=0x412, ms=59999, exitContext=0) at threads.c:1622
#6  0xf5d1794c in ?? ()
#7  0xf62c00a4 in System.Threading.WaitHandle:WaitOne (this=..., millisecondsTimeout=59999, exitContext=false) at <unknown>:379
#8  0xf62c0146 in System.Threading.WaitHandle:WaitOne (this=..., millisecondsTimeout=59999) from /usr/lib/mono/2.0/mscorlib.dll.so
#9  0xf62bf254 in System.Threading.Timer/Scheduler:SchedulerThread (this=...) at <unknown>:385
#10 0xf62bb468 in System.Threading.Thread:StartInternal (this=...) at <unknown>:682
#11 0xf74c02c0 in ?? ()
#12 0x080693f0 in mono_jit_runtime_invoke (method=0xa272e74, obj=0xf701db40, params=0xf4fff2ac, exc=0x0) at mini.c:6473
#13 0x081f487f in mono_runtime_invoke (method=0xa272e74, obj=obj@entry=0xf701db40, params=params@entry=0xf4fff2ac, exc=exc@entry=0x0) at object.c:2827
#14 0x081f56e5 in mono_runtime_delegate_invoke (delegate=delegate@entry=0xf701db40, params=params@entry=0xf4fff2ac, exc=exc@entry=0x0) at object.c:3538
#15 0x081cc700 in start_wrapper_internal (data=0xf53050a0) at threads.c:614
#16 start_wrapper (data=0xf53050a0) at threads.c:653
#17 0x082680ef in thread_start_routine (args=args@entry=0xa1d34fc) at wthreads.c:294
#18 0x08278303 in inner_start_thread (arg=0xf53050c8) at mono-threads-posix.c:49
#19 0xf7719cf1 in start_thread (arg=0xf4fffb40) at pthread_create.c:311
#20 0xf765308e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 5 (Thread 0xf57fbb40 (LWP 16714)):
#0  0xf77ca430 in __kernel_vsyscall ()
#1  0xf7720f06 in nanosleep () at ../sysdeps/unix/syscall-template.S:81
#2  0x0826727f in SleepEx (ms=ms@entry=500, alertable=alertable@entry=1) at wthreads.c:842
#3  0x081cff07 in monitor_thread (unused=unused@entry=0x0) at threadpool.c:779
#4  0x081cc630 in start_wrapper_internal (data=0xf4d01730) at threads.c:608
#5  start_wrapper (data=0xf4d01730) at threads.c:653
#6  0x082680ef in thread_start_routine (args=args@entry=0xa1d360c) at wthreads.c:294
#7  0x08278303 in inner_start_thread (arg=0xf4d03540) at mono-threads-posix.c:49
#8  0xf7719cf1 in start_thread (arg=0xf57fbb40) at pthread_create.c:311
#9  0xf765308e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 4 (Thread 0xf49ffb40 (LWP 16715)):
#0  0xf77ca430 in __kernel_vsyscall ()
#1  0xf771fc98 in sem_timedwait () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/sem_timedwait.S:110
#2  0x08273fe0 in mono_sem_timedwait (sem=sem@entry=0x83b84d4 <async_tp+20>, timeout_ms=timeout_ms@entry=2000, alertable=alertable@entry=1) at mono-semaphore.c:79
#3  0x081d2d08 in async_invoke_thread (data=0x0, data@entry=0x83b84c0 <async_tp>) at threadpool.c:1565
#4  0x081cc630 in start_wrapper_internal (data=0xf4d03560) at threads.c:608
#5  start_wrapper (data=0xf4d03560) at threads.c:653
#6  0x082680ef in thread_start_routine (args=args@entry=0xa1d3694) at wthreads.c:294
#7  0x08278303 in inner_start_thread (arg=0xf4d03348) at mono-threads-posix.c:49
#8  0xf7719cf1 in start_thread (arg=0xf49ffb40) at pthread_create.c:311
#9  0xf765308e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 3 (Thread 0xf46ffb40 (LWP 16716)):
#0  0xf77ca430 in __kernel_vsyscall ()
#1  0xf771d7ab in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0x0824fd1c in _wapi_handle_timedwait_signal_handle (handle=handle@entry=0x418, timeout=timeout@entry=0x0, alertable=alertable@entry=1, poll=poll@entry=0) at handles.c:1588
#3  0x0824fdf3 in _wapi_handle_wait_signal_handle (handle=handle@entry=0x418, alertable=alertable@entry=1) at handles.c:1533
#4  0x08264d7b in WaitForSingleObjectEx (handle=0x418, timeout=timeout@entry=4294967295, alertable=alertable@entry=1) at wait.c:196
#5  0x081cbab4 in mono_wait_uninterrupted (thread=thread@entry=0xf74afb30, multiple=multiple@entry=0, numhandles=numhandles@entry=1, handles=handles@entry=0xf46fef24, waitall=waitall@entry=0, ms=ms@entry=-1, alertable=1) at threads.c:1490
#6  0x081cddab in ves_icall_System_Threading_WaitHandle_WaitOne_internal (this=0xf7024bb0, handle=0x418, ms=-1, exitContext=0) at threads.c:1622
#7  0xf5d1794c in ?? ()
#8  0xf62bffd9 in System.Threading.WaitHandle:WaitOne (this=...) at <unknown>:357
#9  0xf5d1f32b in ?? ()
#10 0xf5d1d14c in ?? ()
#11 0xf62bb468 in System.Threading.Thread:StartInternal (this=...) at <unknown>:682
#12 0xf74c02c0 in ?? ()
#13 0x080693f0 in mono_jit_runtime_invoke (method=0xa272e74, obj=0xf7024cd0, params=0xf46ff2ac, exc=0x0) at mini.c:6473
#14 0x081f487f in mono_runtime_invoke (method=0xa272e74, obj=obj@entry=0xf7024cd0, params=params@entry=0xf46ff2ac, exc=exc@entry=0x0) at object.c:2827
#15 0x081f56e5 in mono_runtime_delegate_invoke (delegate=delegate@entry=0xf7024cd0, params=params@entry=0xf46ff2ac, exc=exc@entry=0x0) at object.c:3538
#16 0x081cc700 in start_wrapper_internal (data=0xf530dec8) at threads.c:614
#17 start_wrapper (data=0xf530dec8) at threads.c:653
#18 0x082680ef in thread_start_routine (args=args@entry=0xa1d393c) at wthreads.c:294
#19 0x08278303 in inner_start_thread (arg=0xf530e708) at mono-threads-posix.c:49
#20 0xf7719cf1 in start_thread (arg=0xf46ffb40) at pthread_create.c:311
#21 0xf765308e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 2 (Thread 0xf43ffb40 (LWP 16717)):
#0  0xf77ca430 in __kernel_vsyscall ()
#1  0xf772161b in waitpid () at ../sysdeps/unix/syscall-template.S:81
#2  0x080ff1be in mono_handle_native_sigsegv (signal=signal@entry=11, ctx=ctx@entry=0xf740bb8c) at mini-exceptions.c:2344
#3  0x08149814 in mono_arch_handle_altstack_exception (sigctx=sigctx@entry=0xf740bb8c, fault_addr=0x4021, stack_ovf=stack_ovf@entry=0) at exceptions-x86.c:1167
#4  0x08069a8b in mono_sigsegv_signal_handler (_dummy=11, info=0xf740bb0c, context=0xf740bb8c) at mini.c:6591
#5  <signal handler called>
#6  0xf544f2ab in bfd_glue_get_symbol (abfd=0xa338e08, symbol_table=0xa348e20, idx=35, is_function=0xf43fea08, address=0xf43fea0c) at bfdglue.c:108
#7  0xf5d0a80c in ?? ()
#8  0xf5d09ff8 in ?? ()
#9  0xf5d08294 in ?? ()
#10 0xf5d07790 in ?? ()
#11 0xf5d07574 in ?? ()
#12 0xf5d06d04 in ?? ()
#13 0xf5d062f4 in ?? ()
#14 0xf5d06040 in ?? ()
#15 0xf5d04ca0 in ?? ()
#16 0xf5d04af8 in ?? ()
#17 0xf5d04784 in ?? ()
#18 0xf5d04710 in ?? ()
#19 0xf5d1e440 in ?? ()
#20 0xf5d1d094 in ?? ()
#21 0xf62bb468 in System.Threading.Thread:StartInternal (this=...) at <unknown>:682
#22 0xf74c02c0 in ?? ()
#23 0x080693f0 in mono_jit_runtime_invoke (method=0xa272e74, obj=0xf7024d80, params=0xf43ff2ac, exc=0x0) at mini.c:6473
#24 0x081f487f in mono_runtime_invoke (method=0xa272e74, obj=obj@entry=0xf7024d80, params=params@entry=0xf43ff2ac, exc=exc@entry=0x0) at object.c:2827
#25 0x081f56e5 in mono_runtime_delegate_invoke (delegate=delegate@entry=0xf7024d80, params=params@entry=0xf43ff2ac, exc=exc@entry=0x0) at object.c:3538
#26 0x081cc700 in start_wrapper_internal (data=0xf530dec8) at threads.c:614
#27 start_wrapper (data=0xf530dec8) at threads.c:653
#28 0x082680ef in thread_start_routine (args=args@entry=0xa1d3a4c) at wthreads.c:294
#29 0x08278303 in inner_start_thread (arg=0xf530e760) at mono-threads-posix.c:49
#30 0xf7719cf1 in start_thread (arg=0xf43ffb40) at pthread_create.c:311
#31 0xf765308e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 1 (Thread 0xf7562700 (LWP 16705)):
#0  0xf77ca430 in __kernel_vsyscall ()
#1  0xf771d7ab in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0x0824fd1c in _wapi_handle_timedwait_signal_handle (handle=handle@entry=0x411, timeout=timeout@entry=0x0, alertable=alertable@entry=1, poll=poll@entry=0) at handles.c:1588
#3  0x0824fdf3 in _wapi_handle_wait_signal_handle (handle=handle@entry=0x411, alertable=alertable@entry=1) at handles.c:1533
#4  0x08264d7b in WaitForSingleObjectEx (handle=handle@entry=0x411, timeout=timeout@entry=4294967295, alertable=alertable@entry=1) at wait.c:196
#5  0x081cd9f0 in ves_icall_System_Threading_Thread_Join_internal (this=0xf74afdf0, ms=-1, thread=0x411) at threads.c:1461
#6  0xf5d17b2c in ?? ()
#7  0xf62bb166 in System.Threading.Thread:Join (this=...) from /usr/lib/mono/2.0/mscorlib.dll.so
#8  0xf5d175e4 in ?? ()
#9  0xf74bec9c in ?? ()
#10 0xf74bed9e in ?? ()
#11 0x080693f0 in mono_jit_runtime_invoke (method=0xa1e2644, obj=0x0, params=0xffbcaa0c, exc=0x0) at mini.c:6473
#12 0x081f487f in mono_runtime_invoke (method=method@entry=0xa1e2644, obj=obj@entry=0x0, params=params@entry=0xffbcaa0c, exc=exc@entry=0x0) at object.c:2827
#13 0x081f68c5 in mono_runtime_exec_main (method=0xa1e2644, args=0xf7000798, exc=0x0) at object.c:4062
#14 0x081f6d59 in mono_runtime_run_main (method=0xa1e2644, argc=<optimized out>, argv=<optimized out>, exc=0x0) at object.c:3678
#15 0x080d158f in mono_jit_exec (domain=0xa1e2644, domain@entry=0xa1db480, assembly=0xf7000798, assembly@entry=0xa208da0, argc=0, argc@entry=2, argv=0x0, argv@entry=0xffbcabdc) at driver.c:959
#16 0x080d3072 in main_thread_handler (user_data=<synthetic pointer>) at driver.c:1018
#17 mono_main (argc=argc@entry=4, argv=argv@entry=0xffbcabd4) at driver.c:1968
#18 0x0805e488 in mono_main_with_options (argv=0xffbcabd4, argc=4) at main.c:91
#19 main (argc=4, argv=0xffbcabd4) at main.c:122

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

The Mono Debugger is not supported on this platform.
Aborted
Comment 1 Zoltan Varga 2013-11-14 19:02:15 UTC
mdb is no longer supported, you should use the new 'Soft debugger'. Currently, it only usable as a GUI from monodevelop/xamarin studio.
Comment 2 Vitaliy Filippov 2013-11-15 03:32:08 UTC
Too bad. I've tried to debug your 'xbuild'. How to debug it from your IDE? (without creating project)
Comment 3 Vitaliy Filippov 2013-11-15 03:33:35 UTC
P.S: If you say mdb is unsupported - please update the info online at mono-project.com - many documentation pages are outdated there.
Comment 4 Zoltan Varga 2013-11-15 21:31:55 UTC
MonoDevelop has a 'Debug Application' menu item, that might work.