Welcome Guest Search | Active Topics | Sign In | Register

WebBrowser Crash on close Options
James
Posted: Friday, March 18, 2016 7:52:32 AM
Rank: Advanced Member
Groups: Member

Joined: 2/11/2015
Posts: 122
I'm running the latest version of EO.WebBrowser (2016.0.24) and I am experiencing a regular problem with closing WebViews.
I am getting the EO Exception report, pasted below. I originally suspected a problem in some code we execute before close, but it doesn't seem to be the issue after some investigation, I think this may be a bug in EO?

The issue started once I upgraded to the first 2016 release.

On my end I reproduce the issue by opening a web view, closing it, then opening a new web view and closing that.
We register JS callback handlers and before we close the window we are calling EvalScript to run some code before we close the view.
James
Posted: Friday, March 18, 2016 7:53:39 AM
Rank: Advanced Member
Groups: Member

Joined: 2/11/2015
Posts: 122
I've removed this to make the post easier to follow, I'll keep it on hand incase it is needed again.
This post was for the crash report.
James
Posted: Friday, March 18, 2016 7:59:10 AM
Rank: Advanced Member
Groups: Member

Joined: 2/11/2015
Posts: 122
One other thing I just noticed. We have a web-view that remains open at all times, and once the first crash happens I can't reproduce the crash with a single web-view open.

If I open two new web-views, and close one then both crash when it exists, creating a Channel disconnected exception like before.
James
Posted: Friday, March 18, 2016 9:07:47 AM
Rank: Advanced Member
Groups: Member

Joined: 2/11/2015
Posts: 122
Is there any way to look at the information contained in the crash post, maybe it can give me some insight into the problem so I can further my investigation?
eo_support
Posted: Friday, March 18, 2016 10:06:23 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Hi,

We will post a new build today that will contain a number of fixes. I recommend you to wait for that build first, then set EO.Base.Runtime.ApplicationID in your application. This would allow us to associate the crash report in our database to your application. See here for more details:

http://www.essentialobjects.com/doc/common/crash_report.aspx

Once you experience the crash again let us know and we will look into the report to see what we can find.

Thanks!


James
Posted: Friday, March 18, 2016 10:27:24 AM
Rank: Advanced Member
Groups: Member

Joined: 2/11/2015
Posts: 122
Thank you for the information, unfortunately I actually have to disable the automatic crash reporting so I wont be able to associate an ID.
I'll update once the build is posted and I've tested.
James
Posted: Sunday, March 20, 2016 1:19:37 PM
Rank: Advanced Member
Groups: Member

Joined: 2/11/2015
Posts: 122
I've updated to 2016.0.28.0 and I'm still experiencing the crash issue. Should I send in a crash report?
eo_support
Posted: Sunday, March 20, 2016 4:25:40 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Yes. Please. You can set the ApplicationID and then PM us your ApplicationID. We will then look into our crash database to see what we can find.
Hazem Salem
Posted: Sunday, April 10, 2016 11:53:28 PM
Rank: Newbie
Groups: Member

Joined: 4/5/2016
Posts: 7
Hi There,

I am having the same problem, I am on this version 16.0.49.0 and the view crached on close.

I open multiple web views with different URL and If I closed any of them whole things crashed. and says webview disposed or so!

Any help?
James
Posted: Monday, April 11, 2016 8:46:42 AM
Rank: Advanced Member
Groups: Member

Joined: 2/11/2015
Posts: 122
Hazem,
I found that I was closing my WebView's by Disposing the WebView and WebControl directly. Switching to calling Close solved the problem for me.
EO informed me that these methods should function the same, however this was the only change I made to resolve the problem and have since no longer experienced the problem.
eo_support
Posted: Monday, April 11, 2016 9:44:53 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Hi,

Thanks for sharing by James. If either of you can create a test project and send the test project to us, it will be very helpful for us to get to the bottom of this issue. Please see here for more information on how to send a test project:

http://www.essentialobjects.com/forum/test_project.aspx

Thanks!
James
Posted: Monday, April 11, 2016 9:54:02 AM
Rank: Advanced Member
Groups: Member

Joined: 2/11/2015
Posts: 122
I will take another stab at creating a test project for this when I have some extra time. However I was previously unable to reproduce the problem in isolation. My application is fairly complex with a lot of interaction with the browser, so it will be difficult to isolate the issue.
eo_support
Posted: Monday, April 11, 2016 10:05:30 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
No problem. Thank you very much for your effort!
Hazem Salem
Posted: Monday, April 11, 2016 3:55:56 PM
Rank: Newbie
Groups: Member

Joined: 4/5/2016
Posts: 7
Thanks James a lot, I was doing the same and calling the close instead of dispose does solve the problem.
I also created a project and sent it to you.
eo_support
Posted: Monday, April 11, 2016 4:14:46 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Hazem Salem wrote:
Thanks James a lot, I was doing the same and calling the close instead of dispose does solve the problem.
I also created a project and sent it to you.


Thank you very much for the test project. It appears that the files you sent to us has been filtered out by your email server. Can you try to send it us through a web based mail system?
Hazem Salem
Posted: Monday, April 11, 2016 5:50:50 PM
Rank: Newbie
Groups: Member

Joined: 4/5/2016
Posts: 7
Sorry, Just sent it again from my hotmail.
Cheers,
eo_support
Posted: Monday, April 11, 2016 6:23:55 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Thank you very much. We have received the test project. We will look into it and get back to you as soon as possible.
eo_support
Posted: Friday, April 15, 2016 12:34:33 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Hi,

We have found an issue based on the test project Hazem sent to us and posted a new build that should fix this issue. Please download it from our download page and see if the new build resolve this issue for you.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.