PDA

View Full Version : An unhandled exception of type 'System.StackOverflowException' occurred in system.windows.forms.dll



armangara
سه شنبه 09 فروردین 1390, 12:00 عصر
با سلامیه برنامه تحت ویندوز دارم که گاهی موقع اجرای خطای
An unhandled exception of type 'System.StackOverflowException'
occurred in system.windows.forms.dll
می دهد و تعداد خهای کد خیلی زیاده و در ضمن هیچ حلقه و تابع بازگشتی هم ندارم .چطوری میشه فهمید خطا از کجاست؟
خواستم از call stack استفاده کنم اما توش چیزی نشون نمیده

m.soleimani
سه شنبه 09 فروردین 1390, 14:40 عصر
با سلامیه برنامه تحت ویندوز دارم که گاهی موقع اجرای خطای
An unhandled exception of type 'System.StackOverflowException'
occurred in system.windows.forms.dll
می دهد و تعداد خهای کد خیلی زیاده و در ضمن هیچ حلقه و تابع بازگشتی هم ندارم .چطوری میشه فهمید خطا از کجاست؟
خواستم از call stack استفاده کنم اما توش چیزی نشون نمیده

برنامه رو بزار این‌جا تا بهش یه نگاه بندازیم موفق باشید./

armangara
چهارشنبه 10 فروردین 1390, 10:39 صبح
با call stack که برنامه را اجرا می کنم اول خطای No symbols are loaded for any call stack frame. The source code cannot be displayed.
را می دهد بهد اوکی که می کنم همون خطای قبلی را نمایش می دهد
و call satack به قرار زیر است ممنون میشم اگه دوستان راهنمایی کنند من که از این چیزی نفهمیدم
>


System.Windows.Forms.dll!System.Windows.Forms.Cont rol.SetVisibleCore(bool value) + 0x31e bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.Show() + 0xd bytes
ExGridx.dll!ExGridx.ExGridX.ShowScrollBars(object sender = {Value = 10 Min = 0 Max = 21}, System.EventArgs e = {System.EventArgs}) + 0x1b0 bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.OnVisibleChanged(System.EventArgs e = {System.EventArgs}) + 0xaa bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.SetVisibleCore(bool value) + 0x31e bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.Show() + 0xd bytes
ExGridx.dll!ExGridx.ExGridX.ShowScrollBars(object sender = {Value = 10 Min = 0 Max = 21}, System.EventArgs e = {System.EventArgs}) + 0x1b0 bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.OnVisibleChanged(System.EventArgs e = {System.EventArgs}) + 0xaa bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.SetVisibleCore(bool value) + 0x31e bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.Show() + 0xd bytes
ExGridx.dll!ExGridx.ExGridX.ShowScrollBars(object sender = {Value = 10 Min = 0 Max = 21}, System.EventArgs e = {System.EventArgs}) + 0x1b0 bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.OnVisibleChanged(System.EventArgs e = {System.EventArgs}) + 0xaa bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.SetVisibleCore(bool value) + 0x31e bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.Show() + 0xd bytes
ExGridx.dll!ExGridx.ExGridX.ShowScrollBars(object sender = {Value = 10 Min = 0 Max = 21}, System.EventArgs e = {System.EventArgs}) + 0x1b0 bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.OnVisibleChanged(System.EventArgs e = {System.EventArgs}) + 0xaa bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.SetVisibleCore(bool value) + 0x31e bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.Show() + 0xd bytes
ExGridx.dll!ExGridx.ExGridX.ShowScrollBars(object sender = {Value = 10 Min = 0 Max = 21}, System.EventArgs e = {System.EventArgs}) + 0x1b0 bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.OnVisibleChanged(System.EventArgs e = {System.EventArgs}) + 0xaa bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.SetVisibleCore(bool value) + 0x31e bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.Show() + 0xd bytes
ExGridx.dll!ExGridx.ExGridX.ShowScrollBars(object sender = {Value = 10 Min = 0 Max = 21}, System.EventArgs e = {System.EventArgs}) + 0x1b0 bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.OnVisibleChanged(System.EventArgs e = {System.EventArgs}) + 0xaa bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.SetVisibleCore(bool value) + 0x31e bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.Show() + 0xd bytes
ExGridx.dll!ExGridx.ExGridX.ShowScrollBars(object sender = {Value = 10 Min = 0 Max = 21}, System.EventArgs e = {System.EventArgs}) + 0x1b0 bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.OnVisibleChanged(System.EventArgs e = {System.EventArgs}) + 0xaa bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.SetVisibleCore(bool value) + 0x31e bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.Show() + 0xd bytes
ExGridx.dll!ExGridx.ExGridX.ShowScrollBars(object sender = {Value = 10 Min = 0 Max = 21}, System.EventArgs e = {System.EventArgs}) + 0x1b0 bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.OnVisibleChanged(System.EventArgs e = {System.EventArgs}) + 0xaa bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.SetVisibleCore(bool value) + 0x31e bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.Show() + 0xd bytes
ExGridx.dll!ExGridx.ExGridX.ShowScrollBars(object sender = {Value = 10 Min = 0 Max = 21}, System.EventArgs e = {System.EventArgs}) + 0x1b0 bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.OnVisibleChanged(System.EventArgs e = {System.EventArgs}) + 0xaa bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.SetVisibleCore(bool value) + 0x31e bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.Show() + 0xd bytes
ExGridx.dll!ExGridx.ExGridX.ShowScrollBars(object sender = {Value = 10 Min = 0 Max = 21}, System.EventArgs e = {System.EventArgs}) + 0x1b0 bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.OnVisibleChanged(System.EventArgs e = {System.EventArgs}) + 0xaa bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.SetVisibleCore(bool value) + 0x31e bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.Show() + 0xd bytes
ExGridx.dll!ExGridx.ExGridX.ShowScrollBars(object sender = {Value = 10 Min = 0 Max = 21}, System.EventArgs e = {System.EventArgs}) + 0x1b0 bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.OnVisibleChanged(System.EventArgs e = {System.EventArgs}) + 0xaa bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.SetVisibleCore(bool value) + 0x31e bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.Show() + 0xd bytes
ExGridx.dll!ExGridx.ExGridX.ShowScrollBars(object sender = {Value = 10 Min = 0 Max = 21}, System.EventArgs e = {System.EventArgs}) + 0x1b0 bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.OnVisibleChanged(System.EventArgs e = {System.EventArgs}) + 0xaa bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.SetVisibleCore(bool value) + 0x31e bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.Show() + 0xd bytes
ExGridx.dll!ExGridx.ExGridX.ShowScrollBars(object sender = {Value = 10 Min = 0 Max = 21}, System.EventArgs e = {System.EventArgs}) + 0x1b0 bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.OnVisibleChanged(System.EventArgs e = {System.EventArgs}) + 0xaa bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.SetVisibleCore(bool value) + 0x31e bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.Show() + 0xd bytes
ExGridx.dll!ExGridx.ExGridX.ShowScrollBars(object sender = {Value = 10 Min = 0 Max = 21}, System.EventArgs e = {System.EventArgs}) + 0x1b0 bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.OnVisibleChanged(System.EventArgs e = {System.EventArgs}) + 0xaa bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.SetVisibleCore(bool value) + 0x31e bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.Show() + 0xd bytes
ExGridx.dll!ExGridx.ExGridX.ShowScrollBars(object sender = {Value = 10 Min = 0 Max = 21}, System.EventArgs e = {System.EventArgs}) + 0x1b0 bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.OnVisibleChanged(System.EventArgs e = {System.EventArgs}) + 0xaa bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.SetVisibleCore(bool value) + 0x31e bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.Show() + 0xd bytes
ExGridx.dll!ExGridx.ExGridX.ShowScrollBars(object sender = {Value = 10 Min = 0 Max = 21}, System.EventArgs e = {System.EventArgs}) + 0x1b0 bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.OnVisibleChanged(System.EventArgs e = {System.EventArgs}) + 0xaa bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.SetVisibleCore(bool value) + 0x31e bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.Show() + 0xd bytes
ExGridx.dll!ExGridx.ExGridX.ShowScrollBars(object sender = {Value = 10 Min = 0 Max = 21}, System.EventArgs e = {System.EventArgs}) + 0x1b0 bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.OnVisibleChanged(System.EventArgs e = {System.EventArgs}) + 0xaa bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.SetVisibleCore(bool value) + 0x31e bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.Show() + 0xd bytes
ExGridx.dll!ExGridx.ExGridX.ShowScrollBars(object sender = {Value = 10 Min = 0 Max = 21}, System.EventArgs e = {System.EventArgs}) + 0x1b0 bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.OnVisibleChanged(System.EventArgs e = {System.EventArgs}) + 0xaa bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.SetVisibleCore(bool value) + 0x31e bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.Show() + 0xd bytes
ExGridx.dll!ExGridx.ExGridX.ShowScrollBars(object sender = {Value = 10 Min = 0 Max = 21}, System.EventArgs e = {System.EventArgs}) + 0x1b0 bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.OnVisibleChanged(System.EventArgs e = {System.EventArgs}) + 0xaa bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.SetVisibleCore(bool value) + 0x31e bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.Show() + 0xd bytes
ExGridx.dll!ExGridx.ExGridX.ShowScrollBars(object sender = {Value = 10 Min = 0 Max = 21}, System.EventArgs e = {System.EventArgs}) + 0x1b0 bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.OnVisibleChanged(System.EventArgs e = {System.EventArgs}) + 0xaa bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.SetVisibleCore(bool value) + 0x31e bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.Show() + 0xd bytes
ExGridx.dll!ExGridx.ExGridX.ShowScrollBars(object sender = {Value = 10 Min = 0 Max = 21}, System.EventArgs e = {System.EventArgs}) + 0x1b0 bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.OnVisibleChanged(System.EventArgs e = {System.EventArgs}) + 0xaa bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.SetVisibleCore(bool value) + 0x31e bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.Show() + 0xd bytes
ExGridx.dll!ExGridx.ExGridX.ShowScrollBars(object sender = {Value = 10 Min = 0 Max = 21}, System.EventArgs e = {System.EventArgs}) + 0x1b0 bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.OnVisibleChanged(System.EventArgs e = {System.EventArgs}) + 0xaa bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.SetVisibleCore(bool value) + 0x31e bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.Show() + 0xd bytes
ExGridx.dll!ExGridx.ExGridX.ShowScrollBars(object sender = {Value = 10 Min = 0 Max = 21}, System.EventArgs e = {System.EventArgs}) + 0x1b0 bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.OnVisibleChanged(System.EventArgs e = {System.EventArgs}) + 0xaa bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.SetVisibleCore(bool value) + 0x31e bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.Show() + 0xd bytes
ExGridx.dll!ExGridx.ExGridX.ShowScrollBars(object sender = {Value = 10 Min = 0 Max = 21}, System.EventArgs e = {System.EventArgs}) + 0x1b0 bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.OnVisibleChanged(System.EventArgs e = {System.EventArgs}) + 0xaa bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.SetVisibleCore(bool value) + 0x31e bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.Show() + 0xd bytes
ExGridx.dll!ExGridx.ExGridX.ShowScrollBars(object sender = {Value = 10 Min = 0 Max = 21}, System.EventArgs e = {System.EventArgs}) + 0x1b0 bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.OnVisibleChanged(System.EventArgs e = {System.EventArgs}) + 0xaa bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.SetVisibleCore(bool value) + 0x31e bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.Show() + 0xd bytes
ExGridx.dll!ExGridx.ExGridX.ShowScrollBars(object sender = {Value = 10 Min = 0 Max = 21}, System.EventArgs e = {System.EventArgs}) + 0x1b0 bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.OnVisibleChanged(System.EventArgs e = {System.EventArgs}) + 0xaa bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.SetVisibleCore(bool value) + 0x31e bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.Show() + 0xd bytes
ExGridx.dll!ExGridx.ExGridX.ShowScrollBars(object sender = {Value = 10 Min = 0 Max = 21}, System.EventArgs e = {System.EventArgs}) + 0x1b0 bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.OnVisibleChanged(System.EventArgs e = {System.EventArgs}) + 0xaa bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.SetVisibleCore(bool value) + 0x31e bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.Show() + 0xd bytes
ExGridx.dll!ExGridx.ExGridX.ShowScrollBars(object sender = {Value = 10 Min = 0 Max = 21}, System.EventArgs e = {System.EventArgs}) + 0x1b0 bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.OnVisibleChanged(System.EventArgs e = {System.EventArgs}) + 0xaa bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.SetVisibleCore(bool value) + 0x31e bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.Show() + 0xd bytes
ExGridx.dll!ExGridx.ExGridX.ShowScrollBars(object sender = {Value = 10 Min = 0 Max = 21}, System.EventArgs e = {System.EventArgs}) + 0x1b0 bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.OnVisibleChanged(System.EventArgs e = {System.EventArgs}) + 0xaa bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.SetVisibleCore(bool value) + 0x31e bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.Show() + 0xd bytes
ExGridx.dll!ExGridx.ExGridX.ShowScrollBars(object sender = {Value = 10 Min = 0 Max = 21}, System.EventArgs e = {System.EventArgs}) + 0x1b0 bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.OnVisibleChanged(System.EventArgs e = {System.EventArgs}) + 0xaa bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.SetVisibleCore(bool value) + 0x31e bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.Show() + 0xd bytes
ExGridx.dll!ExGridx.ExGridX.ShowScrollBars(object sender = {Value = 10 Min = 0 Max = 21}, System.EventArgs e = {System.EventArgs}) + 0x1b0 bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.OnVisibleChanged(System.EventArgs e = {System.EventArgs}) + 0xaa bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.SetVisibleCore(bool value) + 0x31e bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.Show() + 0xd bytes
ExGridx.dll!ExGridx.ExGridX.ShowScrollBars(object sender = {Value = 10 Min = 0 Max = 21}, System.EventArgs e = {System.EventArgs}) + 0x1b0 bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.OnVisibleChanged(System.EventArgs e = {System.EventArgs}) + 0xaa bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.SetVisibleCore(bool value) + 0x31e bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.Show() + 0xd bytes
ExGridx.dll!ExGridx.ExGridX.ShowScrollBars(object sender = {Value = 10 Min = 0 Max = 21}, System.EventArgs e = {System.EventArgs}) + 0x1b0 bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.OnVisibleChanged(System.EventArgs e = {System.EventArgs}) + 0xaa bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.SetVisibleCore(bool value) + 0x31e bytes

برنامه رو بزار این‌جا تا بهش یه نگاه بندازیم موفق باشید./