Bug 2677 - Case insensitive filename filters in sdb do not work
Summary: Case insensitive filename filters in sdb do not work
Alias: None
Product: Runtime
Classification: Mono
Component: Debugger ()
Version: unspecified
Hardware: PC Mac OS
: --- major
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2011-12-28 17:44 UTC by Mikayla Hutchinson [MSFT]
Modified: 2012-01-03 18:10 UTC (History)
3 users (show)

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

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Mikayla Hutchinson [MSFT] 2011-12-28 17:44:25 UTC
Requesting types from sdb with with the case insensitive option set to true causes the runtime to assert and crash.

In addition there is no way to make the filename filters on a type load event request case insensitive.

Marking major since this case insensitivity looks like a potential cause of bug 2196.
Comment 1 Zoltan Varga 2012-01-02 12:31:15 UTC
For the first issue: What api call causes these crashes ?
For the second issue: would it be ok if the filename filters be case insensitive by default ?
Comment 2 Mikayla Hutchinson [MSFT] 2012-01-03 11:23:57 UTC
For the first, if we call vm.GetTypesForSourceFile (name, true), then AFAICT we hit this assert: https://github.com/mono/mono/blob/master/mono/mini/debugger-agent.c#L6197

For the second: yes, either way is fine.
Comment 3 Zoltan Varga 2012-01-03 18:10:44 UTC
Both issues should be fixed in master/mobile-master.