[Mono-bugs] [Bug 537394] New: Crash when in Settings after upgrade
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Tue Sep 8 08:59:24 EDT 2009
http://bugzilla.novell.com/show_bug.cgi?id=537394
Summary: Crash when in Settings after upgrade
Classification: Mono
Product: Mono: Class Libraries
Version: 2.4.x
Platform: All
OS/Version: All
Status: NEW
Severity: Major
Priority: P5 - None
Component: System
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: prince0 at hotmail.com
QAContact: mono-bugs at lists.ximian.com
Found By: DeveloperNet
Created an attachment (id=317208)
--> (http://bugzilla.novell.com/attachment.cgi?id=317208)
Source code of a small project that reproduces the issue
Description of Problem:
When iterating on all Properties.Settings.Default.PropertyValues, a crash can
occur when calling settingsProperty.PropertyValue set accessor.
Steps to reproduce the problem:
1. I store 2 string values in Settings.
2. I read the first one at startup to load all settings properties.
3. foreach settings properties, I assign it tto itself
foreach(SettingsPropertyValue settingsProperty in
Properties.Settings.Default.PropertyValues)
settingsProperty.PropertyValue = settingsProperty.PropertyValue;
3. I call Settings.Save()
4. I build, run and quit the quit app.
5. I remove the second setting property
6. I build, run and quit the quit app
7. Crash during assignement in the foreach loop
Actual Results:
Crash the second time (after change of the settings).
Expected Results:
No crash
How often does this happen?
Always
--
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