[Mono-bugs] [Bug 688014] New: A crash while hammering WinForms

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Apr 16 17:05:21 EDT 2011


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

https://bugzilla.novell.com/show_bug.cgi?id=688014#c0


           Summary: A crash while hammering WinForms
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.10.x
          Platform: x86-64
        OS/Version: Linux
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: novell at startport.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Description of Problem:

Several years ago, I wrote this Roulette application on .Net 1.1 using C# and
Visual Studio.net: http://www.lonniebest.com/Roulette/

Since April of 2007, I've been using Ubuntu Linux exclusively, so today I tried
to recompile that old code using the MonoDevelop IDE. To my amazement, the code
built fine without errors, and I was able to run this WinForms application on
Ubuntu.

Everything worked fine (at first), when I would spin the roulette wheel one
spin at a time. It would even run fine if I told it to spin it 10 times in a
row. However, too much higher (in a row) than that, the applications crashes
and all I see in the MonoDevelop's "Application Output" pane is:

The application was terminated by a signal: SIGHUP

(In Visual Studio, I'd expect it to direct me to an Unhandled Exception in my
code, but MonoDevelop only seems to display the above output in the
"Application Output" pane)

This application really hammers WinForms, it updates numerous form element over
and over again with each spin, as fast as can be rendered. If you run it on the
Net version I posted in the link above, you'll see it update all these form
elements 100+ times a second. That may not be necessary, but neither is the
application as a whole, and that's what I intend for it to do.

Compiled with Visual Studio, and running on Windows .Net, the applications can
do millions of spins without ever crashing.

So, can anyone offer some insight that might allow me to get this code more
resilient in Mono/Linux, in light of the "SIGHUP" crash above?

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