Bugzilla – Bug 316211
Startup fails if home dir contains files with names ending in a space or backslash
Last modified: 2007-09-15 21:23:51 UTC
---- Reported by nullboy@nullboy.plus.com 2004-10-10 06:27:22 MST ---- Please fill in this template when reporting a bug, unless you know what you are doing. Description of Problem: When a file whose name ends in a space exists in the home dir, startup fails Steps to reproduce the problem: 1. Create a file ending in a space in your home folder 2. Start monodevelop by typing "monodevelop" 3. Actual Results: MonoDevelop crashes with many errors Expected Results: MonoDevelop should start How often does this happen? Every time Additional Information: pete@newcastle:~$ monodevelop Bonobo accessibility support initialized GTK Accessibility Module initialized Reading /home/pete/.config/MonoDevelop/CodeCompletionData/mscorlib_1.0.5000.0_b77a5c561934e089.pidb Creating DefaultWorkbench Loading error, please reinstall : System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: File '/home/pete/error.log ' not found. in [0x0002b] (at /tmp/DLG/BUILD/mcs-1.0.1/mcs-1.0.1/class/corlib/System.IO/FileInfo.cs:86) System.IO.FileInfo:get_Length () in <0x0005a> (wrapper remoting-invoke-with-check) System.IO.FileInfo:get_Length () in [0x0000f] (at /tmp/DLG/BUILD/monodevelop-0.5/monodevelop-0.5/src/Main/Base/Gui/Pads/FileScout/FileListItem.cs:75) MonoDevelop.Gui.Pads.FileListItem:.ctor (string) in [0x0006d] (at /tmp/DLG/BUILD/monodevelop-0.5/monodevelop-0.5/src/Main/Base/Gui/Pads/FileScout/FileScout.cs:74) MonoDevelop.Gui.Pads.FileScout:OnDirChanged (string) in [0x000a9] (at /tmp/DLG/BUILD/monodevelop-0.5/monodevelop-0.5/src/Main/Base/Gui/Pads/FileScout/FileScout.cs:58) MonoDevelop.Gui.Pads.FileScout:.ctor () in (unmanaged) (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[]) in <0x00004> (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[]) in [0x00033] (at /tmp/DLG/BUILD/mcs-1.0.1/mcs-1.0.1/class/corlib/System.Reflection/MonoMethod.cs:280) System.Reflection.MonoCMethod:Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) --- End of inner exception stack trace --- in [0x00052] (at /tmp/DLG/BUILD/mcs-1.0.1/mcs-1.0.1/class/corlib/System.Reflection/MonoMethod.cs:284) System.Reflection.MonoCMethod:Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) in [0x00007] (at /tmp/DLG/BUILD/mcs-1.0.1/mcs-1.0.1/class/corlib/System.Reflection/MonoMethod.cs:289) System.Reflection.MonoCMethod:Invoke (System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) in [0x00017] (at /tmp/DLG/BUILD/mcs-1.0.1/mcs-1.0.1/class/corlib/System.Reflection/ConstructorInfo.cs:62) System.Reflection.ConstructorInfo:Invoke (object[]) in [0x00074] (at /tmp/DLG/BUILD/mcs-1.0.1/mcs-1.0.1/class/corlib/System/Activator.cs:260) System.Activator:CreateInstance (System.Type,bool) in [0x00002] (at /tmp/DLG/BUILD/mcs-1.0.1/mcs-1.0.1/class/corlib/System/Activator.cs:151) System.Activator:CreateInstance (System.Type) in [0x00013] (at /tmp/DLG/BUILD/mcs-1.0.1/mcs-1.0.1/class/corlib/System.Reflection/Assembly.cs:468) System.Reflection.Assembly:CreateInstance (string,bool) in [0x00003] (at /tmp/DLG/BUILD/mcs-1.0.1/mcs-1.0.1/class/corlib/System.Reflection/Assembly.cs:459) System.Reflection.Assembly:CreateInstance (string) in [0x00035] (at /tmp/DLG/BUILD/monodevelop-0.5/monodevelop-0.5/src/Libraries/MonoDevelop.Core/AddIns/AddIn.cs:432) MonoDevelop.Core.AddIns.AddIn:CreateObject (string) in [0x0000c] (at /tmp/DLG/BUILD/monodevelop-0.5/monodevelop-0.5/src/Libraries/MonoDevelop.Core/AddIns/Codons/ClassCodon.cs:27) MonoDevelop.Core.AddIns.Codons.ClassCodon:BuildItem (object,System.Collections.ArrayList,MonoDevelop.Core.AddIns.Conditions.ConditionCollection) in [0x00058] (at /tmp/DLG/BUILD/monodevelop-0.5/monodevelop-0.5/src/Libraries/MonoDevelop.Core/AddIns/DefaultAddInTreeNode.cs:180) MonoDevelop.Core.AddIns.DefaultAddInTreeNode:BuildChildItems (object) in [0x00010] (at /tmp/DLG/BUILD/monodevelop-0.5/monodevelop-0.5/src/Main/Base/Gui/Workbench/DefaultWorkbench.cs:612) MonoDevelop.Gui.DefaultWorkbench:UpdateViews (object,System.EventArgs) in [0x00015] (at /tmp/DLG/BUILD/monodevelop-0.5/monodevelop-0.5/src/Main/Base/Commands/AutostartCommands.cs:41) MonoDevelop.Commands.InitializeWorkbenchCommand:Run () in [0x001d2] (at /tmp/DLG/BUILD/monodevelop-0.5/monodevelop-0.5/src/Main/StartUp/MonoDevelopMain.cs:115) MonoDevelop.SharpDevelopMain:Main (string[]) /usr/bin/monodevelop: line 67: 12195 Killed mono --debug ./MonoDevelop.exe $@ pete@newcastle:~$ ---- Additional Comments From mail@meebey.net 2004-12-12 07:59:57 MST ---- A MonoDevelop user reported also this problem on the Debian BTS (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=285287). This bug also happens when a filename in the homedir contains a backslash. To reproduce it: echo > "a\\" monodevelop *crash* ---- Additional Comments From jluke@cfl.rr.com 2005-04-11 14:59:54 MST ---- these are both mono bugs: see https://bugzilla.novell.com/show_bug.cgi?id=MONO56993 and https://bugzilla.novell.com/show_bug.cgi?id=MONO53173 (and related reports) *** This bug has been marked as a duplicate of https://bugzilla.novell.com/show_bug.cgi?id=MONO53173 *** Unknown bug field "cf_op_sys_details" encountered while moving bug <cf_op_sys_details>slackware 10 with kernel 2.6.7 and dropline gnome 2.8</cf_op_sys_details> Unknown operating system unknown. Setting to default OS "Other". This bug was marked DUPLICATE in the database it was moved from. Changing resolution to "MOVED"