MarginallyClever / Robot-Overlord-App

Simulation and control software for robots
https://www.marginallyclever.com/
GNU General Public License v2.0
157 stars 48 forks source link

Saving on preferences panel cause the app to crash #167

Closed Jackymancs4 closed 1 year ago

Jackymancs4 commented 1 year ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to "Edit Preferences"
  2. Edit any preference (or not)
  3. Click "Ok"
  4. App crashes

Platform (please complete the following information):

Additional context Console:

[INFO] Scanning for projects...
[INFO] 
[INFO] -----------------< com.marginallyclever:RobotOverlord >-----------------
[INFO] Building Robot Overlord 2.7.1
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- exec-maven-plugin:3.1.0:java (default-cli) @ RobotOverlord ---
log path=/Users/jack/1Inspection/Robot-Overlord-App
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007ffa34c8f5a7, pid=16799, tid=68619
#
# JRE version: OpenJDK Runtime Environment Temurin-17.0.7+7 (17.0.7+7) (build 17.0.7+7)
# Java VM: OpenJDK 64-Bit Server VM Temurin-17.0.7+7 (17.0.7+7, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-amd64)
# Problematic frame:
# C  [GLEngine+0x13b5a7]  gleRunVertexSubmitImmediate+0x1007
#
# 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:
# /Users/jack/1Inspection/Robot-Overlord-App/hs_err_pid16799.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.
#
Abort trap: 6

Other logs: hs_err_pid17069.log

log.txt

i-make-robots commented 1 year ago

this is definitely part of #151 . when preferences are changed some of them can only be applied by destroying and recreating the opengl panel. no doubt this makes mac unhappy.