[Mono-bugs] [Bug 506257] New: crash if Media.SystemSounds.Beep.Play() loop 30 times

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri May 22 01:29:51 EDT 2009


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


           Summary: crash if Media.SystemSounds.Beep.Play() loop 30 times
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: i586
        OS/Version: openSUSE 11.1
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: tsai at pinnacle.com.tw
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.0.10)
Gecko/2009042316 Firefox/3.0.10

SVN r132544 2009-04-24
E: shm.c: mmap() failed: connot allocate memory
remark: Console.Beep() no sound in linux

private void button1_Click(object sender, EventArgs e)
{
    button1.Enabled = false;
    button1.Refresh();
    for (int i = 0; i < 30; i++)
        System.Media.SystemSounds.Beep.Play();
    button1.Enabled = true;
}

Reproducible: Always

Steps to Reproduce:
1. mono WindowsApplication1.exe
2. press Button1
3. program crash
Actual Results:  
program crash

Expected Results:  
program run normal

-- 
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