Bug 25030 - IndexOutOfRange exception in Mono.WebServer.BaseRequestBroker
Summary: IndexOutOfRange exception in Mono.WebServer.BaseRequestBroker
Status: NEW
Alias: None
Product: Class Libraries
Classification: Mono
Component: System.Web (show other bugs)
Version: 3.8.0
Hardware: PC Linux
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2014-12-03 05:59 UTC by baurzhan@gmail.com
Modified: 2014-12-03 12:22 UTC (History)
3 users (show)

Tags:
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 for Bug 25030 on GitHub or Developer Community if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: GitHub Markdown or Developer Community HTML
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
NEW

Description baurzhan@gmail.com 2014-12-03 05:59:03 UTC
XSP hangs on highload.

StackTrace:

Mono.WebServer.BaseRequestBroker.GetNextRequestId ()
Mono.WebServer.BaseRequestBroker.RegisterRequest (worker={Mono.WebServer.XSP.XSPWorker})
Mono.WebServer.XSP.XSPWorker.RunInternal (state=(null))

Disassembly 

00000090   stloc.1 
00000091   ldarg.0 
00000092   ldfld Mono.Debugger.Soft.FieldInfoMirror
00000097   ldarg.0 
00000098   ldloc.1 
00000099   call Int32 Mono.WebServer.BaseRequestBroker:IdToIndex (Int32)
0000009e   ldloc.1   <----- Exception throws here
0000009f   stelem.i4 
000000a0   ldloc.1 
000000a1   stloc.2 
000000a2   br 000000a7
000000a7   ldloc.2 
000000a8   ret 

Locals

loc0	266	int
loc1	1508770059	int
loc2	0	int
Comment 1 baurzhan@gmail.com 2014-12-03 06:06:19 UTC
To reproduce bug create default ASP.NET MVC application
Run XSP on localhost:8080

Run wrk -c10000 -d30s -t1000 http://localhost:8080/Home/Index
Comment 2 Zoltan Varga 2014-12-03 12:21:42 UTC
-> System.Web