[Mono-bugs] [Bug 490031] New: FlacSquisher: Program crash when updating window

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Mar 29 03:34:25 EDT 2009


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


           Summary: FlacSquisher: Program crash when updating window
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.2.x
          Platform: x86
               URL: http://sourceforge.net/projects/flacsquisher/
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: unhchabo at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Description of Problem:
FlacSquisher is a GUI I wrote in Visual C++ as a frontend for OggEnc and LAME.
While running FlacSquisher inside Mono, it crashes sometime in between
successive calls to the encoder. I suspect that it has something to do with the
Windows Forms calls dealing with the StatusStrip, possibly the ProgressBar

Steps to reproduce the problem:
1. Start up FlacSquisher inside Mono
2. Set the Flac directory to a folder that has multiple FLAC files inside, and
set the Output directory to an empty folder.
3. Press the "Encode!" button.


Actual Results:
If this is the first run through FlacSquisher, then it may take a few files to
go through before it crashes. After the first run though, FlacSquisher skips
over files already encoded, and quickly increments the ProgressBar, and may
crash before it encodes ANY files.

Expected Results:
FlacSquisher should encode all Flac files on the first run. On subsequent runs,
it should skip all Flac files, unless it encounters new ones.

How often does this happen? 
Given a sufficient number of Flac files in the directory (I personally have
over 1000), FlacSquisher crashes on every run. FlacSquisher may not crash if
there are less than 10 Flac files.

Additional Information:
The section of the source code where I suspect it's crashing is the method
updateProgressBar(), seen on line 836 here:
http://flacsquisher.svn.sourceforge.net/viewvc/flacsquisher/FlacSquisher/FlacToPortable.h?revision=39&view=markup

I ran several times and got inconsistent error messages under Mono in Linux;
FlacSquisher crashed quietly under Mono in Windows. I've attached one of the
three error messages that I've saved.

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