[Mono-bugs] [Bug 430455] New: Generic sharing makes MonoDevelop crash.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Sep 27 22:36:59 EDT 2008


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


           Summary: Generic sharing makes MonoDevelop crash.
           Product: Mono: Runtime
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: generics
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: miguel at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Unless the value of MONO_GENERIC_SHARING is set to none, corlib or collections,
MonoDevelop will crash when you access the Edit/Preferences dialog box.

**
** ERROR:(method-to-ir.c:7205):mono_method_to_ir2: assertion failed:
(!method->klass->valuetype)
Stacktrace:

  at (wrapper static-rgctx-invoke)
System.Collections.Generic.SortedDictionary`2/KeyCollection/Enumerator<string,
MonoDevelop.Components.Commands.ExtensionNodes.SchemeExtensionNode>.static_rgctx_invoke_string__this__
() <0x0001c>
  at (wrapper static-rgctx-invoke)
System.Collections.Generic.SortedDictionary`2/KeyCollection/Enumerator<string,
MonoDevelop.Components.Commands.ExtensionNodes.SchemeExtensionNode>.static_rgctx_invoke_string__this__
() <0xffffffff>
  at MonoDevelop.Ide.Gui.OptionPanels.KeyBindingsPanel..ctor () <0x00726>
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__
(object,intptr,intptr,intptr) <0xffffffff>
  at (wrapper managed-to-native) System.Reflection.MonoCMethod.InternalInvoke
(object,object[],System.Exception&) <0x0004e>
  at (wrapper managed-to-native) System.Reflection.MonoCMethod.InternalInvoke
(object,object[],System.Exception&) <0xffffffff>
  at System.Reflection.MonoCMethod.Invoke
(object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
<0x000d3>
  at System.Reflection.MonoCMethod.Invoke
(System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
<0x0003d>
  at System.Reflection.ConstructorInfo.Invoke (object[]) <0x0003f>
  at System.Activator.CreateInstance (System.Type,bool) <0x0010b>
  at Mono.Addins.RuntimeAddin.CreateInstance (string,bool) <0x00037>
  at MonoDevelop.Core.Gui.Codons.OptionsPanelNode.CreatePanel () <0x00043>
  at MonoDevelop.Core.Gui.Dialogs.OptionsDialog.CreatePage
(MonoDevelop.Core.Gui.Codons.OptionsDialogSection,object) <0x004fd>
  at MonoDevelop.Core.Gui.Dialogs.OptionsDialog.AddSection
(Gtk.TreeIter,MonoDevelop.Core.Gui.Codons.OptionsDialogSection,object)
<0x003a7>
  at MonoDevelop.Core.Gui.Dialogs.OptionsDialog.AddChildSections
(Gtk.TreeIter,MonoDevelop.Core.Gui.Codons.OptionsDialogSection,object)
<0x00157>
  at MonoDevelop.Core.Gui.Dialogs.OptionsDialog.AddSection
(Gtk.TreeIter,MonoDevelop.Core.Gui.Codons.OptionsDialogSection,object)
<0x00391>
  at MonoDevelop.Core.Gui.Dialogs.OptionsDialog.AddSection
(MonoDevelop.Core.Gui.Codons.OptionsDialogSection,object) <0x00077>
  at MonoDevelop.Core.Gui.Dialogs.OptionsDialog.FillTree () <0x000cb>
  at MonoDevelop.Core.Gui.Dialogs.OptionsDialog..ctor
(Gtk.Window,object,string) <0x003b3>
  at MonoDevelop.Ide.Gui.Workbench.ShowGlobalPreferencesDialog
(Gtk.Window,string) <0x0006b>
  at MonoDevelop.Ide.Gui.Workbench.ShowGlobalPreferencesDialog (Gtk.Window)
<0x00013>
  at MonoDevelop.Ide.Commands.MonodevelopPreferencesHandler.Run () <0x0001b>
  at MonoDevelop.Components.Commands.CommandHandler.Run (object) <0x00010>
  at MonoDevelop.Components.Commands.ActionCommand.DispatchCommand (object)
<0x00084>
  at MonoDevelop.Components.Commands.CommandManager.DispatchCommand
(object,object,object) <0x0077a>
  at MonoDevelop.Components.Commands.CommandManager.DispatchCommandFromAccel
(object,object,object) <0x0007b>
  at MonoDevelop.Components.Commands.CommandMenuItem.OnActivated () <0x00047>
  at Gtk.MenuItem.activated_cb (intptr) <0x0006c>
  at (wrapper native-to-managed) Gtk.MenuItem.activated_cb (intptr)
<0xffffffff>
  at (wrapper managed-to-native) Gtk.Application.gtk_main () <0x00050>
  at (wrapper managed-to-native) Gtk.Application.gtk_main () <0xffffffff>
  at Gtk.Application.Run () <0x0000b>
  at MonoDevelop.Ide.Gui.IdeApp.Run () <0x0000b>
  at MonoDevelop.Ide.Gui.IdeStartup.Run (string[]) <0x00d03>
  at MonoDevelop.Startup.SharpDevelopMain.Main (string[]) <0x00073>
  at (wrapper runtime-invoke)
MonoDevelop.Startup.SharpDevelopMain.runtime_invoke_int_string[]
(object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

        monodevelop [0x42bdbe]
        /lib64/libpthread.so.0 [0x7f8e29721b30]
        /lib64/libc.so.6(gsignal+0x35) [0x7f8e291965c5]
        /lib64/libc.so.6(abort+0x183) [0x7f8e29197bb3]
        /usr/lib64/libglib-2.0.so.0(g_assertion_message+0x117) [0x7f8e29fc42a7]
        /usr/lib64/libglib-2.0.so.0 [0x7f8e29fc4742]
        monodevelop(mono_method_to_ir2+0x19149) [0x5990a9]
        monodevelop [0x56ce1d]
        monodevelop [0x56ec91]
        monodevelop [0x42df3e]
        [0x411ce165]

Debug info from gdb:

[Thread debugging using libthread_db enabled]
[New Thread 0x7f8e2a627730 (LWP 28011)]
[New Thread 0x423d0950 (LWP 28049)]
[New Thread 0x421cf950 (LWP 28043)]
[New Thread 0x41191950 (LWP 28039)]
[New Thread 0x40c2a950 (LWP 28038)]
[New Thread 0x41638950 (LWP 28036)]
[New Thread 0x403e5950 (LWP 28016)]
[New Thread 0x407d5950 (LWP 28015)]
[New Thread 0x40a29950 (LWP 28014)]
0x00007f8e2972090b in read () from /lib64/libpthread.so.0
  9 Thread 0x40a29950 (LWP 28014)  0x00007f8e29721251 in nanosleep () from
/lib64/libpthread.so.0
  8 Thread 0x407d5950 (LWP 28015)  0x00007f8e2971ddd9 in
pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  7 Thread 0x403e5950 (LWP 28016)  0x00007f8e29721251 in nanosleep () from
/lib64/libpthread.so.0
  6 Thread 0x41638950 (LWP 28036)  0x00007f8e2971e05d in
pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  5 Thread 0x40c2a950 (LWP 28038)  0x00007f8e2971e05d in
pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  4 Thread 0x41191950 (LWP 28039)  0x00007f8e29229f7b in read () from
/lib64/libc.so.6
  3 Thread 0x421cf950 (LWP 28043)  0x00007f8e292376c8 in epoll_wait () from
/lib64/libc.so.6
  2 Thread 0x423d0950 (LWP 28049)  0x00007f8e2971e05d in
pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  1 Thread 0x7f8e2a627730 (LWP 28011)  0x00007f8e2972090b in read () from
/lib64/libpthread.so.0

Thread 9 (Thread 0x40a29950 (LWP 28014)):
#0  0x00007f8e29721251 in nanosleep () from /lib64/libpthread.so.0
#1  0x000000000050b232 in collection_thread (unused=<value optimized out>) at
collection.c:34
#2  0x00007f8e2971a040 in start_thread () from /lib64/libpthread.so.0
#3  0x00007f8e292370cd in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x407d5950 (LWP 28015)):
#0  0x00007f8e2971ddd9 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x0000000000521f35 in timedwait_signal_poll_cond (cond=0x927ff8,
mutex=0x927fd0, timeout=0x2b, alertable=-1) at handles.c:1490
#2  0x000000000052465f in _wapi_handle_timedwait_signal_handle (handle=<value
optimized out>, timeout=0x0, alertable=9600976) at handles.c:1570
#3  0x000000000051afed in WaitForSingleObjectEx (handle=0x404,
timeout=4294967295, alertable=0) at wait.c:205
#4  0x00000000004ab713 in finalizer_thread (unused=<value optimized out>) at
gc.c:930
#5  0x00000000004a5b13 in start_wrapper (data=<value optimized out>) at
threads.c:621
#6  0x000000000050c2eb in thread_start_routine (args=0x928328) at threadsc:279
#7  0x000000000053fc32 in GC_start_routine (arg=0x7f8e2a4d9e70) at
pthread_support.c:1382
#8  0x00007f8e2971a040 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f8e292370cd in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x403e5950 (LWP 28016)):
#0  0x00007f8e29721251 in nanosleep () from /lib64/libpthread.so.0
#1  0x000000000050b76b in SleepEx (ms=500, alertable=1) at threads.c:1018
#2  0x00000000004a513e in ves_icall_System_Threading_Thread_Sleep_internal
(ms=500) at threads.c:1052
#3  0x0000000040da88c5 in ?? ()
#4  0x0000000000981700 in ?? ()
#5  0x0000000040a21bb0 in ?? ()
#6  0x00007f8e27b0f8d0 in ?? ()
#7  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x41638950 (LWP 28036)):
#0  0x00007f8e2971e05d in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x0000000000521f10 in timedwait_signal_poll_cond (cond=0x92d638,
mutex=0x92d610, timeout=0x41637dc0, alertable=<value optimized out>) at
handles.c:1500
#2  0x000000000052465f in _wapi_handle_timedwait_signal_handle (handle=<value
optimized out>, timeout=0x41637dc0, alertable=9623056) at handles.c:1570
#3  0x000000000051aed8 in WaitForSingleObjectEx (handle=0x477, timeout=5000,
alertable=1) at wait.c:207
#4  0x00000000004a308b in
ves_icall_System_Threading_WaitHandle_WaitOne_internal (this=<value optimized
out>, handle=0x477, ms=5000, exitContext=<value optimized out>) at
threads.c:1441
#5  0x00000000412ce17e in ?? ()
#6  0x0000000000921820 in ?? ()
#7  0x0000000000921820 in ?? ()
#8  0x00007f8e27b0fbc0 in ?? ()
#9  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x40c2a950 (LWP 28038)):
#0  0x00007f8e2971e05d in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x0000000000521f10 in timedwait_signal_poll_cond (cond=0x927cf8,
mutex=0x927cd0, timeout=0x40c29f30, alertable=<value optimized out>) at
handles.c:1500
#2  0x000000000052465f in _wapi_handle_timedwait_signal_handle (handle=<value
optimized out>, timeout=0x40c29f30, alertable=9600208) at handles.c:1570
#3  0x000000000051aed8 in WaitForSingleObjectEx (handle=0x400, timeout=10000,
alertable=1) at wait.c:207
#4  0x00000000004ad811 in async_invoke_thread (data=0x0) at threadpool.c:1220
#5  0x00000000004a5b13 in start_wrapper (data=<value optimized out>) at
threads.c:621
#6  0x000000000050c2eb in thread_start_routine (args=0x92da28) at threadsc:279
#7  0x000000000053fc32 in GC_start_routine (arg=0x7f8e27ac5c08) at
pthread_support.c:1382
#8  0x00007f8e2971a040 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f8e292370cd in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x41191950 (LWP 28039)):
#0  0x00007f8e29229f7b in read () from /lib64/libc.so.6
#1  0x00000000403ec895 in ?? ()
#2  0x0000000000979480 in ?? ()
#3  0x40ed4c1013880000 in ?? ()
#4  0x40cd4c4013880000 in ?? ()
#5  0x3faeb851e0000000 in ?? ()
#6  0x0000000041190fc8 in ?? ()
#7  0x0000000041190f20 in ?? ()
#8  0x0000000041190e60 in ?? ()
#9  0x00007f8e27b0f758 in ?? ()
#10 0x00007f8e16f8b000 in ?? ()
#11 0xffffffffffffffff in ?? ()
#12 0x00007f8e27d60370 in ?? ()
#13 0x00000000403ec6c4 in ?? ()
#14 0x00007f8e2a4d8e08 in ?? ()
#15 0x000000000000000f in ?? ()
#16 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x421cf950 (LWP 28043)):
#0  0x00007f8e292376c8 in epoll_wait () from /lib64/libc.so.6
#1  0x00000000004ace97 in socket_io_epoll_main (p=<value optimized out>) at
threadpool.c:548
#2  0x00000000004a5b13 in start_wrapper (data=<value optimized out>) at
threads.c:621
#3  0x000000000050c2eb in thread_start_routine (args=0x92e3e8) at threadsc:279
#4  0x000000000053fc32 in GC_start_routine (arg=0x7f8e2a4d9d58) at
pthread_support.c:1382
#5  0x00007f8e2971a040 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f8e292370cd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x423d0950 (LWP 28049)):
#0  0x00007f8e2971e05d in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x0000000000521f10 in timedwait_signal_poll_cond (cond=0x92e2f8,
mutex=0x92e2d0, timeout=0x423cff30, alertable=<value optimized out>) at
handles.c:1500
#2  0x000000000052465f in _wapi_handle_timedwait_signal_handle (handle=<value
optimized out>, timeout=0x423cff30, alertable=9626320) at handles.c:1570
#3  0x000000000051aed8 in WaitForSingleObjectEx (handle=0x488, timeout=10000,
alertable=1) at wait.c:207
#4  0x00000000004ad6a0 in async_invoke_io_thread (data=0xfffffffffffffdfc) at
threadpool.c:280
#5  0x00000000004a5b13 in start_wrapper (data=<value optimized out>) at
threads.c:621
#6  0x000000000050c2eb in thread_start_routine (args=0x92e868) at threadsc:279
#7  0x000000000053fc32 in GC_start_routine (arg=0x7f8e2a4d9d58) at
pthread_support.c:1382
#8  0x00007f8e2971a040 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f8e292370cd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f8e2a627730 (LWP 28011)):
#0  0x00007f8e2972090b in read () from /lib64/libpthread.so.0
#1  0x000000000042beb4 in mono_handle_native_sigsegv (signal=<value optimized
out>, ctx=<value optimized out>) at mini-exceptions.c:1437
#2  <signal handler called>
#3  0x00007f8e291965c5 in raise () from /lib64/libc.so.6
#4  0x00007f8e29197bb3 in abort () from /lib64/libc.so.6
#5  0x00007f8e29fc42a7 in g_assertion_message () from
/usr/lib64/libglib-2.0.so.0
#6  0x00007f8e29fc4742 in g_assertion_message_expr () from
/usr/lib64/libglib-2.0.so.0
#7  0x00000000005990a9 in mono_method_to_ir2 (cfg=0x7f8e212205c0,
method=0x7f8e21228600, start_bblock=0x7f8e21225cb8, end_bblock=0x7f8e21225db8,
return_var=0x0, 
    dont_inline=0x7f8e21219e60, inline_args=0x0, inline_offset=0,
is_virtual_call=0) at method-to-ir.c:7205
#8  0x000000000056ce1d in mini_method_compile (method=0x7f8e212208f0,
opts=22112767, domain=0x7f8e2a4d8e00, run_cctors=<value optimized out>,
compile_aot=<value optimized out>, parts=0)
    at mini.c:12459
#9  0x000000000056ec91 in mono_jit_compile_method (method=0x7f8e212208f0) at
mini.c:13170
#10 0x000000000042df3e in mono_magic_trampoline (regs=0x7fff326459c0,
code=0x40c39efc "H\203�\b���@Y", m=0x7f8e212208f0, tramp=<value
optimized out>) at mini-trampolines.c:262
#11 0x00000000411ce165 in ?? ()
#12 0x00007fff32645a70 in ?? ()
#13 0x00000000411ce170 in ?? ()
#14 0x00007fff326459b0 in ?? ()
#15 0x0000000000000001 in ?? ()
#16 0x00007f8e2a226780 in ?? () from /usr/lib64/libglib-2.0.so.0
#17 0x00007f8e2a226748 in ?? () from /usr/lib64/libglib-2.0.so.0
#18 0x00007f8e21224600 in ?? ()
#19 0x00007f8e29fc66b7 in g_static_rw_lock_reader_unlock () from
/usr/lib64/libglib-2.0.so.0
#20 0x00007f8e20000020 in ?? ()
#21 0x00007f8e211cd430 in ?? ()
#22 0x00007fff326459b0 in ?? ()
#23 0x0000000000000000 in ?? ()
#0  0x00007f8e2972090b in read () from /lib64/libpthread.so.0

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

Aborted


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