[Mono-bugs] [Bug 553603] New: IO Exception when handling broken Symlink

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Nov 7 06:18:21 EST 2009


           Summary: IO Exception when handling broken Symlink
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.4.x
          Platform: 64bit
        OS/Version: Ubuntu
            Status: NEW
          Severity: Blocker
          Priority: P5 - None
         Component: io-layer
        AssignedTo: lupus at novell.com
        ReportedBy: Carroarmato0 at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Community User

Description of Problem:

It is suggested by a core developer of Gnome-Do (a program written with Mono)
that there is a bug in Mono that causes an IO exception when encountering a
broken symbolic link.

The initial bug report was made on Launchpad because the bug was encountered in

The link to the bug report: 

The debugging dump that the specific program gave can be found here: 

The interesting part of the debug file is this:

Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle
the exception.
System.IO.IOException: Win32 IO returned ERROR_NO_MORE_FILES. Path:
  at System.IO.Directory.GetFileSystemEntries (System.String path,
System.String searchPattern, FileAttributes mask, FileAttributes attrs)
  at System.IO.Directory.GetFiles (System.String path, System.String
searchPattern) [0x00000] 
  at System.IO.Directory.GetFiles (System.String path) [0x00000] 
  at Docky.Interface.TrashDockItem.get_Icon () [0x00000] 
  at Docky.Interface.AbstractDockItem.GetSurfacePixbuf (Int32 size) [0x00000] 
  at Docky.Interface.AbstractDockItem.MakeIconSurface (Cairo.Surface similar,
Int32 size) [0x00000] 
  at Docky.Interface.AbstractDockItem.GetIconSurface (Cairo.Surface similar,
Int32 targetSize, System.Int32& actualSize) [0x00000] 
  at Docky.Interface.DockArea.DrawIcon (Cairo.Context cr, Int32 icon, Boolean
hovered) [0x00000] 
  at Docky.Interface.DockArea.DrawIcons (Cairo.Context cr, Rectangle dockArea)
  at Docky.Interface.DockArea.DrawDock (Cairo.Context cr) [0x00000] 
  at Docky.Interface.DockArea.OnExposeEvent (Gdk.EventExpose evnt) [0x00000] 
  at Gtk.Widget.exposeevent_cb (IntPtr widget, IntPtr evnt) [0x00000] 
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean
   at Gtk.Widget.exposeevent_cb(IntPtr widget, IntPtr evnt)
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at Do.Do.Main(System.String[] args)
Cairo.Context: called from finalization thread, programmer is missing a call to

Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list