http://bugzilla.novell.com/show_bug.cgi?id=581459

http://bugzilla.novell.com/show_bug.cgi?id=581459#c0


           Summary: Process restarts by thread abort with AspNetForums and
                    mono-2.6.3
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.6.x
          Platform: x86-64
        OS/Version: openSUSE 11.2
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: misc
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          Found By: Component Test
           Blocker: ---


Description of Problem:

openSUSE 11.2 x86_64
mono-core-2.6.3-30.1.x86_64
apache2-mod_mono-2.6.2-30.1.x86_64
Mono_ASP.NET_MonoForums-0.7-4.1.noarch
pgsql-testdb-1.6-2.1.noarch


When running AspNetForums, I get a process restart from a thread abort.

Steps to reproduce:

01) start with a clean setup of opensuse 11.2 x86_64
02) install the above RPMs
03) stop apache
04) initialize the test database using the /usr/bin/mono-pg-setup (from
pgsql-testdb)
05) start apache
06) connect to <vm>/AspNetFurms
07) Log in as admin/admin
08) click "Home" button
09) click "Admin" button
10) click "Create New Users" button
11) Username 'test', password 'test', email [email protected]
12) click "Create Account"
13) Click "Admin"
15) Click "Create new Forum"
16) Forum Name 'Mono Forum", Dexscription: "This forum is for the discussion of
Mono."
17) Uncheck "Moderated"
18) Click "Create New Forum" button
19) Click "Logout" link
20) On front page enter Username: test Password: test
21) Click "Login" button
22) Click "Mono Forum" link
23) Boom.  You should get a stack trace at this point

GOTO step 3 to repeat

=======================================
This may be different depending on your environment.  This is my trace output:

Server Error in '/AspNetForums' Application
Thread was being aborted

Description: HTTP 500. Error processing request.

Stack Trace:

System.Threading.ThreadAbortException: Thread was being aborted
  at (wrapper managed-to-native) System.IO.MonoIO:GetFileAttributes
(string,System.IO.MonoIOError&)
  at System.IO.MonoIO.ExistsDirectory (System.String path,
System.IO.MonoIOError& error) [0x00000] in <filename unknown>:0 
  at System.IO.Directory.Exists (System.String path) [0x00000] in <filename
unknown>:0 
  at System.Web.Caching.CacheDependency..ctor (System.String[] filenames,
System.String[] cachekeys, System.Web.Caching.CacheDependency dependency,
DateTime start) [0x00000] in <filename unknown>:0 
  at System.Web.Caching.CacheDependency..ctor (System.String filename)
[0x00000] in <filename unknown>:0 
  at AspNetForums.Components.Globals.LoadSkinnedTemplate (System.String
virtualPathToTemplate, System.String templateKey, System.Web.UI.Page page)
[0x00000] in <filename unknown>:0 
  at AspNetForums.Controls.ThreadList.ApplyTemplates () [0x00000] in <filename
unknown>:0 
  at AspNetForums.Controls.ThreadList.CreateChildControls () [0x00000] in
<filename unknown>:0 
  at System.Web.UI.Control.EnsureChildControls () [0x00000] in <filename
unknown>:0 
  at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000] in <filename
unknown>:0 
  at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000] in <filename
unknown>:0 
  at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000] in <filename
unknown>:0 
  at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000] in <filename
unknown>:0 
  at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000] in <filename
unknown>:0 
  at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000] in <filename
unknown>:0 
  at System.Web.UI.Page.ProcessLoadComplete () [0x00000] in <filename
unknown>:0 
  at System.Web.UI.Page.InternalProcessRequest () [0x00000] in <filename
unknown>:0 
  at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context)
[0x00000] in <filename unknown>:0 

Version information: Mono Runtime Version: 2.6.3 (tarball Thu Feb 11 19:48:39
UTC 2010); ASP.NET Version: 2.0.50727.1433

======================================================
A different stack trace from another run:

Server Error in '/AspNetForums' Application
Thread was being aborted

Description: HTTP 500. Error processing request.

Stack Trace:

System.Threading.ThreadAbortException: Thread was being aborted
  at (wrapper managed-to-native)
System.Diagnostics.Process:CreateProcess_internal
(System.Diagnostics.ProcessStartInfo,intptr,intptr,intptr,System.Diagnostics.Process/ProcInfo&)
  at System.Diagnostics.Process.Start_noshell
(System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process
process) [0x00000] in <filename unknown>:0 
  at System.Diagnostics.Process.Start_common
(System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process
process) [0x00000] in <filename unknown>:0 
  at System.Diagnostics.Process.Start () [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Diagnostics.Process:Start ()
  at Mono.CSharp.CSharpCodeCompiler.CompileFromFileBatch
(System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames)
[0x00000] in <filename unknown>:0 

Version information: Mono Runtime Version: 2.6.3 (tarball Thu Feb 11 19:48:39
UTC 2010); ASP.NET Version: 2.0.50727.1433

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to