[Mono-dev] Debugger crashes while debugging ASP.NET app

passiday passiday at gmail.com
Fri Jan 14 09:07:42 EST 2011


Hello Lluis,

> Try running MonoDevelop from a terminal, and see which output you get.
> Also make sure you have the latest MonoDevelop and Mono.

The MonoDevelop and Mono was fetched from depositories, using synaptic, on
13th of January. My colleague installed MonoDevelop on his Kubuntu, and
experiences no problems whatsoever. So, this is something connected with my
system.

Below is the console output. Not too much happens in the console, when the
debugger is crashing. But as there are some errors upon running the
monodevelop, and building and running the app, maybe they are somehow
connected with this crash? Maybe there is some debugger log file, where
there could be more info about what is happening?

* Console output, when stating up the MonoDevelop:

WARNING: Cannot find Mozilla directory containing libgtkembedmoz.so. Some
Addins may not be able to function. Please set MOZILLA_FIVE_HOME to your
Mozilla directory.
WARNING [2011-01-14 15:48:18Z]: Error creating composed icon
gtk-execute___asm0__debug-overlay-22.png__SmallToolbar at size SmallToolbar.
Icon __asm0__debug-overlay-22.png__SmallToolbar is 22x22, expected 18x18.
ERROR [2011-01-14 15:48:18Z]: GdkPixbuf-Critical: gdk_pixbuf_composite:
assertion `dest_x >= 0 && dest_x + dest_width <= dest->width' failed
Stack trace: 
   at Gdk.Pixbuf.Composite(Gdk.Pixbuf dest, Int32 dest_x, Int32 dest_y,
Int32 dest_width, Int32 dest_height, Double offset_x, Double offset_y,
Double scale_x, Double scale_y, InterpType interp_type, Int32 overall_alpha)
   at MonoDevelop.Ide.ImageService.MergeIcons(Gdk.Pixbuf icon1, Gdk.Pixbuf
icon2)
   at MonoDevelop.Ide.ImageService.GetComposedIcon(System.String[] ids,
IconSize size)
   at
MonoDevelop.Ide.ImageService.InternalGetStockId(Mono.Addins.RuntimeAddin
addin, System.String filename, IconSize size)
   at
MonoDevelop.Ide.ImageService.LoadStockIcon(MonoDevelop.Ide.Extensions.StockIconCodon
iconCodon)
   at
MonoDevelop.Ide.ImageService.<EnsureStockIconIsLoaded>m__11C(MonoDevelop.Ide.Extensions.StockIconCodon
i)
   at
System.Collections.Generic.List`1[[MonoDevelop.Ide.Extensions.StockIconCodon,
MonoDevelop.Ide, Version=2.4.0.0, Culture=neutral,
PublicKeyToken=null]].ForEach(System.Action`1 action)
   at MonoDevelop.Ide.ImageService.EnsureStockIconIsLoaded(System.String
stockId, IconSize size)
   at MonoDevelop.Ide.ImageService.<ImageService>m__11A(System.String
stockId)
   at MonoDevelop.Core.IconId.get_Name()
   at MonoDevelop.Core.IconId.op_Implicit(IconId icon)
   at
MonoDevelop.Components.Commands.CommandToolButton.Update(MonoDevelop.Components.Commands.CommandInfo
cmdInfo)
   at
MonoDevelop.Components.Commands.CommandToolButton.MonoDevelop.Components.Commands.ICommandUserItem.Update(MonoDevelop.Components.Commands.CommandTargetRoute
targetRoute)
   at
MonoDevelop.Components.Commands.CommandToolButton.OnParentSet(Gtk.Widget
parent)
   at Gtk.Widget.parentset_cb(IntPtr widget, IntPtr previous_parent)
   at Gtk.Container.gtksharp_container_base_add(IntPtr , IntPtr )
   at Gtk.Container.OnAdded(Gtk.Widget widget)
   at MonoDevelop.Components.DockToolbars.DockToolbar.OnAdded(Gtk.Widget w)
   at Gtk.Container.added_cb(IntPtr container, IntPtr widget)
   at Gtk.Container.gtk_container_add(IntPtr , IntPtr )
   at Gtk.Container.Add(Gtk.Widget widget)
   at
MonoDevelop.Components.Commands.CommandManager.CreateToolbar(System.String
id, MonoDevelop.Components.Commands.CommandEntrySet entrySet, System.Object
initialTarget)
   at
MonoDevelop.Components.Commands.CommandManager.CreateToolbar(System.String
id, MonoDevelop.Components.Commands.CommandEntrySet entrySet)
   at
MonoDevelop.Components.Commands.CommandManager.CreateToolbarSet(System.String
addinPath)
   at MonoDevelop.Ide.Gui.DefaultWorkbench.InitializeWorkspace()
   at MonoDevelop.Ide.Gui.Workbench.Initialize(IProgressMonitor monitor)
   at MonoDevelop.Ide.IdeApp.Initialize(IProgressMonitor monitor)
   at MonoDevelop.Ide.IdeStartup.Run(System.String[] args)
   at MonoDevelop.Startup.MonoDevelopMain.Main(System.String[] args)
ERROR [2011-01-14 15:48:18Z]: Error updating Welcome Page content.
System.Xml.XmlException: Document element did not appear.
file:///home/pavils/.config/MonoDevelop/news.xml Line 1, position 1.
  at Mono.Xml2.XmlTextReader.Read () [0x00000] in <filename unknown>:0 
  at System.Xml.XmlTextReader.Read () [0x00000] in <filename unknown>:0 
  at System.Xml.XmlDocument.ReadNodeCore (System.Xml.XmlReader reader)
[0x00000] in <filename unknown>:0 
  at System.Xml.XmlDocument.ReadNode (System.Xml.XmlReader reader) [0x00000]
in <filename unknown>:0 
  at System.Xml.XmlDocument.Load (System.Xml.XmlReader xmlReader) [0x00000]
in <filename unknown>:0 
  at MonoDevelop.WelcomePage.WelcomePageView.GetUpdatedXmlDocument ()
[0x00000] in <filename unknown>:0 

* When building and running ASP.NET web app:

ERROR [2011-01-14 15:48:38Z]: Type '<Module>' loaded more than once

ERROR [2011-01-14 15:48:38Z]: Type '<Module>' loaded more than once

ERROR [2011-01-14 15:48:38Z]: Type 'System.Threading.ReaderWriterLockSlim'
loaded more than once

ERROR [2011-01-14 15:48:38Z]: Type 'TypeInfo__TypeMetadata' loaded more than
once

ERROR [2011-01-14 15:48:38Z]: Type 'ChannelInfo__TypeMetadata' loaded more
than once

ERROR [2011-01-14 15:48:38Z]: Type 'CrossAppDomainData__TypeMetadata' loaded
more than once

ERROR [2011-01-14 15:48:39Z]: Type '<Module>' loaded more than once

ERROR [2011-01-14 15:48:39Z]: Type 'System.IO.MonoIO' loaded more than once

ERROR [2011-01-14 15:48:40Z]: Type '<Module>' loaded more than once

* When the debugger hits breakpoint:

OnTargetEvent, type - TargetHitBreakpoint

* In the very rare case when the step over works fine:

OnTargetEvent, type - TargetStopped

* When the step over fails:

OnTargetEvent, type - TargetExited



No extra output, connected with the debugger crash is given. Application
execution is stopped, and the browser receives error (FF says "Unable to
connect. Firefox can't establish a connection to the server at
127.0.0.1:8080.").
-- 
View this message in context: http://mono.1490590.n4.nabble.com/Debugger-crashes-while-debugging-ASP-NET-app-tp3216688p3217705.html
Sent from the Mono - Dev mailing list archive at Nabble.com.


More information about the Mono-devel-list mailing list