Lover103 / javacef

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

webgl crashes/undefined behavior on close #16

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Get javacef working
2. Run the code attached
3. Try to close cleanly... Boom.

What is the expected output? What do you see instead?

There are internal crash reports, etc.   I think this is actually a problem 
with the version of CEF that the current javacef builds with.  I managed to get 
it all working normally, and thank you very much it is really cool.  I would 
like to play with it more, but if I can't shutdown the shell/close/dispose etc, 
with the VM failing... then of course no go.

What version of the product are you using? On what operating system?

Latest one on the project home, built per spec on Mac OSX 10/9/5

Please provide any additional information below.

See the code attached.  Just start a javacef window with the webpage/javascript 
provided.....  Please let me know what it takes (in your opinion) to take 
javacef to the latest CEF binaries, I did try to build it and while it builds, 
it segfaults immediately.  I would be willing to do that work for you ... if I 
knew where to start....  I am kinda playing around and would love to have webgl 
just working in this component.

Original issue reported on code.google.com by richard....@gmail.com on 9 Mar 2015 at 10:05

Attachments:

GoogleCodeExporter commented 9 years ago
I tested on Linux using SampleBrowserSWT (with ignore-gpu-blacklist) and it 
worked and exited fine. Could you attach a stacktrace if possible? I'm not able 
to test on Mac recently.

Issue 3 has the method to update the cef version, but it would be a lot of 
work. Also you may download the cef symbol to get a detailed stacktrace. 
Extract the symbol to the same folder of libcef.dylib.

http://www.magpcss.net/cef_downloads/index.php?file=cef_binary_3.1750.1738_macos
x32_release_symbols.7z
http://www.magpcss.net/cef_downloads/index.php?file=cef_binary_3.1750.1738_macos
x64_release_symbols.7z

Original comment by wjyw...@gmail.com on 12 Mar 2015 at 12:56

GoogleCodeExporter commented 9 years ago
I tested your code using SampleBrowserSWT on Mac 10.10, and it could run webgl 
and exit without errors. You can try to get a stacktrace and upload it here.

Original comment by wjyw...@gmail.com on 14 Mar 2015 at 2:21