[Mono-bugs] [Bug 585017] Path.GetTempFileName () takes 100% CPU if /tmp is not writable

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Mar 4 02:28:17 EST 2010


http://bugzilla.novell.com/show_bug.cgi?id=585017

http://bugzilla.novell.com/show_bug.cgi?id=585017#c1


Ankit Jain <jankit at novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|2.6.x                       |SVN
          Component|xbuild                      |CORLIB
           Platform|x86-64                      |x86
         AssignedTo|jankit at novell.com           |mono-bugs at lists.ximian.com
            Product|Mono: Tools                 |Mono: Class Libraries
            Summary|100% CPU with 0755          |Path.GetTempFileName ()
                   |permissions on /tmp         |takes 100% CPU if /tmp is
                   |                            |not writable

--- Comment #1 from Ankit Jain <jankit at novell.com> 2010-03-04 07:28:16 UTC ---
With /tmp set to 0755, Path.GetTempFileName () seems to keep throwing
UnauthorizedException and stuck in a loop.

Test case:

using System;
using System.IO;

public class test {
    public static void Main ()
    {
        string path = Path.GetTempFileName ();
        Console.WriteLine ("Got temp filename : {0}", path);
    }
}

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


More information about the mono-bugs mailing list