Skip to content

Instantly share code, notes, and snippets.

@mkrueger
Created December 10, 2011 21:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mkrueger/1456384 to your computer and use it in GitHub Desktop.
Save mkrueger/1456384 to your computer and use it in GitHub Desktop.
Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS
Stacktrace:
at (wrapper managed-to-native) object.__icall_wrapper_mono_array_new_specific (intptr,int) <IL 0x0000e, 0xffffffff>
at System.Collections.Concurrent.SplitOrderedList`2<string, System.Collections.Generic.KeyValuePair`2<string, ICSharpCode.NRefactory.Semantics.ResolveResult>>..ctor (System.Collections.Generic.IEqualityComparer`1<string>) <IL 0x00007, 0x00027>
at System.Collections.Concurrent.ConcurrentDictionary`2..ctor (System.Collections.Generic.IEqualityComparer`1<TKey>) <IL 0x0000f, 0x00059>
at System.Collections.Concurrent.ConcurrentDictionary`2..ctor () <IL 0x00006, 0x00043>
at ICSharpCode.NRefactory.CSharp.TypeSystem.ResolvedUsingScope..ctor (ICSharpCode.NRefactory.CSharp.TypeSystem.CSharpTypeResolveContext,ICSharpCode.NRefactory.CSharp.TypeSystem.UsingScope) <IL 0x00001, 0x00037>
at ICSharpCode.NRefactory.CSharp.TypeSystem.UsingScope.Resolve (ICSharpCode.NRefactory.TypeSystem.ICompilation) [0x00045] in /home/mike/work/monodevelop/main/contrib/ICSharpCode.NRefactory.CSharp/TypeSystem/UsingScope.cs:169
at ICSharpCode.NRefactory.CSharp.TypeSystem.UsingScope.Resolve (ICSharpCode.NRefactory.TypeSystem.ICompilation) [0x0001a] in /home/mike/work/monodevelop/main/contrib/ICSharpCode.NRefactory.CSharp/TypeSystem/UsingScope.cs:168
at ICSharpCode.NRefactory.CSharp.TypeSystem.CSharpUnresolvedTypeDefinition.CreateResolveContext (ICSharpCode.NRefactory.TypeSystem.ITypeResolveContext) [0x00000] in /home/mike/work/monodevelop/main/contrib/ICSharpCode.NRefactory.CSharp/TypeSystem/CSharpUnresolvedTypeDefinition.cs:46
at ICSharpCode.NRefactory.TypeSystem.Implementation.DefaultResolvedTypeDefinition..ctor (ICSharpCode.NRefactory.TypeSystem.ITypeResolveContext,ICSharpCode.NRefactory.TypeSystem.IUnresolvedTypeDefinition[]) [0x00075] in /home/mike/work/monodevelop/main/contrib/ICSharpCode.NRefactory/TypeSystem/Implementation/DefaultResolvedTypeDefinition.cs:48
at ICSharpCode.NRefactory.CSharp.TypeSystem.CSharpAssembly.<GetTypes>m__12E (System.Linq.IGrouping`2<ICSharpCode.NRefactory.TypeSystem.Implementation.FullNameAndTypeParameterCount, ICSharpCode.NRefactory.TypeSystem.IUnresolvedTypeDefinition>) [0x00000] in /home/mike/work/monodevelop/main/contrib/ICSharpCode.NRefactory.CSharp/TypeSystem/CSharpAssembly.cs:150
at System.Linq.Enumerable.ToDictionary<System.Linq.IGrouping`2<ICSharpCode.NRefactory.TypeSystem.Implementation.FullNameAndTypeParameterCount, ICSharpCode.NRefactory.TypeSystem.IUnresolvedTypeDefinition>, ICSharpCode.NRefactory.TypeSystem.Implementation.FullNameAndTypeParameterCount, ICSharpCode.NRefactory.TypeSystem.Implementation.DefaultResolvedTypeDefinition> (System.Collections.Generic.IEnumerable`1<System.Linq.IGrouping`2<ICSharpCode.NRefactory.TypeSystem.Implementation.FullNameAndTypeParameterCount, ICSharpCode.NRefactory.TypeSystem.IUnresolvedTypeDefinition>>,System.Func`2<System.Linq.IGrouping`2<ICSharpCode.NRefactory.TypeSystem.Implementation.FullNameAndTypeParameterCount, ICSharpCode.NRefactory.TypeSystem.IUnresolvedTypeDefinition>, ICSharpCode.NRefactory.TypeSystem.Implementation.FullNameAndTypeParameterCount>,System.Func`2<System.Linq.IGrouping`2<ICSharpCode.NRefactory.TypeSystem.Implementation.FullNameAndTypeParameterCount, ICSharpCode.NRefactory.TypeSystem.IUnresolvedTypeDefinition>, ICSharpCode.NRefactory.TypeSystem.Implementation.DefaultResolvedTypeDefinition>,System.Collections.Generic.IEqualityComparer`1<ICSharpCode.NRefactory.TypeSystem.Implementation.FullNameAndTypeParameterCount>) <IL 0x00039, 0x000b8>
at ICSharpCode.NRefactory.CSharp.TypeSystem.CSharpAssembly.GetTypes () [0x0001a] in /home/mike/work/monodevelop/main/contrib/ICSharpCode.NRefactory.CSharp/TypeSystem/CSharpAssembly.cs:148
at ICSharpCode.NRefactory.CSharp.TypeSystem.CSharpAssembly.GetTypeDefinition (string,string,int) [0x00016] in /home/mike/work/monodevelop/main/contrib/ICSharpCode.NRefactory.CSharp/TypeSystem/CSharpAssembly.cs:159
at ICSharpCode.NRefactory.TypeSystem.Implementation.KnownTypeCache.SearchType (ICSharpCode.NRefactory.TypeSystem.KnownTypeCode) [0x00030] in /home/mike/work/monodevelop/main/contrib/ICSharpCode.NRefactory/TypeSystem/Implementation/KnownTypeCache.cs:54
at ICSharpCode.NRefactory.TypeSystem.Implementation.KnownTypeCache.FindType (ICSharpCode.NRefactory.TypeSystem.KnownTypeCode) [0x00016] in /home/mike/work/monodevelop/main/contrib/ICSharpCode.NRefactory/TypeSystem/Implementation/KnownTypeCache.cs:44
at ICSharpCode.NRefactory.TypeSystem.Implementation.SimpleCompilation.FindType (ICSharpCode.NRefactory.TypeSystem.KnownTypeCode) [0x00000] in /home/mike/work/monodevelop/main/contrib/ICSharpCode.NRefactory/TypeSystem/Implementation/SimpleCompilation.cs:131
at ICSharpCode.NRefactory.CSharp.Resolver.Conversions..ctor (ICSharpCode.NRefactory.TypeSystem.ICompilation) [0x00029] in /home/mike/work/monodevelop/main/contrib/ICSharpCode.NRefactory.CSharp/Resolver/Conversions.cs:259
at ICSharpCode.NRefactory.CSharp.Resolver.Conversions.Get (ICSharpCode.NRefactory.TypeSystem.ICompilation) [0x00023] in /home/mike/work/monodevelop/main/contrib/ICSharpCode.NRefactory.CSharp/Resolver/Conversions.cs:272
at ICSharpCode.NRefactory.CSharp.Resolver.CSharpResolver..ctor (ICSharpCode.NRefactory.CSharp.TypeSystem.CSharpTypeResolveContext) [0x0002e] in /home/mike/work/monodevelop/main/contrib/ICSharpCode.NRefactory.CSharp/Resolver/CSharpResolver.cs:65
at ICSharpCode.NRefactory.CSharp.TypeSystem.TypeOrNamespaceReference.ICSharpCode.NRefactory.TypeSystem.ITypeReference.Resolve (ICSharpCode.NRefactory.TypeSystem.ITypeResolveContext) [0x00000] in /home/mike/work/monodevelop/main/contrib/ICSharpCode.NRefactory.CSharp/TypeSystem/TypeOrNamespaceReference.cs:61
at ICSharpCode.NRefactory.TypeSystem.Implementation.DefaultUnresolvedParameter.CreateResolvedParameter (ICSharpCode.NRefactory.TypeSystem.ITypeResolveContext) [0x00080] in /home/mike/work/monodevelop/main/contrib/ICSharpCode.NRefactory/TypeSystem/Implementation/DefaultUnresolvedParameter.cs:207
at ICSharpCode.NRefactory.TypeSystem.ExtensionMethods.<CreateResolvedParameters>m__F (ICSharpCode.NRefactory.TypeSystem.ITypeResolveContext,ICSharpCode.NRefactory.TypeSystem.IUnresolvedParameter) [0x00000] in /home/mike/work/monodevelop/main/contrib/ICSharpCode.NRefactory/TypeSystem/ExtensionMethods.cs:282
at ICSharpCode.NRefactory.Utils.ProjectedList`3.get_Item (int) [0x0001f] in /home/mike/work/monodevelop/main/contrib/ICSharpCode.NRefactory/Utils/ProjectedList.cs:158
at ICSharpCode.NRefactory.Utils.ProjectedList`3/<GetEnumerator>c__Iterator12.MoveNext () [0x0002d] in /home/mike/work/monodevelop/main/contrib/ICSharpCode.NRefactory/Utils/ProjectedList.cs:232
at MonoDevelop.CSharp.CSharpAmbience.AppendParameterList (System.Text.StringBuilder,MonoDevelop.TypeSystem.OutputSettings,System.Collections.Generic.IEnumerable`1<ICSharpCode.NRefactory.TypeSystem.IParameter>) [0x0003f] in /home/mike/work/monodevelop/main/src/addins/CSharpBinding/MonoDevelop.CSharp/CSharpAmbience.cs:738
at MonoDevelop.CSharp.CSharpAmbience.InternalGetMethodString (ICSharpCode.NRefactory.TypeSystem.IMethod,MonoDevelop.TypeSystem.OutputSettings,string,bool) [0x0017f] in /home/mike/work/monodevelop/main/src/addins/CSharpBinding/MonoDevelop.CSharp/CSharpAmbience.cs:545
at MonoDevelop.CSharp.CSharpAmbience.GetMethodString (ICSharpCode.NRefactory.TypeSystem.IMethod,MonoDevelop.TypeSystem.OutputSettings) [0x00000] in /home/mike/work/monodevelop/main/src/addins/CSharpBinding/MonoDevelop.CSharp/CSharpAmbience.cs:561
at MonoDevelop.TypeSystem.Ambience.GetString (ICSharpCode.NRefactory.TypeSystem.IEntity,MonoDevelop.TypeSystem.OutputSettings) [0x000e0] in /home/mike/work/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.TypeSystem/Ambience.cs:126
at MonoDevelop.TypeSystem.Ambience.GetString (ICSharpCode.NRefactory.TypeSystem.IEntity,MonoDevelop.TypeSystem.OutputFlags) [0x00000] in /home/mike/work/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.TypeSystem/Ambience.cs:158
at MonoDevelop.CSharp.PathedDocumentTextEditorExtension.UpdatePath (object,Mono.TextEditor.DocumentLocationEventArgs) [0x00181] in /home/mike/work/monodevelop/main/src/addins/CSharpBinding/MonoDevelop.CSharp/PathedDocumentTextEditorExtension.cs:266
at MonoDevelop.CSharp.PathedDocumentTextEditorExtension.<Initialize>m__3C (object,System.EventArgs) [0x00000] in /home/mike/work/monodevelop/main/src/addins/CSharpBinding/MonoDevelop.CSharp/PathedDocumentTextEditorExtension.cs:47
at (wrapper delegate-invoke) <Module>.invoke_void__this___object_EventArgs (object,System.EventArgs) <IL 0x00059, 0x00095>
at (wrapper delegate-invoke) <Module>.invoke_void__this___object_EventArgs (object,System.EventArgs) <IL 0x00059, 0x00095>
at (wrapper delegate-invoke) <Module>.invoke_void__this___object_EventArgs (object,System.EventArgs) <IL 0x00059, 0xffffffff>
at MonoDevelop.Ide.Gui.Document.OnDocumentParsed (System.EventArgs) [0x0000d] in /home/mike/work/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Document.cs:684
at MonoDevelop.Ide.Gui.Document/<StartReparseThread>c__AnonStorey97/<StartReparseThread>c__AnonStorey98/<StartReparseThread>c__AnonStorey99.<>m__12D (object,System.EventArgs) [0x0002c] in /home/mike/work/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Document.cs:657
at Gtk.Application/InvokeCB.Invoke () <IL 0x00012, 0x00021>
at GLib.Timeout/TimeoutProxy.Handler () <IL 0x0000d, 0x0003a>
at (wrapper native-to-managed) GLib.Timeout/TimeoutProxy.Handler () <IL 0x00029, 0xffffffff>
at (wrapper managed-to-native) Gtk.Application.gtk_main () <IL 0x0000e, 0xffffffff>
at Gtk.Application.Run () <IL 0x00000, 0x0000b>
at MonoDevelop.Ide.IdeApp.Run () [0x00000] in /home/mike/work/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/Ide.cs:385
at MonoDevelop.Ide.IdeStartup.Run (MonoDevelop.Ide.MonoDevelopOptions) [0x006ac] in /home/mike/work/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/IdeStartup.cs:275
at MonoDevelop.Ide.IdeStartup.Main (string[]) [0x0005e] in /home/mike/work/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/IdeStartup.cs:542
at MonoDevelop.Startup.MonoDevelopMain.Main (string[]) [0x00000] in /home/mike/work/monodevelop/main/src/core/MonoDevelop.Startup/MonoDevelop.Startup/MonoDevelopMain.cs:16
at (wrapper runtime-invoke) <Module>.runtime_invoke_int_object (object,intptr,intptr,intptr) <IL 0x0005c, 0xffffffff>
Native stacktrace:
monodevelop() [0x4911ea]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x10060) [0x2b70d964d060]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35) [0x2b70d98903a5]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x17b) [0x2b70d9893b0b]
monodevelop() [0x5d88b9]
monodevelop() [0x5d0dfa]
monodevelop() [0x5d1010]
monodevelop() [0x5d125a]
monodevelop() [0x5d3f52]
monodevelop() [0x5d4245]
monodevelop() [0x5d44ce]
monodevelop(mono_array_new_specific+0xf2) [0x560022]
[0x404f0e4d]
Debug info from gdb:
Could not attach to process. If your uid matches the uid of the target
process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
again as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf
ptrace: Die Operation ist nicht erlaubt.
No threads.
=================================================================
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.
=================================================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment