Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random System.AccessViolationException #795

Open
gli27 opened this issue Jul 6, 2018 · 5 comments
Open

Random System.AccessViolationException #795

gli27 opened this issue Jul 6, 2018 · 5 comments

Comments

@gli27
Copy link

gli27 commented Jul 6, 2018

Hello team,

I met random below exception. I don't know why the exception will be thrown.
Application: NewConsole.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr, IntPtr, Int32, IntPtr, IntPtr)
at System.Windows.Forms.NativeWindow.DefWndProc(System.Windows.Forms.Message ByRef)
at System.Windows.Forms.Control.DefWndProc(System.Windows.Forms.Message ByRef)
at System.Windows.Forms.Control.WmCommand(System.Windows.Forms.Message ByRef)
at System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message ByRef)
at System.Windows.Forms.ComboBox.WndProc(System.Windows.Forms.Message ByRef)
at System.Windows.Forms.Control+ControlNativeWindow.OnMessage(System.Windows.Forms.Message ByRef)
at System.Windows.Forms.Control+ControlNativeWindow.WndProc(System.Windows.Forms.Message ByRef)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr, Int32, IntPtr, IntPtr)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG ByRef)
at System.Windows.Forms.Application+ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr, Int32, Int32)
at System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner(Int32, System.Windows.Forms.ApplicationContext)
at System.Windows.Forms.Application+ThreadContext.RunMessageLoop(Int32, System.Windows.Forms.ApplicationContext)
at System.Windows.Forms.Application.Run(System.Windows.Forms.Form)
at Slb.Horizon.NewUIFramework.NewConsole.Main(System.String[])

@jnm2
Copy link
Contributor

jnm2 commented Jul 6, 2018

Can you provide a sample project?

@gli27
Copy link
Author

gli27 commented Jul 9, 2018

I can't figure the step of reproduced. What may it cause the problem?

@jnm2
Copy link
Contributor

jnm2 commented Jul 9, 2018

This doesn't look familiar to me, so I have no clue. In this type of situation, I usually copy my entire test project and delete half of it and see if it still repros. If not, I know part of the the repro is in the part I deleted, and I keep deleting roughly by halves until I figure out what is essential to the repro.

[Edit: mixed up my repositories! Sorry!]

@gli27
Copy link
Author

gli27 commented Jul 9, 2018

I think it isn't NUnit. Because it is random in a complex project, I'd like looking for some clue.

@jnm2
Copy link
Contributor

jnm2 commented Jul 9, 2018

@gli27 Oh dear! I mixed up which repository this tab was for, I'm sorry! 😆 Yeah, sorry I don't have any clues. If you delete as much as possible and post that code, that gives folks something to work with.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants