processing / processing/processing4
Processing OpenGL renderer core dumping on Raspberry Pi
未关闭
还没有人认领这个 Issue。
bug
linux
- 主要语言
- Java
- 星标
- 494
- 派生
- 183
- 平均合并
- 4 小时 39 分钟
- 30 天内合并 PR
- 3
描述
Most appropriate sub-area of Processing 4?
Core/Environment/Rendering
Processing version
4.4.1
Operating system
Linux pihole 6.12.25+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.12.25-1+rpt1 (2025-04-30) aarch64 GNU/Linux
Steps to reproduce this
-
Install Processing on Raspberry pi 64 bit using snap, as per install instructions
-
Run this Sketch:
void setup() {
size(200, 200, P2D);
}
void draw() {
rect(mouseX, mouseY, 10, 10);
}
- Get core dump:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x0000007f7c0efc5c, pid=10483, tid=10487
#
# JRE version: OpenJDK Runtime Environment Temurin-17.0.14+7 (17.0.14+7) (build 17.0.14+7)
# Java VM: OpenJDK 64-Bit Server VM Temurin-17.0.14+7 (17.0.14+7, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, serial gc, linux-aarch64)
# Problematic frame:
# C [libnewt_head.so+0xfc5c] Java_jogamp_newt_driver_x11_RandR13_getMonitorName0+0x9c
#
# No core dump will be written. 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:
# /home/jim/hs_err_pid10483.log
#
# If you would like to submit a bug report, please visit:
# https://github.com/adoptium/adoptium-support/issues
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Could not run the sketch (Target VM failed to initialize).
snippet
void setup() {
size(200, 200, P2D);
}
void draw() {
rect(mouseX, mouseY, 10, 10);
}
Additional context
No response
Would you like to work on the issue?
I can help test & investigate
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
在报告的 64 位 Raspberry Pi 环境中复现最小 P2D 草图,并结合 libnewt_head.so 中的崩溃帧检查生成的 hs_err_pid10483.log。跟踪 Java_jogamp_newt_driver_x11_RandR13_getMonitorName0 失败,并验证该草图在受影响的设置上启动时不会发生原生 SIGSEGV。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java, linux, raspberry-pi
- 领域
- computer-graphics, desktop, operating-systems
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100