[Mono-bugs] [Bug 323598] [PATCH] EnableSessionState configuration attribute not processed case-sensitive

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Nov 8 15:06:45 EST 2007


https://bugzilla.novell.com/show_bug.cgi?id=323598#c1


Gert Driesen <gert.driesen at pandora.be> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
             Status|RESOLVED                                        |REOPENED
         Resolution|FIXED                                           |




--- Comment #1 from Gert Driesen <gert.driesen at pandora.be>  2007-11-08 13:06:44 MST ---
My test case for this issue (gert/standalone/bug80913 in SVN) now fails almost
always when running on the 2.0 profile (and sometimes on the 1.0 profile).

Most of the times I get a compiler error (1), but sometimes a SIGSEGV (2) or
SIGABRT (3).

1) Compiler error:

<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html
xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en"><head><title>Compilation Error</title><style type="text/css">body
{font-family:"Verdana","DejaVu Sans",sans-serif;font-weight:normal;font-size:
7em;color:black;background-color: white}
p {font-family:"Verdana","DejaVu
Sans",sans-serif;font-weight:normal;color:black;margin-top: -5px}
b {font-family:"Verdana","DejaVu
Sans",sans-serif;font-weight:bold;color:black;margin-top: -5px}
h1 { font-family:"Verdana","DejaVu
Sans",sans-serif;font-weight:normal;font-size:18pt;color:red }
h2 { font-family:"Verdana","DejaVu
Sans",sans-serif;font-weight:normal;font-size:14pt;color:maroon }
pre {font-family:"Lucida Console","DejaVu Sans Mono", monospace;font-size:
1.2em}
div.bodyText {font-family: "Verdana","DejaVu Sans",sans-serif}
table.sampleCode {width: 100%; background-color: #ffffcc; }
errorText {color: red; font-weight: bold}
marker {font-weight: bold; color: black;text-decoration: none;}
version {color: gray;}
error {margin-bottom: 10px;}
expandable { text-decoration:underline; font-weight:bold; color:navy;
cursor:hand; }</style></head><body><h1>Server Error in '/' Application</h1><hr
style="color: silver"/><h2><em>Compilation Error</em></h2>
<p><strong>Description: </strong>Error compiling a resource required to service
this request. Review your source file and modify it to fix this error.
</p>
<p><strong>Error message: </strong></p><p>(0,0) : error CS2001: Source file
`/tmp/gert-temp-aspnet-0/9518f3a7/76059836.0.cs' could not be
found<br/></p><p><strong>File name: </strong>
/home/gert/mono/gert/standalone/bug80913/Index1.aspx</p><p><strong>Source File:
</strong></p><table summary="Source file" class="sampleCode">
<tr><td><pre>Line 1: //
------------------------------------------------------------------------------
Line 2: //  &lt;autogenerated&gt;
Line 3: //      This code was generated by a tool.
Line 4: //      Mono Runtime Version: 2.0.50727.42
Line 5: // 
Line 6: //      Changes to this file may cause incorrect behavior and will be
lost if 
Line 7: //      the code is regenerated.
Line 8: //  &lt;/autogenerated&gt;
Line 9: //
------------------------------------------------------------------------------
Line 10: 
Line 11: namespace ASP {
Line 12:     using System;
Line 13:     using System.Collections;
Line 14:     using System.Collections.Specialized;
Line 15:     using System.Configuration;
Line 16:     using System.Text;
Line 17:     using System.Text.RegularExpressions;
Line 18:     using System.Web;
Line 19:     using System.Web.Caching;
Line 20:     using System.Web.SessionState;
Line 21:     using System.Web.Security;
Line 22:     using System.Web.Profile;
Line 23:     using System.Web.UI;
Line 24:     using System.Web.UI.WebControls;
Line 25:     using System.Web.UI.HtmlControls;
Line 26:     
Line 27:     
Line 28:     public class index1_aspx : System.Web.UI.Page,
global::System.Web.SessionState.IRequiresSessionState {
Line 29:         
Line 30:         private static bool __initialized = false;
Line 31:         
Line 32:         private static int __autoHandlers;
Line 33:         
Line 34:         public index1_aspx() {
Line 35:             ((System.Web.UI.Page)(this)).AppRelativeVirtualPath =
&quot;~/Index1.aspx&quot;;
Line 36:             if ((ASP.index1_aspx.__initialized == false)) {
Line 37:                 ASP.index1_aspx.__initialized = true;
Line 38:             }
Line 39:         }
Line 40:         
Line 41:         [System.Obsolete()]
Line 42:         protected override int AutoHandlers {
Line 43:             get {
Line 44:                 return ASP.index1_aspx.__autoHandlers;
Line 45:             }
Line 46:             set {
Line 47:                 ASP.index1_aspx.__autoHandlers = value;
Line 48:             }
Line 49:         }
Line 50:         
Line 51:         protected System.Web.HttpApplication ApplicationInstance {
Line 52:             get {
Line 53:                 return
((System.Web.HttpApplication)(this.Context.ApplicationInstance));
Line 54:             }
Line 55:         }
Line 56:         
Line 57:         protected System.Web.Profile.DefaultProfile Profile {
Line 58:             get {
Line 59:                 return
((System.Web.Profile.DefaultProfile)(this.Context.Profile));
Line 60:             }
Line 61:         }
Line 62:         
Line 63:         private void __BuildControlTree(index1_aspx __ctrl) {
Line 64:             this.InitializeCulture();
Line 65:             System.Web.UI.IParserAccessor __parser =
((System.Web.UI.IParserAccessor)(__ctrl));
Line 66:             __parser.AddParsedSubObject(new
System.Web.UI.LiteralControl(&quot;&lt;html&gt;&lt;/html&gt;&quot;));
Line 67:         }
Line 68:         
Line 69:         protected override void FrameworkInitialize() {
Line 70:             base.FrameworkInitialize();
Line 71:             this.Request.ValidateInput();
Line 72:             this.__BuildControlTree(this);
Line 73:         }
Line 74:         
Line 75:         public override int GetTypeHashCode() {
Line 76:             return 1736376692;
Line 77:         }
Line 78:     }
Line 79: }
</pre>
</td></tr>
</table>
<![CDATA[
System.Web.Compilation.CompilationException: Exception of type
'System.Web.Compilation.CompilationException' was thrown.
  at System.Web.Compilation.BaseCompiler.CheckCompilerErrors
(System.CodeDom.Compiler.CompilerResults results) [0x00000] 
  at System.Web.Compilation.BaseCompiler.GetCompiledType () [0x00000] 
  at System.Web.Compilation.AspGenerator.GetCompiledType () [0x00000] 
  at System.Web.UI.PageParser.CompileIntoType () [0x00000] 
  at System.Web.UI.TemplateControlParser.GetCompiledInstance () [0x00000] 
  at System.Web.UI.PageParser.GetCompiledPageInstance (System.String
virtualPath, System.String inputFile, System.Web.HttpContext context) [0x00000] 
  at System.Web.UI.PageHandlerFactory.GetHandler (System.Web.HttpContext
context, System.String requestType, System.String url, System.String path)
[0x00000] 
  at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context)
[0x00000] 
  at System.Web.HttpApplication+&lt;&gt;c__CompilerGenerated2.MoveNext ()
[0x00000] 
]]>
<hr style="color: silver"/>11/8/2007 8:05:15 PM</body></html>

2) SIGSEGV:

Stacktrace:


Native stacktrace:

 /home/gert/mono/install/bin/mono [0x816adce]
 /home/gert/mono/install/bin/mono [0x807dab1]
 [0xffffe440]

Debug info from gdb:

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1211193648 (LWP 23903)]
[New Thread -1245713520 (LWP 23946)]
[New Thread -1244660848 (LWP 23943)]
[New Thread -1240552560 (LWP 23940)]
[New Thread -1220461680 (LWP 23907)]
[New Thread -1220314224 (LWP 23905)]
0xffffe410 in __kernel_vsyscall ()
  6 Thread -1220314224 (LWP 23905)  0xffffe410 in __kernel_vsyscall ()
  5 Thread -1220461680 (LWP 23907)  0xffffe410 in __kernel_vsyscall ()
  4 Thread -1240552560 (LWP 23940)  0xffffe410 in __kernel_vsyscall ()
  3 Thread -1244660848 (LWP 23943)  0xffffe410 in __kernel_vsyscall ()
  2 Thread -1245713520 (LWP 23946)  0xffffe410 in __kernel_vsyscall ()
  1 Thread -1211193648 (LWP 23903)  0xffffe410 in __kernel_vsyscall ()

Thread 6 (Thread -1220314224 (LWP 23905)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7e679f6 in ?? () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x08112f21 in collection_thread (unused=0x0) at collection.c:34
#3  0xb7e6046b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#4  0xb7dbf6de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 5 (Thread -1220461680 (LWP 23907)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7e64676 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0x08105c3f in timedwait_signal_poll_cond (cond=0xb79111dc, 
    mutex=0xb79111c4, timeout=0x0, alertable=0) at handles.c:1443
#3  0x081086df in _wapi_handle_timedwait_signal_handle (handle=0x404, 
    timeout=0x0, alertable=0) at handles.c:1523
#4  0x0810875c in _wapi_handle_wait_signal_handle (handle=0x404, alertable=0)
    at handles.c:1483
#5  0x08104e7f in WaitForSingleObjectEx (handle=0x404, timeout=4294967295, 
    alertable=0) at wait.c:200
#6  0x080cf44a in finalizer_thread (unused=0x0) at gc.c:843
#7  0x080ef234 in start_wrapper (data=0x824a6e8) at threads.c:550
#8  0x081144c2 in thread_start_routine (args=0xb77bd8a0) at threads.c:264
#9  0x081286a5 in GC_start_routine (arg=0x22f40) at pthread_support.c:1369
#10 0xb7e6046b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#11 0xb7dbf6de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread -1240552560 (LWP 23940)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7e679f6 in ?? () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0810871f in _wapi_handle_timedwait_signal_handle (handle=0x489, 
    timeout=0x0, alertable=1) at ../../mono/io-layer/handles-private.h:315
#3  0x0810875c in _wapi_handle_wait_signal_handle (handle=0x489, alertable=1)
    at handles.c:1483
#4  0x08104e7f in WaitForSingleObjectEx (handle=0x489, timeout=4294967295, 
    alertable=1) at wait.c:200
#5  0x080e6940 in ves_icall_System_AppDomain_InternalUnload (domain_id=3)
    at appdomain.c:1738
#6  0xb5eaf406 in ?? ()
#7  0x00000003 in ?? ()
#8  0x08379178 in ?? ()
#9  0x00000003 in ?? ()
#10 0x00153f88 in ?? ()
#11 0x083ebf78 in ?? ()
#12 0x00000000 in ?? ()

Thread 3 (Thread -1244660848 (LWP 23943)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7db82a1 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xb7ed7780 in g_spawn_sync () from /usr/lib/libglib-2.0.so.0
#3  0xb7ed7b4c in g_spawn_command_line_sync () from /usr/lib/libglib-2.0.so.0
#4  0x0816ae69 in mono_handle_native_sigsegv (signal=11, ctx=0xb79afd0c)
    at mini-exceptions.c:1061
#5  0x0807dab1 in mono_arch_handle_altstack_exception (sigctx=0xb79afd0c, 
    fault_addr=0x58, stack_ovf=0) at exceptions-x86.c:854
#6  <signal handler called>
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 2 (Thread -1245713520 (LWP 23946)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7e679f6 in ?? () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x08108687 in _wapi_handle_timedwait_signal_handle (handle=0x46d, 
    timeout=0xb5bfdfc8, alertable=0)
    at ../../mono/io-layer/handles-private.h:315
#3  0x08104d3a in WaitForSingleObjectEx (handle=0x46d, timeout=100, 
    alertable=0) at wait.c:202
#4  0x0810504b in WaitForMultipleObjectsEx (numobjects=1, handles=0xb5bfe0d4, 
    waitall=1, timeout=100, alertable=0) at wait.c:564
#5  0x080ed2c1 in wait_for_tids (wait=0xb5bfe0d4, timeout=136381736)
    at threads.c:2247
#6  0x080ed4b4 in mono_threads_abort_appdomain_threads (domain=0x215a0, 
    timeout=9293) at threads.c:2741
#7  0x080e56fd in unload_thread_main (arg=0xb60ea0e8) at appdomain.c:1625
#8  0x081144c2 in thread_start_routine (args=0xb77c0828) at threads.c:264
#9  0x081286a5 in GC_start_routine (arg=0xf7c20) at pthread_support.c:1369
#10 0xb7e6046b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#11 0xb7dbf6de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread -1211193648 (LWP 23903)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7e648fc in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0x08105bfa in timedwait_signal_poll_cond (cond=0x82132c0, mutex=0x82132a0, 
    timeout=0x0, alertable=1) at handles.c:1453
#3  0x08105cac in _wapi_handle_wait_signal () at handles.c:1469
#4  0x08105291 in WaitForMultipleObjectsEx (numobjects=11, handles=0x835b910, 
    waitall=1, timeout=4294967295, alertable=0) at wait.c:675
#5  0x080ed2c1 in wait_for_tids (wait=0x835b910, timeout=77) at threads.c:2247
#6  0x080ed841 in mono_thread_manage () at threads.c:2464
#7  0x0805b4c4 in mono_main (argc=1, argv=0xbf82b5e4) at driver.c:1383
#8  0x0805a002 in main (argc=) at main.c:6
#0  0xffffe410 in __kernel_vsyscall ()


=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

3) SIGABRT:

** ERROR **: file critical-sections.c: line 95 (DeleteCriticalSection):
assertion failed: (ret == 0)
aborting...
Stacktrace:

  at (wrapper managed-to-native) System.Threading.Thread.Thread_free_internal
(intptr) <0x00004>
  at (wrapper managed-to-native) System.Threading.Thread.Thread_free_internal
(intptr) <0xffffffff>
  at System.Threading.Thread.Finalize () <0x00041>
  at (wrapper runtime-invoke) System.OutOfMemoryException.runtime_invoke_void
(object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

 /home/gert/mono/install/bin/mono [0x816adce]
 [0xffffe440]
 /lib/tls/i686/cmov/libc.so.6(abort+0x101) [0xb7cbf201]
 /usr/lib/libglib-2.0.so.0(g_logv+0x4ca) [0xb7e55f4a]
 /usr/lib/libglib-2.0.so.0(g_log+0x29) [0xb7e55f89]
 /usr/lib/libglib-2.0.so.0(g_assert_warning+0x76) [0xb7e56006]
 /home/gert/mono/install/bin/mono [0x811805c]
 /home/gert/mono/install/bin/mono [0x80eec70]
 [0xb6a37639]
 [0xb6a375e2]
 [0xb70c18a1]
 /home/gert/mono/install/bin/mono [0x80cf385]
 /home/gert/mono/install/bin/mono [0x80cf4fd]
 /home/gert/mono/install/bin/mono [0x80ef234]
 /home/gert/mono/install/bin/mono [0x81144c2]
 /home/gert/mono/install/bin/mono [0x81286a5]
 /lib/tls/i686/cmov/libpthread.so.0 [0xb7e0746b]
 /lib/tls/i686/cmov/libc.so.6(clone+0x5e) [0xb7d666de]

Debug info from gdb:

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1211558192 (LWP 23343)]
[New Thread -1240466544 (LWP 23388)]
[New Thread -1220826224 (LWP 23347)]
[New Thread -1220678768 (LWP 23345)]
0xffffe410 in __kernel_vsyscall ()
  4 Thread -1220678768 (LWP 23345)  0xffffe410 in __kernel_vsyscall ()
  3 Thread -1220826224 (LWP 23347)  0xffffe410 in __kernel_vsyscall ()
  2 Thread -1240466544 (LWP 23388)  0xffffe410 in __kernel_vsyscall ()
  1 Thread -1211558192 (LWP 23343)  0xffffe410 in __kernel_vsyscall ()

Thread 4 (Thread -1220678768 (LWP 23345)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7e0e9f6 in ?? () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x08112f21 in collection_thread (unused=0x0) at collection.c:34
#3  0xb7e0746b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#4  0xb7d666de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread -1220826224 (LWP 23347)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7d5f2a1 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xb7e7e780 in g_spawn_sync () from /usr/lib/libglib-2.0.so.0
#3  0xb7e7eb4c in g_spawn_command_line_sync () from /usr/lib/libglib-2.0.so.0
#4  0x0816ae69 in mono_handle_native_sigsegv (signal=6, ctx=0xb73b989c)
    at mini-exceptions.c:1061
#5  <signal handler called>
#6  0xffffe410 in __kernel_vsyscall ()
#7  0xb7cbd875 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb7cbf201 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb7e55f4a in g_logv () from /usr/lib/libglib-2.0.so.0
#10 0xb7e55f89 in g_log () from /usr/lib/libglib-2.0.so.0
#11 0xb7e56006 in g_assert_warning () from /usr/lib/libglib-2.0.so.0
#12 0x0811805c in DeleteCriticalSection (section=0x85a19e0)
    at critical-sections.c:95
#13 0x080eec70 in ves_icall_System_Threading_Thread_Thread_free_internal (
    this=0x2326e0, thread=0x488) at threads.c:891
#14 0xb6a37639 in ?? ()
#15 0x002326e0 in ?? ()
#16 0x00000488 in ?? ()
#17 0x0824cc98 in ?? ()
#18 0xb73ba214 in ?? ()
#19 0xb73ba20c in ?? ()
#20 0x080ef6d3 in mono_thread_interruption_checkpoint_request (
    bypass_abort_protection=0) at threads.c:3265
#21 0xb6a375e2 in ?? ()
#22 0x002326e0 in ?? ()
#23 0x00000488 in ?? ()
#24 0x00000000 in ?? ()

Thread 2 (Thread -1240466544 (LWP 23388)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7e0b8fc in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0x08105bfa in timedwait_signal_poll_cond (cond=0xb78bc70c, 
    mutex=0xb78bc6f4, timeout=0xb60ff298, alertable=1) at handles.c:1453
#3  0x081086df in _wapi_handle_timedwait_signal_handle (handle=0x4a8, 
    timeout=0xb60ff298, alertable=1) at handles.c:1523
#4  0x08104d3a in WaitForSingleObjectEx (handle=0x4a8, timeout=10000, 
    alertable=1) at wait.c:202
#5  0x080d01d3 in mono_domain_finalize (domain=0x21960, timeout=10000)
    at gc.c:243
#6  0x080e5733 in unload_thread_main (arg=0xb67a60e8) at appdomain.c:1631
#7  0x081144c2 in thread_start_routine (args=0xb7767a98) at threads.c:264
#8  0x081286a5 in GC_start_routine (arg=0x2c1fe0) at pthread_support.c:1369
#9  0xb7e0746b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#10 0xb7d666de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread -1211558192 (LWP 23343)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7e0b8fc in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0x08105bfa in timedwait_signal_poll_cond (cond=0x82132c0, mutex=0x82132a0, 
    timeout=0x0, alertable=1) at handles.c:1453
#3  0x08105cac in _wapi_handle_wait_signal () at handles.c:1469
#4  0x08105291 in WaitForMultipleObjectsEx (numobjects=10, handles=0x8384200, 
    waitall=1, timeout=4294967295, alertable=0) at wait.c:675
#5  0x080ed2c1 in wait_for_tids (wait=0x8384200, timeout=59) at threads.c:2247
#6  0x080ed841 in mono_thread_manage () at threads.c:2464
#7  0x0805b4c4 in mono_main (argc=1, argv=0xbfb3b0f4) at driver.c:1383
#8  0x0805a002 in main (argc=) at main.c:6
#0  0xffffe410 in __kernel_vsyscall ()


=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list