[Mono-bugs] [Bug 667329] Key duplication when adding: sessionState
https://bugzilla.novell.com/show_bug.cgi?id=667329 https://bugzilla.novell.com/show_bug.cgi?id=667329#c14 andrus moor changed: What|Removed |Added CC||kobrule...@hot.ee --- Comment #14 from andrus moor 2013-05-10 10:34:44 UTC --- I encountered Key duplication when adding: roleManager after upgrading from MVC2 .NET 3.5 to MVC3 .NET 4 In MVC2 .NET 3.5 with same Mono version it does not occur. It starts to occur after application was changed to MVC3.5/ .NET 4 , mod-mono-server2.exe was changed to mod-mono-server4.exe . Mono was not changed in server. After that application stops accepting requests, same error occurs every time. Mono Runtime Version: 2.10.8.1 (mono-2-10/70a5c95 Wed Feb 8 18:11:45 CET 2012); ASP.NET Version: 4.0.30319.1 OS: Debian Server Error in '/myapp' Application Key duplication when adding: roleManager Description: HTTP 500. Error processing request. Stack Trace: System.ArgumentException: Key duplication when adding: roleManager at System.Collections.Hashtable.PutImpl (System.Object key, System.Object value, Boolean overwrite) [0x0] in :0 at System.Collections.Hashtable.Add (System.Object key, System.Object value) [0x0] in :0 at System.Collections.Specialized.NameObjectCollectionBase.BaseAdd (System.String name, System.Object value) [0x0] in :0 at System.Collections.Specialized.NameObjectCollectionBase.BaseSet (System.String name, System.Object value) [0x0] in :0 at System.Configuration.ConfigurationSectionCollection.get_Item (System.String name) [0x0] in :0 at System.Configuration.Configuration.GetSection (System.String path) [0x0] in :0 at System.Web.Configuration.WebConfigurationManager.GetSection (System.String sectionName, System.String path, System.Web.HttpContext context) [0x0] in :0 at System.Web.Configuration.WebConfigurationManager.GetSection (System.String sectionName) [0x0] in :0 at System.Web.Security.RoleManagerModule.Init (System.Web.HttpApplication app) [0x0] in :0 at System.Web.Configuration.HttpModulesSection.LoadModules (System.Web.HttpApplication app) [0x0] in :0 at System.Web.HttpApplication.InitOnce (Boolean full_init) [0x0] in :0 Version information: Mono Runtime Version: 2.10.8.1 (mono-2-10/70a5c95 Wed Feb 8 18:11:45 CET 2012); ASP.NET Version: 4.0.30319.1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug. ___ mono-bugs maillist - mono-bugs@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-bugs
[Mono-bugs] [Bug 667329] Key duplication when adding: sessionState
https://bugzilla.novell.com/show_bug.cgi?id=667329 https://bugzilla.novell.com/show_bug.cgi?id=667329#c13 Ben Clewett changed: What|Removed |Added CC||ben.clew...@roadtech.co.uk --- Comment #13 from Ben Clewett 2012-02-02 08:46:51 UTC --- We have similar issue after changing from mod-mono-server2.exe to mod-mono-server4.exe Happened after approx 10,000 hits on server with uptime of about 15 hours. After onset, every hit on every .asmx page in project, results in the same. Version: 2.10.6 OS: SUSE 12.1 Exception: System.ArgumentException: Key duplication when adding: roleManager at System.Collections.Hashtable.PutImpl (System.Object key, System.Object value, Boolean overwrite) [0x0] in :0 (etc...) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug. ___ mono-bugs maillist - mono-bugs@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-bugs
[Mono-bugs] [Bug 667329] Key duplication when adding: sessionState
https://bugzilla.novell.com/show_bug.cgi?id=667329 https://bugzilla.novell.com/show_bug.cgi?id=667329#c12 Chris Brown changed: What|Removed |Added CC||chrisbrow...@hotmail.com --- Comment #12 from Chris Brown 2011-12-06 02:32:10 UTC --- I have also begun seeing this issue. One of my sites experiences it nearly daily however so far I have not been able to put together a reliable test case. This particular site is running 2.11(master/a335106). In the majority of cases at this site it occurs when adding the 'roleManager' key although occasionally with 'authorization'. I use AutoRestartMode Time set to 10 minutes. The problem does seem to be related to the restart and with incoming requests at the time of the restart as others have stated. Once this issue occurs it will occur for every subsequent request to the application until a full reboot is performed. Occasionally I have also seen it when I am restarting Apache. The site I mentioned has a higher volume of traffic than other sites which I suspect is responsible for the higher frequency of occurrences at this site. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug. ___ mono-bugs maillist - mono-bugs@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-bugs
[Mono-bugs] [Bug 667329] Key duplication when adding: sessionState
https://bugzilla.novell.com/show_bug.cgi?id=667329 https://bugzilla.novell.com/show_bug.cgi?id=667329#c11 --- Comment #11 from Bassam Tabbara 2011-09-26 22:39:06 UTC --- Here's the stack trace: System.ArgumentException: Key duplication when adding: sessionState at System.Collections.Hashtable.PutImpl (System.Object key, System.Object value, Boolean overwrite) [0x0] in :0 at System.Collections.Hashtable.Add (System.Object key, System.Object value) [0x0] in :0 at System.Collections.Specialized.NameObjectCollectionBase.BaseAdd (System.String name, System.Object value) [0x0] in :0 at System.Collections.Specialized.NameObjectCollectionBase.BaseSet (System.String name, System.Object value) [0x0] in :0 at System.Configuration.ConfigurationSectionCollection.get_Item (System.String name) [0x0] in :0 at System.Configuration.Configuration.GetSection (System.String path) [0x0] in :0 at System.Web.Configuration.WebConfigurationManager.GetSection (System.String sectionName, System.String path, System.Web.HttpContext context) [0x0] in :0 at System.Web.Configuration.WebConfigurationManager.GetSection (System.String sectionName) [0x0] in :0 at System.Web.SessionState.SessionStateModule.Init (System.Web.HttpApplication app) [0x0] in :0 at System.Web.Configuration.HttpModulesSection.LoadModules (System.Web.HttpApplication app) [0x0] in :0 at System.Web.HttpApplication.InitOnce (Boolean full_init) [0x0] in :0 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug. ___ mono-bugs maillist - mono-bugs@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-bugs
[Mono-bugs] [Bug 667329] Key duplication when adding: sessionState
https://bugzilla.novell.com/show_bug.cgi?id=667329 https://bugzilla.novell.com/show_bug.cgi?id=667329#c10 Bassam Tabbara changed: What|Removed |Added Status|RESOLVED|REOPENED CC||bas...@symform.com Resolution|FIXED | --- Comment #10 from Bassam Tabbara 2011-09-26 22:38:38 UTC --- We still see this with mono-2-10 builds: -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug. ___ mono-bugs maillist - mono-bugs@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-bugs
[Mono-bugs] [Bug 667329] Key duplication when adding: sessionState
https://bugzilla.novell.com/show_bug.cgi?id=667329 https://bugzilla.novell.com/show_bug.cgi?id=667329#c9 Rolf Bjarne Kvinge changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #9 from Rolf Bjarne Kvinge 2011-04-15 14:57:02 CEST --- Fixed in f26a0500. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug. ___ mono-bugs maillist - mono-bugs@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-bugs
[Mono-bugs] [Bug 667329] Key duplication when adding: sessionState
https://bugzilla.novell.com/show_bug.cgi?id=667329 https://bugzilla.novell.com/show_bug.cgi?id=667329#c Marek Habersack changed: What|Removed |Added CC||mhabers...@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug. ___ mono-bugs maillist - mono-bugs@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-bugs
[Mono-bugs] [Bug 667329] Key duplication when adding: sessionState
https://bugzilla.novell.com/show_bug.cgi?id=667329 https://bugzilla.novell.com/show_bug.cgi?id=667329#c Jérémie LAVAL changed: What|Removed |Added CC||jeremie.la...@gmail.com AssignedTo|mhabers...@novell.com |jeremie.la...@gmail.com Severity|Normal |Major -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug. ___ mono-bugs maillist - mono-bugs@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-bugs
[Mono-bugs] [Bug 667329] Key duplication when adding: sessionState
https://bugzilla.novell.com/show_bug.cgi?id=667329 https://bugzilla.novell.com/show_bug.cgi?id=667329#c8 --- Comment #8 from Rolf Bjarne Kvinge 2011-03-16 11:23:19 CET --- Created an attachment (id=419621) --> (http://bugzilla.novell.com/attachment.cgi?id=419621) web.config - in moon/test -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug. ___ mono-bugs maillist - mono-bugs@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-bugs
[Mono-bugs] [Bug 667329] Key duplication when adding: sessionState
https://bugzilla.novell.com/show_bug.cgi?id=667329 https://bugzilla.novell.com/show_bug.cgi?id=667329#c7 Rolf Bjarne Kvinge changed: What|Removed |Added Status|NEEDINFO|NEW InfoProvider|rab...@customsinfo.com | --- Comment #7 from Rolf Bjarne Kvinge 2011-03-16 11:21:01 CET --- Marek: you didn't read all my comments :) That commit is from december, while moon.sublimeintervention.com is running with mono 2.10 from mid-january. Anyways, here is what I'm trying now to reproduce, and I'm currently getting a lot of LockRecursionExceptions. checkout moonlight cd moon/test add dummy web.config run xsp2: MONO_OPTIONS="--debug --trace=E:dummy" xsp2 --port 8123 --applications /WebServices:./xaml/,/:./ --nonstop run ab in a second terminal: while true; do sudo /usr/sbin/ab2 -t 1 -n -c 5 -k -r http://127.0.0.1:8123/ ; done touch web.config and run curl in a loop in a third terminal: while true; do while curl http://localhost:8123/ -m 30 >> log; do echo again; touch web.config ; done; bip; done in a couple of minutes I have 25 LockRecursionExceptions in the log file. If I use monkeywrench instead of a dummy directory in the moon checkout, I get the reported exception too once in a while (but I get the lock recursion exception a lot more often) - but it's a bit harder to setup so hopefully this can make you reproduce it. And I'm running with mono from last week. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug. ___ mono-bugs maillist - mono-bugs@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-bugs
[Mono-bugs] [Bug 667329] Key duplication when adding: sessionState
https://bugzilla.novell.com/show_bug.cgi?id=667329 https://bugzilla.novell.com/show_bug.cgi?id=667329#c6 --- Comment #6 from Marek Habersack 2011-03-16 01:02:46 CET --- (In reply to comment #5) > Marek: it only seems to happen if there is somebody trying to connect during > the restart. And what code can I have that is run before this exception? It might be that InitOnce is actually ran twice and that should be gone with current master/mono-2-10 - I think 6f597d378cd1139f8baf501f9cebc82a678aecc9 (master) and (mono-2-10) should've fixed it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug. ___ mono-bugs maillist - mono-bugs@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-bugs
[Mono-bugs] [Bug 667329] Key duplication when adding: sessionState
https://bugzilla.novell.com/show_bug.cgi?id=667329 https://bugzilla.novell.com/show_bug.cgi?id=667329#c5 --- Comment #5 from Rolf Bjarne Kvinge 2011-03-16 00:31:16 CET --- Marek: it only seems to happen if there is somebody trying to connect during the restart. And what code can I have that is run before this exception? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug. ___ mono-bugs maillist - mono-bugs@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-bugs
[Mono-bugs] [Bug 667329] Key duplication when adding: sessionState
https://bugzilla.novell.com/show_bug.cgi?id=667329 https://bugzilla.novell.com/show_bug.cgi?id=667329#c4 Marek Habersack changed: What|Removed |Added Status|NEW |NEEDINFO InfoProvider||rab...@customsinfo.com --- Comment #4 from Marek Habersack 2011-03-16 00:21:29 CET --- I can't repro it. Can you try with master and mono-2-10 again? Also, please attach a test case which you are able to repro it. It might be something your code does that triggers it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug. ___ mono-bugs maillist - mono-bugs@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-bugs
[Mono-bugs] [Bug 667329] Key duplication when adding: sessionState
https://bugzilla.novell.com/show_bug.cgi?id=667329 https://bugzilla.novell.com/show_bug.cgi?id=667329#c3 --- Comment #3 from Rolf Bjarne Kvinge 2011-02-02 15:03:59 CET --- I updated to master a couple of weeks ago, so it's still happening, albeit not that frequently. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug. ___ mono-bugs maillist - mono-bugs@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-bugs
[Mono-bugs] [Bug 667329] Key duplication when adding: sessionState
https://bugzilla.novell.com/show_bug.cgi?id=667329 https://bugzilla.novell.com/show_bug.cgi?id=667329#c2 Gonzalo Paniagua Javier changed: What|Removed |Added CC||gonz...@novell.com --- Comment #2 from Gonzalo Paniagua Javier 2011-02-02 06:34:01 UTC --- I think that was fixed with mono-2-8/bb874a687b74637c8393abcc7965bbfb8112090c -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug. ___ mono-bugs maillist - mono-bugs@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-bugs
[Mono-bugs] [Bug 667329] Key duplication when adding: sessionState
https://bugzilla.novell.com/show_bug.cgi?id=667329 https://bugzilla.novell.com/show_bug.cgi?id=667329#c1 Rolf Bjarne Kvinge changed: What|Removed |Added CC||rkvi...@novell.com --- Comment #1 from Rolf Bjarne Kvinge 2011-02-02 00:25:06 CET --- This happens once in a while on moon.sublimeintervention.com too. Mono version is: 93f8f61c8a5a8eaeeb7332bba18d7e67356941fb. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug. ___ mono-bugs maillist - mono-bugs@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-bugs