Red Hat Bugzilla – Bug 494675
monodevelop freezes randomly
Last modified: 2010-06-28 07:43:59 EDT
Description of problem:
md freezes randomly at no specific time or class or action. No exception is beeing thrown.
Version-Release number of selected component (if applicable):
Quite regularly. Might be related to compiling (using F5).
Steps to Reproduce:
1. Open MD
2. Open your project
3. Do some things and compile your stuff quite often.
MD crashes after a couple of minutes/compilations.
MD behaves stable/
Not happening at this end. Can you run it through mono-debugger and see if that puts anything up?
I have the same problem.
In order to avoid restarting Monodevelop over and over I now build using:
mdtool build -c release solution.sln
It seems that once in a while mdtool hangs and this might cause monodevelop to hang.
I have seen it hang with the output:
MonoDevelop Build Tool
MonoDevelop Build Tool
Loading solution: ./solution.sln
Loading solution: ./solution.sln
Loading projects ..
BTW I am using monodevelop 2.0+ dfsg-2ubuntu1
The upstream bug linked to this was fixed with:
--- monodevelop/main/src/addins/MonoDevelop.SourceEditor2/ChangeLog (Revision 131297)
+++ monodevelop/main/src/addins/MonoDevelop.SourceEditor2/ChangeLog (Revision 131298)
@@ -1,3 +1,10 @@
+2009-04-08 Mike Krüger <email@example.com>
+ * MonoDevelop.SourceEditor/AutoSave.cs:
+ * MonoDevelop.SourceEditor/EditActions.cs:
+ * MonoDevelop.SourceEditor/SourceEditorView.cs: Worked on "Bug
+ 492923 - MD hangs while editing text".
As https://bugzilla.novell.com/show_bug.cgi?id=492923#c3 states this bug was caused by the new autosave feature (added two days before).
The fedora build does not even include this new feature. Therefore the upstream bug certainly does not match exactly.
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.
More information and reason for this action is here:
I've tried to reproduce the problem in a fully updated F11 installation, but I could not reproduce it so far.
Do you still see the problem?
1. Which version of monodevelop and mono do you use?
2. please get a backtrace when monodevelop is hanging:
a) you should have started monodevelop in an xterm
b) killall -QUIT monodevelop
The backtrace will be printed out on the xterm. Please attach it to this bug report.
This error did not appear again.
If so i'll repoen this bug.
I have to reopen this bug.
This bug might be related to the MVC oder Texttemplate Addin.
As tinkering around with an MVC app, MD ist just unusable as it crashes every couple of minutes.
A way to reproduce this problem quite:
1. Create a new ASP.NET MVC project
2. Edit Views/Home/index.aspx
3. Press Strg+s (Save) while moving the mouse over the code-view
4. Run the application
4. MD freezes.
I also experience this bug more often when mousetweaks is running.
Well, since Lars is on Ubuntu, this is clearly an upstream bug.
For those on Fedora, does the updated Mono 184.108.40.206 help? Otherwise, try also installing the new monodevelop 2.1.0 from Rawhide.
I am also experiencing this bug where monodevelop freezes at seemingly random times. I am using Fedora 11 with the latest updates. Here are my versions:
Here is a backtrace after the freeze happens.
"<unnamed thread>" tid=0x0x9d4b40 this=0x0x3eed8 thread handle 0x404 state : not waiting owns ()
at (wrapper managed-to-native) object.__icall_wrapper_mono_array_new_specific (intptr,int) <0x00004>
at (wrapper managed-to-native) object.__icall_wrapper_mono_array_new_specific (intptr,int) <0xffffffff>
at System.Text.Encoding.GetChars (byte,int,int) <0x0002f>
at System.Text.Encoding.GetString (byte,int,int) <0x0001c>
at System.Text.UTF8Encoding.GetString (byte,int,int) <0x00016>
at System.Text.Encoding.GetString (byte) <0x00026>
at GLib.Marshaller.Utf8PtrToString (intptr) <0x00087>
at Gtk.ToolButton.get_Label () <0x00022>
at MonoDevelop.Components.Commands.CommandToolButton.Update (MonoDevelop.Components.Commands.CommandInfo) <0x00053>
at MonoDevelop.Components.Commands.CommandToolButton.MonoDevelop.Components.Commands.ICommandUserItem.Update (object) <0x0003d>
at MonoDevelop.Components.Commands.CommandToolbar.Update (object) <0x0018b>
at MonoDevelop.Components.Commands.CommandManager.UpdateToolbars () <0x000aa>
at MonoDevelop.Components.Commands.CommandManager.UpdateStatus () <0x0001a>
at GLib.Timeout/TimeoutProxy.Handler () <0x00034>
at (wrapper native-to-managed) GLib.Timeout/TimeoutProxy.Handler () <0xffffffff>
at (wrapper managed-to-native) Gtk.Application.gtk_main () <0x00004>
at (wrapper managed-to-native) Gtk.Application.gtk_main () <0xffffffff>
at Gtk.Application.Run () <0x0000a>
at MonoDevelop.Ide.Gui.IdeApp.Run () <0x0000a>
at MonoDevelop.Ide.Gui.IdeStartup.Run (string) <0x00bc3>
at MonoDevelop.Startup.SharpDevelopMain.Main (string) <0x00061>
at (wrapper runtime-invoke) MonoDevelop.Startup.SharpDevelopMain.runtime_invoke_int_object (object,intptr,intptr,intptr) <0xffffffff>
Running monodevelop with the --debug option makes this problem go away for me.
This message is a reminder that Fedora 11 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 11. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '11'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 11's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 11 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora please change the 'version' of this
bug to the applicable version. If you are unable to change the version,
please add a comment here and someone will do it for you.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
The process we are following is described here:
Fedora 11 changed to end-of-life (EOL) status on 2010-06-25. Fedora 11 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version.
Thank you for reporting this bug and we are sorry it could not be fixed.