Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 457534

Summary: Fatal crash SIGSEGV (0xb) when using JOGL
Product: [Eclipse Project] Platform Reporter: Philip Wenig <philip.wenig>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: akurtakov, ericwill, philip.wenig
Version: 4.5Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Error crash log none

Description Philip Wenig CLA 2015-01-15 04:18:13 EST
The Eclipse 4.5 milestone crashes when using JOGL. I have tested it with different combinations of Eclipse versions, different JVMs and graphic card drivers.

Eclipse 4.4.1 - OK
Eclipse 4.5M1 - SIGSEGV
Eclipse 4.5M4 - SIGSEGV

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f7968702f80, pid=28385, tid=140160267482880
#
# JRE version: OpenJDK Runtime Environment (7.0_65-b32) (build 1.7.0_65-b32)
# Java VM: OpenJDK 64-Bit Server VM (24.65-b04 mixed mode linux-amd64 compressed oops)
# Derivative: IcedTea 2.5.3
# Distribution: Ubuntu 14.04 LTS, package 7u71-2.5.3-0ubuntu0.14.04.1
# Problematic frame:
# C  [libX11.so.6+0x2af80]  XDefaultScreen+0x0
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again

Wade Walker was so kind to create a demo that can be tested within Eclipse 4.4 and 4.5 versions:

https://github.com/WadeWalker/com.jogamp.jogl
https://github.com/WadeWalker/name.wadewalker.tutorial

Import both repos and run the product.

-----------------------
JVMs used
-----------------------
java version "1.7.0_72"
Java(TM) SE Runtime Environment (build 1.7.0_72-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.72-b04, mixed mode)

java version "1.7.0_65"
OpenJDK Runtime Environment (IcedTea 2.5.3) (7u71-2.5.3-0ubuntu0.14.04.1)
OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)

-----------------------
Drivers used
-----------------------
X.Org-X-Server
NVIDIA binary driver - version 331.113
Comment 1 Philip Wenig CLA 2015-01-15 04:19:31 EST
Created attachment 249958 [details]
Error crash log
Comment 2 Alexander Kurtakov CLA 2017-12-15 07:23:11 EST
Can you still reproduce this one?
Comment 3 Eric Williams CLA 2018-08-16 11:49:21 EDT
(In reply to Alexander Kurtakov from comment #2)
> Can you still reproduce this one?

No response in months. Please reopen this ticket if the issue still reproduces on 4.8 with GTK3.22.