Bug 1513 - Handle X11RandR13 XRRGetOutputInfo NULL return value
Summary: Handle X11RandR13 XRRGetOutputInfo NULL return value
Status: RESOLVED FIXED
Alias: None
Product: Newt
Classification: JogAmp
Component: x11 (show other bugs)
Version: 2.6.0
Hardware: All all
: P4 normal
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2025-06-30 12:52 CEST by Sven Gothel
Modified: 2025-06-30 12:57 CEST (History)
0 users

See Also:
Type: DEFECT
SCM Refs:
2ff8e7213011f4a39150cb62cef3499a54460470
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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