Bug 323427 (MONO80740)

Summary: DataGridView crash when using windows forms .net 2.0 application on Mono 1.2.2.1
Product: [Mono] Mono: Class Libraries Reporter: Dejan Vesic <DejanVesic>
Component: Windows.FormsAssignee: Pedro Martínez Juliá <pedromj>
Status: RESOLVED FIXED QA Contact: Mono Bugs <mono-bugs>
Severity: Normal    
Priority: P3 - Medium Keywords: UI
Version: 1.2   
Target Milestone: 1_2   
Hardware: Other   
OS: Linux   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Exe, config, test and error report files

Description Thomas Wiest 2007-09-15 20:25:42 UTC


---- Reported by DejanVesic@gmail.com 2007-02-06 09:18:27 MST ----

Description of Problem:

.Net 2.0 WinForms application compiled on Windows crashes when try to use
it on Mono 1.2.2.1 on openSuSe 10.2

Steps to reproduce the problem:

1. Unpack archive vastelenor-1.0.11.2.zip
2. Execute program with:

mono ./VasTelenor.exe ./specifikacija.csv

3. Click on Go! button

Application will crash with following error message:

System.ArgumentException: '-3' is not a valid value for 'Value'. 'Value'
should be between 'Minimum' and 'Maximum'
  at System.Windows.Forms.ScrollBar.SetValue (Int32 value) [0x00000] 

(full report in error.report.txt)

If the file specifikacija.csv is small enough (so no scrollbars needs to be
drawn on one of datagrids), there will be no error. If the file is bigger
(like in archive) bug will happen every time.

Regards,
Dejan



---- Additional Comments From DejanVesic@gmail.com 2007-02-06 09:19:55 MST ----

Created an attachment (id=171401)
Exe, config, test and error report files




---- Additional Comments From toshok@ximian.com 2007-02-07 14:31:36 MST ----

In the future if you have an exception trace, please include it fully
in the bug report so we can determine in what area the problem is
without having to download a zip file unpack it.  Thanks.

updated the summary.



---- Additional Comments From pedromj@gmail.com 2007-04-28 07:54:42 MST ----

That trace is a problem with scrollbar, it's fixed in SVN.

Now SVN is a bit buggy with drawing this sample, please, ¿can test
your code and provide a simple testcase if the bug remains?

Imported an attachment (id=171401)

Unknown bug field "cf_op_sys_details" encountered while moving bug
   <cf_op_sys_details>openSuSe 10.2</cf_op_sys_details>