fxruby icon indicating copy to clipboard operation
fxruby copied to clipboard

Segmentation fault Fox::FXMatrix on Catalina

Open bryn0097 opened this issue 5 years ago • 2 comments
trafficstars

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()

bryn0097 avatar Apr 20 '20 03:04 bryn0097

Sorry I can't reproduce this segfault - probably because I don't have MacOS Catalina.

Did it change with Big Sur?

larskanis avatar Nov 27 '20 17:11 larskanis

I'm on Catalina, latest fxruby version, and this snippet of code does not crash...

cgimenez avatar Jun 15 '23 09:06 cgimenez