[Mono-bugs] [Bug 327500] New: gmcs hang when /win32res is passed bad file

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Sep 22 14:02:34 EDT 2007


https://bugzilla.novell.com/show_bug.cgi?id=327500

           Summary: gmcs hang when /win32res is passed bad file
           Product: Mono: Compilers
           Version: 1.2
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: P5 - None
         Component: C#
        AssignedTo: rharinath at novell.com
        ReportedBy: andyhume32 at yahoo.co.uk
         QAContact: mono-bugs at ximian.com
          Found By: ---


When verifing the fix to bug 325431, I found that passing an .ico file into the
/win32res option results in gmcs never completing, apparently hanging forever.

For example, with a simple HelloWorld.cs, and Mono.ico from
trunk/mono/mcs/class/System.Drawing/Assembly, the following command never
returns:
    gmcs HelloWorld2.cs /win32res:Mono.ico

I haven't tried if other options and/or file types that cause such behaviour.

BTW MSFT csc fails in this case with:
[[
error CS1583:
        'd:\cygwin\usr\src\mono\mcs\class\System.Drawing\Assembly\Mono.ico' is
        not a valid Win32 resource file
]]

Repro'd in 1.2.5_5 Windows and Linux, and in SVN head Windows.


-- 
Configure bugmail: https://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