When successively editing a windows form with many visual components, visual studio 2019 closes unexpectedly, no message appears, only the errors below are recorded in the windows event log.
the third appears several, the first and second only 1x
1000
0
2
100
0
0x80000000000000
2257013
Application
ANDRE
1026
0
2
0
0
0x80000000000000
2257012
Application
ANDRE
Aplicativo: devenv.exe Versão do Framework: v4.0.30319 Descrição: O processo foi terminado devido a uma exceção sem tratamento. Informações da Exceção: System.Runtime.InteropServices.SEHException em System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr, IntPtr, Int32, IntPtr, IntPtr) em System.Windows.Forms.NativeWindow.DefWndProc(System.Windows.Forms.Message ByRef) em System.Windows.Forms.WebBrowserBase+WebBrowserBaseNativeWindow.WndProc(System.Windows.Forms.Message ByRef) em System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr, Int32, IntPtr, IntPtr)
1023
1
2
0
0
0x8000000000000000
2257011
Application
ANDRE
Hello. I need more info on how to reproduce the issue. I take it you encountered the problem when editing a specific winform only. Do you have any specific steps on how to reproduce the issue? Which form do you edit?
in the project that was sent as an example the error occurred in the form uprogramacaocarga.
I cannot reproduce the steps. I was changing some gridview properties.
I think the simplest way to check would be to open the form and simulate actions on it, such as adding new events, changing location objects, etc. the errors occur randomly, but they always occur, sometimes the visual studio restarts, sometimes it just crashes indefinitely and I need to kill by the task manager.
Designer shows errors for me. Probably I need next dll to open it:
‘AxInterop.SHDocVw’, ‘Bematech’ , ‘Bematech.Fiscal’, ‘Bematech.Perifericos’, ‘Interop.MSScriptControl’, ‘Interop.SHDocVw’, ‘PacoteInterfaces’, ‘System.Json’, ‘Zen.Barcode.Core’
Hello Claudio.
I tried to work in the uprogramacaocarga form for almost 20 minutes, and VS didn’t crash. Can we maybe arrange teamviewer on your machine? I need to attach one VS to another, and see what exception and callstack are thrown when VS crashes.
If it is possible, we can arrange any time on Monday or Tuesday that is suitable for you.
Best regards.
Right.
I also cannot reproduce the errors that we are having at any time, but they occur at various times, editing forms, compiling, I used uprogramacaocarga as an example but this occurs everywhere.
We can do as you suggested and try to reproduce the problem in my environment.
My time zone is UTC-3, I don’t know what your time zone is, but you can Monday at 5 PM-UTC.
On Monday, put the connection ID before this time.
Hello Claudio.
We made some changes to optimize work with winforms. But I still couldn’t reproduce the outofmemory exception and crashing VS here, so I can’t be sure we fixed the reason of your crashes.
The fixes will be available in today’s build. Please, try it and let me know if working with it is better for you.
Best regards.
something is wrong with the version, I can’t even open a form, the processing is always high and it doesn’t open, I waited more than 5 minutes and took the test more than once.
Sorry, I sent your the wring build (this has a different fix for someone else), but we’ll look at it anyways. It woudkl be good if you could retest your issue with todays official build later today.