Bug 323427 (MONO80740) - DataGridView crash when using windows forms .net 2.0 application on Mono 1.2.2.1
Summary: DataGridView crash when using windows forms .net 2.0 application on Mono 1.2...
Status: RESOLVED FIXED
Alias: MONO80740
Product: Mono: Class Libraries
Classification: Mono
Component: Windows.Forms (show other bugs)
Version: 1.2
Hardware: Other Linux
: P3 - Medium : Normal
Target Milestone: 1_2
Assignee: Pedro Martínez Juliá
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords: UI
Depends on:
Blocks:
 
Reported: 2007-02-06 16:18 UTC by Dejan Vesic
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Exe, config, test and error report files (84.97 KB, application/zip)
2007-02-06 16:19 UTC, Thomas Wiest
Details

Note You need to log in before you can comment on or make changes to this bug.
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>