-
Notifications
You must be signed in to change notification settings - Fork 55
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 Quiet Abends using WebBrowser2 #2627
Comments
@Lassesen - Are you listening to WebView2's ProcessFailed event at all? If WV2 is crashing that would give you an error code and other information for us to look at. |
Yes, I am -- I went on an event linking marathon trying to resolve it, to no avail. I have a workaround, a CMD file doing an infinite loop that picks up from SQL the next item to walk... so when it dies, it restarts and resumes...
|
That's really odd - And you're using the same WV2 for all of this (assuming it doesn't disappear) or are you making a new WV2 for every URL you crawl? Are there any files in the |
You're hitting an out of memory error, without more details of what's happening in the loop it's hard to tell exactly what's causing it. Would you be willing to share the source with me? (can take this offline in email, aluhrs at microsoft.com) Memory leaks in a platform like WebView2 are hard to track down and reproduce, so if you're hitting something in our code that's causing this that would be REALLY helpful and could help a lot of other apps in the process. |
Sending you a zip file. You should be able to adapt it. |
As a FYI on my prior issues. The problems I encountered were only when running from visual studio (i.e. debug). It runs stable for 96+ hrs when executed from the build image without Visual Studio |
Sorry for not following up, I was out of office for a few months soon after this. I wasn't able to repro with what you shared, and it seems like it might be related to debug build which is likely out of our control. Will close in ~7 days unless you disagree. |
Description
I have a WinForm application in C# that walks web sites (i.e. a web crawler). Logging performance, http code, sizes etc.
At random will will just die, no error message. I have built a resume on last work not done into the application and it proceeds fine.
In some cases, it will run for less than 100 pages before dying, in other cases almost 10,000 (on the same web site). So it does not appear to be a content issue.
The main issue is that the death is totally quiet,
Version
Repro Steps
Additional context
The text was updated successfully, but these errors were encountered: