yueying0083 / javachromiumembedded

Automatically exported from code.google.com/p/javachromiumembedded
0 stars 0 forks source link

JCEF: Multiple Browsers Crashes Application #146

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. JCEF version: 3.2171.1902.113
2. CEF Version:      3.2171.1902
3. Java 1.7.0_02 64-bit
4. Launch the MainFrame class.  Use the "NEW TAB" to quickly and randomly 
launch new windows with new browsers.  Select amongst them as well as close and 
open windows.  See below for more information.

What is the expected output? What do you see instead?
Expected: The application not to crash.
Actual:
"Java(TM) Platform SE binary has stopped working"
Problem signature:
  Problem Event Name:   BEX64
  Application Name: javaw.exe
  Application Version:  7.0.20.13
  Application Timestamp:    4ec58345
  Fault Module Name:    StackHash_c74e
  Fault Module Version: 0.0.0.0
  Fault Module Timestamp:   00000000
  Exception Offset: 0000000300000002
  Exception Code:   c0000005
  Exception Data:   0000000000000008
  OS Version:   6.1.7601.2.1.0.256.48
  Locale ID:    1033
  Additional Information 1: c74e
  Additional Information 2: c74e1f76a618c688f3751844a76e7267
  Additional Information 3: 9ebe
  Additional Information 4: 9ebe4761692b76ccf8346485ce6d46f6

What version of the product are you using? On what operating system?
JCEF version: 3.2171.1902.113
CEF Version:      3.2171.1902
java version "1.7.0_02"
Java(TM) SE Runtime Environment (build 1.7.0_02-b13)
Java HotSpot(TM) Client VM (build 22.0-b10, mixed mode, sharing)
Windows 7 64-bit

Please provide any additional information below.
Using the attached classes, launch the MainFrame class.  MainFrame has been 
modified to add a "NEW TAB" button which launches the TabFrame class.  TabFrame 
is a stripped down MainFrame that receives the same client from MainFrame and 
simply creates a new browser in a new window.  Opening multiple windows works 
but clicking each window exhibits varying behavior (flicker, does not move to 
foreground).  The application crashes via a combination of opening multiple 
windows (4-5), quickly clicking varying works for focus and closing/opening 
others.  There seems to be a correlation with the closing of a window that 
causes the crash but I cannot pinpoint the issue specifically.

Original issue reported on code.google.com by fjaccar...@gmail.com on 14 Jan 2015 at 9:18

Attachments:

GoogleCodeExporter commented 8 years ago
If it helps to reproduce, I seem to be able to reproduce this more consistently 
when there are two TabFrames in addition to the one MainFrame.  Have all three 
windows overlapping in some manner.  It seems to help being able to see the 
close button of at least the TabFrames.  Then, while dealing with the TabFrames 
only, attempt to select (one single click) the TabFrame that is behind the 
foremost TabFrame, when it fails to come to the foreground attempt to close 
that same TabFrame via the X [Close} button.  If it closes normally, repeat by 
opening another TabFrame and attempt to select the TabFrame behind the foremost 
TabFrame.

Original comment by fjaccar...@gmail.com on 14 Jan 2015 at 10:24

GoogleCodeExporter commented 8 years ago
I have raised a similar issue here: 
http://www.magpcss.org/ceforum/viewtopic.php?f=6&t=12521 with the code 
snippets. Please check and update if anyone is able to help with the crashing 
issue on browser close.

Regards,
Arun

Original comment by arun.vc....@gmail.com on 27 Jan 2015 at 12:33

GoogleCodeExporter commented 8 years ago
JCEF is transitioning from Google Code to Bitbucket project hosting. If you 
would like to continue receiving notifications on this issue please add 
yourself as a Watcher at the new location: 
https://bitbucket.org/chromiumembedded/java-cef/issue/146

Original comment by magreenb...@gmail.com on 18 Mar 2015 at 6:01