simple code
using System;
using System.Threading;
namespace looptest
{
class Program
{
private static Mutex mut = new Mutex();
static void Main(string[] args)
{
new Thread(() =>
{
var aa= new a();
aa.stack();
},1000).Start();
Console.WriteLine("Hello World!");
}
}
class a
{
public void stack(){
stack();
}
}
}
run it
Process is terminating due to StackOverflowException.
when I use lldb to parse the coredumpfile ,i use “PE” command on All the threads ,no one returns the exception,also,I conld not found the overflow stack on all the threads
simple code
run it
Process is terminating due to StackOverflowException.
when I use lldb to parse the coredumpfile ,i use “PE” command on All the threads ,no one returns the exception,also,I conld not found the overflow stack on all the threads