This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ubuntu 12.04 Crash on Exit
09-17-2012, 02:59 AM
Post: #1
Ubuntu 12.04 Crash on Exit
Jpcsp never exits cleanly. It always crashes when exiting. This wouldn't be much of a problem, except that it never saves my settings, so I have to go through the settings dialog every time I open the emulator. My terminal output is below:

Quote:#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f8e5014cc58, pid=15507, tid=140249351366400
#
# JRE version: 6.0_24-b24
# Java VM: OpenJDK 64-Bit Server VM (20.0-b12 mixed mode linux-amd64 compressed oops)
# Derivative: IcedTea6 1.11.4
# Distribution: Ubuntu 12.04 LTS, package 6b24-1.11.4-1ubuntu0.12.04.1
# Problematic frame:
# C [libX11.so.6+0x33c58] XQueryExtension+0x28
#
# An error report file with more information is saved as:
# /tmp/hs_err_pid15507.log
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
# https://bugs.launchpad.net/ubuntu/+source/openjdk-6/
#
Aborted (core dumped)

Specs:
Ubuntu 12.04
i5-2500k
Radeon HD 6870

The log is attached. Is there a fix for this? As a suggestion, I think it might be better if the settings were saved when the settings dialog is closed, rather than when the emulator exits.
Find all posts by this user
Quote this message in a reply
09-17-2012, 03:29 AM
Post: #2
RE: Ubuntu 12.04 Crash on Exit
(09-17-2012 02:59 AM)slmpika Wrote:  I have to go through the settings dialog every time I open the emulator.
As a suggestion, I think it might be better if the settings were saved when the settings dialog is closed, rather than when the emulator exits.
Mmmm, i don't know if JPCSP works different under Ubuntu, but on Windows JPCSP settings are stored under the file "Settings.properties"; that file can be edit with an simple text editor like Notepad++; the options that ends with 0 are disabled, 1 means are enabled so you might check the file whit emulator open and after it closed to compare if it in did store the changes and get closer to the where the error happen.

Hope it help.

[Image: montcer.png]
Find all posts by this user
Quote this message in a reply
09-17-2012, 07:02 PM
Post: #3
RE: Ubuntu 12.04 Crash on Exit
Try update Java and try again If not work Use Sun's Java is more compatible than the OpenJDK.

[Image: 1388267.png]
Find all posts by this user
Quote this message in a reply
09-17-2012, 08:31 PM
Post: #4
RE: Ubuntu 12.04 Crash on Exit
It still crashes after installing Sun's Java with a similar error.

Quote:#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f2fd80eac58, pid=7626, tid=139843493410560
#
# JRE version: Java™ SE Runtime Environment (8.0-b56)
# Java VM: Java HotSpot™ 64-Bit Server VM (24.0-b22 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C [libX11.so.6+0x33c58] XQueryExtension+0x28
#
# 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:
# /tmp/hs_err_pid7626.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
#

Regarding the Settings.properties file, this file nor the .jpcsp directory are never created because it does not exit without crashing, so unfortunately, the file does not exist for me to edit.
Find all posts by this user
Quote this message in a reply
09-17-2012, 11:38 PM
Post: #5
RE: Ubuntu 12.04 Crash on Exit
JWJGL Bug
http://lwjgl.org/forum/index.php/topic,4663.0.html

[Image: 1388267.png]
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: