[Mono-bugs] [Bug 472775] New: MonoDevelop crashes with MONO_XDEBUG

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Feb 5 04:59:58 EST 2009


https://bugzilla.novell.com/show_bug.cgi?id=472775


           Summary: MonoDevelop crashes with MONO_XDEBUG
    Classification: Mono
           Product: Mono: Runtime
           Version: SVN
          Platform: x86
        OS/Version: openSUSE 11.0
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: rkvinge at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


rolf at linux:> mono --version
Mono JIT compiler version 2.5 (/trunk/mono r125833 Thu Feb  5 10:13:50 CET
2009)
Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com
    TLS:           __thread
    GC:            Included Boehm (with typed GC and Parallel Mark)
    SIGSEGV:       altstack
    Notifications: epoll
    Architecture:  x86

rolf at linux:> gdb --args mono
/mono/main/install/lib/monodevelop/bin/MonoDevelop.exe *.mds
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i586-suse-linux"...
(gdb) run
[Thread debugging using libthread_db enabled]

**
** ERROR:(unwind.c:171):mono_unwind_ops_encode: assertion failed: (op->when -
loc < 32)

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb7cbf6f0 (LWP 28483)]
0xffffe430 in __kernel_vsyscall ()
(gdb) bt
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb7ceb900 in *__GI_raise (sig=6) at
./nptl/sysdeps/unix/sysv/linux/raise.c:64
#2  0xb7ced238 in *__GI_abort () at abort.c:88
#3  0xb7eda029 in g_assertion_message () from /usr/lib/libglib-2.0.so.0
#4  0xb7eda4bd in g_assertion_message_expr () from /usr/lib/libglib-2.0.so.0
#5  0x080dd714 in mono_unwind_ops_encode (unwind_ops=0xb65cb24c,
out_len=0xbfd672d8) at unwind.c:171
#6  0x080b65b6 in emit_fde (acfg=0x82c1108, fde_index=1920, start_symbol=0x0,
end_symbol=0x0, code=0xb625f0a0 "U\213�e\213\005����=�^\002", code_size=121,
unwind_ops=0xb65cb24c, use_cie=1) at aot-compiler.c:5511
#7  0x080bc785 in emit_method_dwarf_info (acfg=0x82c1108, cfg=0xb6582698,
method=0xb65b4a84, start_symbol=0x0, end_symbol=0x0, code=0xb625f0a0
"U\213�e\213\005����=�^\002", code_size=121, args=0xb65c96e4,
locals=0xb65c9804, unwind_info=0xb65cb24c, debug_info=0xb6401258) at
aot-compiler.c:6559
#8  0x080bd2f9 in mono_save_xdebug_info (cfg=0xb6582698) at aot-compiler.c:6933
#9  0x08062663 in mini_method_compile (method=0xb65b4a84, opts=64055807,
domain=0x25ee0, run_cctors=<value optimized out>, compile_aot=<value optimized
out>, parts=0) at mini.c:3722
#10 0x080630d9 in mono_jit_compile_method (method=0xb65b4a84) at mini.c:3925
#11 0x0819184c in mono_delegate_to_ftnptr (delegate=0x18ad90) at marshal.c:729
#12 0xb625f055 in ?? ()
#13 0xb625efdf in ?? ()
#14 0xb625e8dd in ?? ()
#15 0xb625bf59 in ?? ()
#16 0xb66fe9f6 in ?? ()
#17 0xb77b932f in ?? ()
#18 0xb77b9203 in ?? ()
#19 0x08146e3e in mono_runtime_exec_main (method=0x18ad90, args=0x29f48,
exc=0x0) at object.c:3300
#20 0x0814755d in mono_runtime_run_main (method=0x82cafac, argc=2,
argv=0xbfd67ba8, exc=0x0) at object.c:3088
#21 0x080b205a in mono_main (argc=3, argv=0xbfd67ba4) at driver.c:969
#22 0x0805aea1 in main (argc=0, argv=0x0) at main.c:34
(gdb) up 5
#5  0x080dd714 in mono_unwind_ops_encode (unwind_ops=0xb65cb24c,
out_len=0xbfd672d8) at unwind.c:171
171                g_assert (op->when - loc < 32);
(gdb) p op->when
$1 = 42
(gdb) p loc
$2 = 3
(gdb) p op
$3 = (MonoUnwindOp *) 0xb65cb2c4
(gdb) p *op
$4 = {op = 128 '\200', reg = 3 '\003', val = -12, when = 42}
(gdb) mono_stack

"<unnamed thread>" tid=0x0xb7cbf6f0 this=0x0x2fed8 thread handle 0x404 state :
not waiting owns ()
  at (wrapper managed-to-native) object.__icall_wrapper_mono_delegate_to_ftnptr
(object) <0x00004>
  at (wrapper managed-to-native) object.__icall_wrapper_mono_delegate_to_ftnptr
(object) <IL 0x00021, 0xffffffff>
  at (wrapper managed-to-native) GLib.Log.g_log_set_handler
(intptr,GLib.LogLevelFlags,GLib.LogFunc,intptr) <IL 0x00032, 0xffffffff>
  at GLib.Log.SetLogHandler (string,GLib.LogLevelFlags,GLib.LogFunc) [0x00007]
in /mono/main/src/gtk-sharp/glib/Log.cs:87
  at MonoDevelop.Core.Gui.GLibLogging.set_Enabled (bool) [0x00035] in
/mono/main/src/monodevelop/main/src/core/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui/GLibLogging.cs:55
  at MonoDevelop.Ide.Gui.IdeStartup.Run (string[]) [0x00006] in
/mono/main/src/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/IdeStartup.cs:68
  at MonoDevelop.Startup.SharpDevelopMain.Main (string[]) [0x00018] in
/mono/main/src/monodevelop/main/src/core/MonoDevelop.Startup/MonoDevelop.Startup/MonoDevelopMain.cs:21
  at (wrapper runtime-invoke)
MonoDevelop.Startup.SharpDevelopMain.runtime_invoke_int_object
(object,intptr,intptr,intptr) <IL 0x0004f, 0xffffffff>
(gdb) q

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list