fxruby
fxruby copied to clipboard
Segmentation fault Fox::FXMatrix on Catalina
The following code snippet crashes on Catalina but works fine on High Sierra, various linux distros, and win10. Tried with ruby 2.4.0 and 2.6.4. Using fxruby-1.6.42
#!/usr/bin/env ruby require 'fox16' include Fox application = FXApp.new("FXMatrix", "BugTest") main = FXMainWindow.new(application, "Test", nil, nil, DECOR_ALL) test_matrix = FXMatrix.new(main, 8, MATRIX_BY_COLUMNS|LAYOUT_FILL_Y) application.create() main.show(PLACEMENT_SCREEN) application.run()
Sorry I can't reproduce this segfault - probably because I don't have MacOS Catalina.
Did it change with Big Sur?
I'm on Catalina, latest fxruby version, and this snippet of code does not crash...