[Mono-bugs] [Bug 491191] New: Unhandled Exceptions thrown in Threads seem to be ignored. .NET difference

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Apr 1 12:45:52 EDT 2009


https://bugzilla.novell.com/show_bug.cgi?id=491191


           Summary: Unhandled Exceptions thrown in Threads seem to be
                    ignored. .NET difference
    Classification: Mono
           Product: Mono: Runtime
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: tom_hindle at sil.org
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.8)
Gecko/2009032711 Ubuntu/8.04 (hardy) Firefox/3.0.8

(sorry not sure Component this goes under)

Attaching test code demonstrating that an exception thrown not in the main
thread is not reported.



Reproducible: Always

Steps to Reproduce:
1. Compile and Run Test code
2.
3.
Actual Results:  
Program hangs.

Expected Results:  
Unhandled Exception: System.Exception: Exception of type 'System.Exception' was
thrown.
   at ExceptionThreadsTest.Program.DoSomething(Object stateInfo) in
C:\Documents
 and Settings\xpbuild\My Documents\Visual Studio
2008\Projects\ConsoleApplicatio
n1\ConsoleApplication1\Program.cs:line 18
   at System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object
state
)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext,
C
ontextCallback callback, Object state)
   at
System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_Thre
adPoolWaitCallback tpWaitCallBack)
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object
state)

-- 
Configure bugmail: https://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.


More information about the mono-bugs mailing list