JCEF crashes with multiple browsers

Having problems with building or using the JCEF Java binding? Ask your questions here.

JCEF crashes with multiple browsers

Postby kc7bfi » Mon May 08, 2017 2:18 pm

I have a java application that creates a single CefClient and 12 CefBrowsers each attached to a JPanel. Everything works well until I minimize the program or bring up another window in fromt of the application. If I do, the program immediately exits and registers two events in the Windows Event Viewer.

Code: Select all
Faulting application name: PersonalViewer64.exe, version: 0.0.0.0, time stamp: 0x5169eea0
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0xc0000005
Fault offset: 0x0000000300000002
Faulting process id: 0x1ddc
Faulting application start time: 0x01d2c82933e04835
Faulting application path: C:\Program Files\PV64.exe
Faulting module path: unknown
Report Id: b0354aa9-fb0a-421f-9928-86bf63553ce1
Faulting package full name:
Faulting package-relative application ID:


Code: Select all
Faulting application name: PersonalViewer64.exe, version: 0.0.0.0, time stamp: 0x5169eea0
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0xc000041d
Fault offset: 0x0000000300000002
Faulting process id: 0x1ddc
Faulting application start time: 0x01d2c82933e04835
Faulting application path: C:\Program Files\PV64.exe
Faulting module path: unknown
Report Id: 8e5af200-b657-4734-a7f4-f3854e91f9d7
Faulting package full name:
Faulting package-relative application ID:

This does not happen if I use a single CefBrowser window. I am compiling the latest code from GIT. Any ideas what I may be doing wrong?
David
kc7bfi
Newbie
 
Posts: 2
Joined: Mon May 08, 2017 2:07 pm

Re: JCEF crashes with multiple browsers

Postby magreenblatt » Mon May 08, 2017 10:23 pm

What is the symbolized call stack for the crash?
magreenblatt
Site Admin
 
Posts: 12384
Joined: Fri May 29, 2009 6:57 pm

Re: JCEF crashes with multiple browsers

Postby kc7bfi » Wed May 10, 2017 11:21 am

It is embedded in a java application and does not leave a dump other than what is in the System Event Log (Windows). When I bring up a window in front, the icon on the taskbar glows like it has a window event and then disappears.
kc7bfi
Newbie
 
Posts: 2
Joined: Mon May 08, 2017 2:07 pm

Re: JCEF crashes with multiple browsers

Postby magreenblatt » Wed May 10, 2017 2:58 pm

You can still attach a debugger to a java application. You can download Debug or Release Symbols for the same version of libcef from http://opensource.spotify.com/cefbuilds/index.html.
magreenblatt
Site Admin
 
Posts: 12384
Joined: Fri May 29, 2009 6:57 pm

Re: JCEF crashes with multiple browsers

Postby JohnnyTheHun » Fri Aug 17, 2018 3:16 am

The glowing icon is similar to the problem we have with focusing. Maybe the solution here might solve your problem too:
https://bitbucket.org/chromiumembedded/ ... eeps-focus
JohnnyTheHun
Techie
 
Posts: 42
Joined: Tue Apr 10, 2018 12:24 pm


Return to JCEF Forum

Who is online

Users browsing this forum: No registered users and 7 guests