You are not logged in.
Whenever I start MonoDevelop, it freezes on the point when the progress bar is about 25% complete and says "Initializing Main Window".
Any idea what to check?
Offline
Try running it from a terminal to see the output...that could give you a clue
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...
Offline
Thanks for the suggestion. That is the output running it from a terminal:
[alf@pcalf ~]$ monodevelop -debugoptions
ParsingMode = Both
BreakSingleDashManyLettersIntoManyOptions = False
EndOptionProcessingWithDoubleDash = True
DontSplitOnCommas = False
The only thing I notice is that the process swallows more and more memory.
Offline
Finally found how to debug monodevelop:
MONO_LOG_LEVEL=debug monodevelop
It generates the following output:
...
Mono-INFO: Assembly Loader loaded assembly from location: '/usr/lib/monodevelop/bin/Mono.Cecil.Mdb.dll'.
Mono-INFO: Config attempting to parse: '/usr/lib/monodevelop/bin/Mono.Cecil.Mdb.dll.config'.
Mono-INFO: Config attempting to parse: '/etc/mono/assemblies/Mono.Cecil.Mdb/Mono.Cecil.Mdb.config'.
Mono-INFO: Config attempting to parse: '/home/alf/.mono/assemblies/Mono.Cecil.Mdb/Mono.Cecil.Mdb.config'.
Mono-INFO: Assembly Ref addref MonoDevelop.Projects 0x849f768 -> Mono.Cecil.Mdb 0x8b32f28: 2
Mono-INFO: Assembly Ref addref Mono.Cecil.Mdb 0x8b32f28 -> Mono.Cecil 0x8953970: 3
Mono-INFO: DllImport attempting to load: 'libglib-2.0.so.0'.
Mono-INFO: DllImport loading location: 'libglib-2.0.so.0.so'.
Mono-INFO: DllImport error loading library: 'libglib-2.0.so.0.so: no se puede abrir el fichero del objeto compartido: No existe el fichero o el directorio'.
Mono-INFO: DllImport loading library: './libglib-2.0.so.0.so'.
Mono-INFO: DllImport error loading library './libglib-2.0.so.0.so: no se puede abrir el fichero del objeto compartido: No existe el fichero o el directorio'.
Mono-INFO: DllImport loading: 'libglib-2.0.so.0'.
Mono-INFO: Searching for 'g_idle_add'.
Mono-INFO: Probing 'g_idle_add'.
Mono-INFO: Found as 'g_idle_add'.
(MonoDevelop:27145): Mono-WARNING **: GC Warning: Repeated allocation of very large block (appr. size 12062720):
May lead to memory leak and poor performance.
(MonoDevelop:27145): Mono-WARNING **: GC Warning: Repeated allocation of very large block (appr. size 67112960):
May lead to memory leak and poor performance.
Any idea?
Last edited by becho4 (2008-04-24 17:00:32)
Offline
Searching Google for
MonoDevelop memory bug
finds the release notes for 1.0:
A bug in Mono's managed file watcher may cause the memory use of MonoDevelop to grow indefinitely. To avoid this problem make sure Inotify is properly configured like explained here [http://www.monodevelop.com/Inotify_Watches_Limit]
Offline
That solved the problem.
Thanks tigrmesh.
Offline