Bug 10869 - Out of range exception.
Summary: Out of range exception.
Status: NEEDINFO
Alias: None
Product: Class Libraries
Classification: Mono
Component: System.XML (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2013-03-04 04:32 UTC by Alistair Leslie-Hughes
Modified: 2013-08-07 12:27 UTC (History)
2 users (show)

See Also:
Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Log file the installer produced which includes a stack trace (9.02 KB, text/plain)
2013-03-04 04:32 UTC, Alistair Leslie-Hughes
Details

Description Alistair Leslie-Hughes 2013-03-04 04:32:08 UTC
Created attachment 3528 [details]
Log file the installer produced which includes a stack trace

Download SQLManagementStudio_x86_ENU.exe from
http://www.microsoft.com/en-us/download/details.aspx?id=7593

When running the above installer under WINE, an out of range exception is thrown.

It's from function Mono.Xml.Schema.XsdKeyTable.SelectorMatches

...
int iter = path.OrderedSteps.Length;
if (path.OrderedSteps [iter-1].IsAttribute)
	iter--;
....
The path.OrderedSteps.Length == 0 in this case.

See the attached file for a stack trace.

Any ideas on what would cause the OrderedSteps not to be filled.
Comment 1 Atsushi Eno 2013-08-07 12:27:18 UTC
That's too big to evaluate. Reasonably sized repro program is wanted.

Note You need to log in before you can comment on or make changes to this bug.