Bug 1513

Summary: Handle X11RandR13 XRRGetOutputInfo NULL return value
Product: [JogAmp] Newt Reporter: Sven Gothel <sgothel>
Component: x11Assignee: Sven Gothel <sgothel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P4    
Version: 2.6.0   
Hardware: All   
OS: all   
Type: DEFECT SCM Refs:
2ff8e7213011f4a39150cb62cef3499a54460470
Workaround: ---

Description Sven Gothel 2025-06-30 12:52:34 CEST
It has been reported 
<https://forum.jogamp.org/Jogl-2-5-0-on-Pi3-with-Bookworm-Monitor-Name-causes-JVM-crash-td4043589.html>

that `Java_jogamp_newt_driver_x11_RandR13_getMonitorDevice` causes SIGSEGV on
* Raspi 3B+
* jogl 2.5.0
* java 17 (openjdk from apt)
* Raspian Bookworm with kernel 6.6. (July 202) 
* Wayland/Wayfire

"I think i might have found the underlying issue, Raspbian Bookworm uses Wayland/Wayfire as the default window manager. As far as I could find out, Wayfire does implement X11 api, but it might be a bit different in how it returns things. "
Comment 1 Sven Gothel 2025-06-30 12:57:40 CEST
see 2ff8e7213011f4a39150cb62cef3499a54460470