Bug 57389 - Native crash in System.Diagnostics.StackTrace.get_trace
Summary: Native crash in System.Diagnostics.StackTrace.get_trace
Status: RESOLVED NORESPONSE
Alias: None
Product: Runtime
Classification: Mono
Component: Debugger ()
Version: unspecified
Hardware: PC Linux
: --- normal
Target Milestone: Future Cycle (TBD)
Assignee: Zoltan Varga
URL:
Depends on:
Blocks:
 
Reported: 2017-06-12 16:06 UTC by Mike Krüger
Modified: 2017-08-17 17:30 UTC (History)
4 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 on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED NORESPONSE

Description Mike Krüger 2017-06-12 16:06:14 UTC
Got a very interesting hard crash today:
------------------------------------------

  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Diagnostics.StackTrace.get_trace (System.Exception,int,bool) [0x00009] in <59839ec1356848119f9f70e7b54fa03c>:0
  at System.Diagnostics.StackTrace..ctor (System.Exception,int,bool) [0x00028] in /home/mkrueger/work/mono/mcs/class/corlib/System.Diagnostics/StackTrace.cs:137
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo..ctor (System.Exception) [0x0003c] in /home/mkrueger/work/mono/mcs/class/referencesource/mscorlib/system/runtime/exceptionservices/exceptionservicescommon.cs:55
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Capture (System.Exception) [0x00018] in /home/mkrueger/work/mono/mcs/class/referencesource/mscorlib/system/runtime/exceptionservices/exceptionservicescommon.cs:127
  at System.Threading.Tasks.TaskExceptionHolder.AddFaultException (object) [0x00026] in /home/mkrueger/work/mono/mcs/class/referencesource/mscorlib/system/threading/Tasks/TaskExceptionHolder.cs:256
  at System.Threading.Tasks.TaskExceptionHolder.Add (object,bool) [0x0000b] in /home/mkrueger/work/mono/mcs/class/referencesource/mscorlib/system/threading/Tasks/TaskExceptionHolder.cs:198
  at System.Threading.Tasks.Task.AddException (object,bool) [0x0003b] in /home/mkrueger/work/mono/mcs/class/referencesource/mscorlib/system/threading/Tasks/Task.cs:2045
  at System.Threading.Tasks.Task.AddException (object) [0x00000] in /home/mkrueger/work/mono/mcs/class/referencesource/mscorlib/system/threading/Tasks/Task.cs:1994
  at System.Threading.Tasks.Task.HandleException (System.Exception) [0x0003b] in /home/mkrueger/work/mono/mcs/class/referencesource/mscorlib/system/threading/Tasks/Task.cs:2932
  at System.Threading.Tasks.Task.Execute () [0x00033] in /home/mkrueger/work/mono/mcs/class/referencesource/mscorlib/system/threading/Tasks/Task.cs:2522
  at System.Threading.Tasks.Task.ExecutionContextCallback (object) [0x00006] in /home/mkrueger/work/mono/mcs/class/referencesource/mscorlib/system/threading/Tasks/Task.cs:2865
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) [0x00071] in /home/mkrueger/work/mono/mcs/class/referencesource/mscorlib/system/threading/executioncontext.cs:957
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) [0x00000] in /home/mkrueger/work/mono/mcs/class/referencesource/mscorlib/system/threading/executioncontext.cs:904
  at System.Threading.Tasks.Task.ExecuteWithThreadLocal (System.Threading.Tasks.Task&) [0x00050] in /home/mkrueger/work/mono/mcs/class/referencesource/mscorlib/system/threading/Tasks/Task.cs:2827
  at System.Threading.Tasks.Task.ExecuteEntry (bool) [0x00058] in /home/mkrueger/work/mono/mcs/class/referencesource/mscorlib/system/threading/Tasks/Task.cs:2760
  at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x00000] in /home/mkrueger/work/mono/mcs/class/referencesource/mscorlib/system/threading/Tasks/Task.cs:2707
  at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00074] in /home/mkrueger/work/mono/mcs/class/referencesource/mscorlib/system/threading/threadpool.cs:856
  at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in /home/mkrueger/work/mono/mcs/class/referencesource/mscorlib/system/threading/threadpool.cs:1211
  at (wrapper runtime-invoke) <Module>.runtime_invoke_bool (object,intptr,intptr,intptr) [0x0001f] in <59839ec1356848119f9f70e7b54fa03c>:0
/proc/self/maps:
Comment 1 Ludovic Henry 2017-07-03 21:42:06 UTC
Hello,

Could you please provide a repro case, or at least the native stack trace?

Thank you,
Ludovic
Comment 2 Ludovic Henry 2017-08-17 17:30:25 UTC
Please reopen whenever you provide a reproduction case so we can have a look. Thank you.