[NEED HELP] [LINUX] Segfault running sample lwjgl program

Started by JackDubs, September 22, 2013, 18:32:25

Previous topic - Next topic

JackDubs

Wasn't sure where to post this as I'm certain it's not a bug but just an issue with my environment.

LWJGL Version: 2.9.0
OS: 64-bit Linux (CentOS version 6.4)
Java Version: "1.7.0_25"
OpenJDK Runtime Environment (rhel-2.3.10.4.el6_4-x86_64)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)

When I run the Window Creation Test using the proper command java -cp .:res:jar/lwjgl.jar:jar/lwjgl_test.jar:jar/lwjgl_util.jar:jar/jinput.jar: -Djava.library.path=native/linux org.lwjgl.test.WindowCreationTest

I get the following output:
The following keys are available:
ESCAPE:		Exit test
ARROW Keys:	Move window when in non-fullscreen mode
L:		List selectable display modes
0-8:		Selection of display modes
F:		Toggle fullscreen
SHIFT-F:	Toggle fullscreen with Display.destroy()/create() cycle
Found 7 display modes
Problem retrieving mode with 640x480x16@-1
Problem retrieving mode with 640x480x32@-1
Problem retrieving mode with 800x600x16@-1
Problem retrieving mode with 800x600x32@-1
Problem retrieving mode with 1024x768x16@-1
Problem retrieving mode with 1024x768x32@-1
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fccde7a8871, pid=4948, tid=140517896627968
#
# JRE version: 7.0_25
# Java VM: OpenJDK 64-Bit Server VM (23.7-b01 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libc.so.6+0x89871]  memcpy+0x11
#
# Core dump written. Default location: /opt/lwjgl/lwjgl-2.9.0/core or core.4948
#
# An error report file with more information is saved as:
# /opt/lwjgl/lwjgl-2.9.0/hs_err_pid4948.log
#
# If you would like to submit a bug report, please include
# instructions on how to reproduce the bug and visit:
#   http://icedtea.classpath.org/bugzilla
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted (core dumped)

The key part seems to be:
# Problematic frame:
# C  [libc.so.6+0x89871]  memcpy+0x11

Version of glibc installed:
glibc-2.12-1.107.el6_4.4.x86_64
glibc-devel-2.12-1.107.el6_4.4.x86_64
glibc-common-2.12-1.107.el6_4.4.x86_64
glibc-headers-2.12-1.107.el6_4.4.x86_64


Has anyone else encountered this issue before, or have an idea on what I need to do to fix this? I've attached the crash log in case it may provide other useful information.

Thanks in advance for any help.