I have a JavaFX application with JavaFX 8 and I need to include Facebook login option to my users. I used "RestFB" library to work with Facebook and WebView to open Facebook website to do the login step. However sometimes the application crash when the user are using the Facebook website (like typing the user or password) and it's closed directly because the JVM die. This is the summary of the error when JVM die.
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00000001367a637b, pid=93595, tid=0x0000000000000307
#
# JRE version: Java(TM) SE Runtime Environment (8.0_144-b01) (build 1.8.0_144-b01)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.144-b01 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# C [libjfxwebkit.dylib+0x107937b] JSC::MarkedBlock::clearMarks()+0xb
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /XXX/YYYY/hs_err_pid93595.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
I tested the same code in OSx and Windows 7 with the same result, the problem doesn't happen always but I don't know how can I fix that.
I checked some bugs about JVM but really I am not sure if the problem is the same or not.
Thanks in advance.
Related
Sometimes my code crashes leaving me with an error file but no core dump because the latter is disabled.
Now it is suggested to set ulimit -c unlimited to allow core dumps.
If I would be running the code from console, it would be no issue to set ulimit before starting the Java Application. But the error seems to be much more frequent when debugged in Eclipse as when running as a standalone. (Actually as a standalone it crashed this way only once in hundreds of running hours, in debugging it crashed 4 times in the last two months (and some times before)).
Is there a way to tell Eclipse to set ulimit before launching a Debug-Session in Eclipse ?
And will a Core-Dump help me to find what causes the crash ?
For completeness, I am working on macOS and my error files all start like this (only pidchanges between them):
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGILL (0x4) at pc=0x00007fffa08c144e, pid=617, tid=0x0000000000000307
#
# JRE version: Java(TM) SE Runtime Environment (8.0_181-b13) (build 1.8.0_181-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.181-b13 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# C [AppKit+0x3a544e] -[NSApplication _crashOnException:]+0x6d
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
I suspect (but have nothing to prove it except the "moment when it crashes") that the crashes are related with the handling of BufferedImage within the Java code, but then again, the Error-Log tells that the error happened outside the JVM.
I'm using OpenSplice version 6.4 to develop an application with two sites in different networks. When I try to collect data from an external node, I got this error:
[thread 140436299368192 also had an error]#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fb9df606479, pid=32216, tid=0x00007fb9dfb88700
#
# JRE version: Java(TM) SE Runtime Environment (8.0_181-b13) (build 1.8.0_181-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.181-b13 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C [libdcpssaj.so+0x2f479] saj_dataReaderListenerOnDataAvailable+0x39
#
# Core dump written. Default location: /home/server/core or core.32216
#
# An error report file with more information is saved as:
# /home/server/hs_err_pid32216.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
#
I'm using Java version 1.8.0_181 and Ubuntu server 16.04. Any idea what might be causing this error?
#Alex8752, there might be different things here like JVM defect, lack of resources (OOM-like issues). In order to answer this question, it would be good if you post the
application startup arguments with JVM keys
thread dump (few per seconds from launch till before application fails)
My libgdx game crashes sometimes. I have no Idea why, so I don't think it is worth posting code yet, before knowing where it is comoing from. I am running the game on Windows. Here is the console output:
# A fatal error has been detected by the Java Runtime Environment:#
# Internal Error (os_windows_x86.cpp:144), pid=12252, tid=14156
# guarantee(result == EXCEPTION_CONTINUE_EXECUTION) failed: Unexpected result from topLevelExceptionFilter
#
# JRE version: Java(TM) SE Runtime Environment (8.0_65-b17) (build 1.8.0_65-b17)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.65-b01 mixed mode windows-amd64 compressed oops)
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# An error report file with more information is saved as:
# C:\...\assets\hs_err_pid12252.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
# Process finished with exit code 1
Where could this error come from? Could it have something to do with Box2d, Shapes, Bodies...?
In my app, I'm using webviews inside tab. When i open some more tab then JVM crashes. What can be the reason?
error log:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000101e50260, pid=6404, tid=5704
#
# JRE version: Java(TM) SE Runtime Environment (8.0-b132) (build 1.8.0-b132)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.0-b70 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C 0x0000000101e50260
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Error details in pastebin http://paste.ubuntu.com/9650264/
I noticed that jdk version was b13. Thats older. I changed to new one. It works like a charm now.
I use Eclipse for developing Android Application. I used adt-bundle-linux-x86-20140702 for sdk bundle with eclipse. And In my application I used NDK which is android-ndk-r9d. If I used ctrl+space in Java Editor I faced the following problem,
the tip menu is shown and in the mean while Eclipse also closed.
If i open the eclipse again means my entire application shown with an error. In this condition I need to restart eclipse again. If I restart the eclipse the error is gone.
But In C Editor it works perfectly
And In Eclipse log I got the following error:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x6396286d, pid=3861, tid=3076306688
#
# JRE version: Java(TM) SE Runtime Environment (8.0_11-b12) (build 1.8.0_11-b12)
# Java VM: Java HotSpot(TM) Client VM (25.11-b03 mixed mode linux-x86 )
# Problematic frame:
# C [libsoup-2.4.so.1+0x5486d] soup_session_feature_detach+0x1d
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
And I followed this link But its no help to me :(.. Can anyone give some suggestion about it..