Eclipse: A fatal error has been detected by the Java Runtime Environment

If you get this error when running elcipse then it could be that the webkit access from within eclipse is crashing the program

# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007faa285272a1, pid=6033, tid=140373115860736
#
# JRE version: Java(TM) SE Runtime Environment (8.0_25-b17) (build 1.8.0_25-b17)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.25-b02 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C [libsoup-2.4.so.1+0x6c2a1] soup_session_feature_detach+0x11
#
# 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:
# /home/brx/hs_err_pid6033.log
#
# 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.
#

SOLUTION:

For me I added to following line to eclipse config.ini and it no longer crashes!

org.eclipse.swt.browser.DefaultType=mozilla

Tagged , ,

Linux Mint 17 Hot Corner open Terminal

Add the following script to ‘Hot Corner’ in order to open a terminal whenever you move your mouse to the corner of the screen


#!/bin/sh
SERVICE='xfce4-terminal'

if ps ax | grep -v grep | grep $SERVICE > /dev/null
then
wmctrl -Fa ‘Terminal’
else
xfce4-terminal
fi

If a Terminal window is already open then it will be brought forward into focus, if not then it will fire open a new one!

Help me with an app Im working on

android manchester

If you have an Android device that is running Android 3 or later (Honeycomb) and you have a spare 5 minutes then please run my test app!

Download the test app: Click Here

At the end of the test you will be asked a few questions, please send me the answers along with the file fftestlog.txt, which can be found on your sdcard in the root directory to carltheandroid@gmail.com or post it on this thread, there is nothing in the information that is at all a security risk its just hardware info mostly. Once the test is finished you can uninstall the app.

What do I do?

Just download the file above using your phone. When asked to install the app say yes**. Once the app has opened run each test by clicking on the “Run Test” button, each test needs to end before the next test button can be touched.. it should take no longer than a couple of minutes to go through each test. The reason the app is asking for camera permissions is because you will be recording a short video, the reason it asks for sdcard permissions is so that it can write the log file to the sdcard.

**when installing the file you might see a notice like “Not allowed to install from third-part/untrusted source”…you need to go into the main menu Settings >> Applications >> Unknown sources and enable this. Basically your phone out of the box will only install from Play Store, this option removes that restriction.

What does the test do?

The test is checking to see whether ffmpeg + libx264 will run on your device with no problems, it does this by recording a short video and then attempting to overlay a jpg to the video (just click the red RECORD button when asked to record the video, recording will stop automatically after about 3 seconds). A text file called fftestlog.txt notes down a few things that I need to know along with the output of cat /proc/cpuinfo.

If you want/need to see the source code just ask.

Thanks.

Tagged