apache / arrow

Apache Arrow is a multi-language toolbox for accelerated data interchange and in-memory processing
https://arrow.apache.org/
Apache License 2.0
14.31k stars 3.48k forks source link

[Ruby] Segmentation Fault with require 'parquet' in ruby console #43714

Open bayornet opened 1 month ago

bayornet commented 1 month ago

Describe the bug, including details regarding any error messages, version, and platform.

Hi

When trying to require 'parquet' in a rails console, it causes a segmentation fault.

/ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/loader.rb:187: [BUG] Segmentation fault at 0x0000000000000010 ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-darwin22]

This seems to be an issue with go-introspection.

Here is some of the stacktrace:

    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_instance.rb:261:in `block (2 levels) in eval'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_instance.rb:260:in `catch'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_instance.rb:260:in `block in eval'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_instance.rb:259:in `catch'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_instance.rb:259:in `eval'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/repl.rb:77:in `block in repl'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/repl.rb:67:in `loop'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/repl.rb:67:in `repl'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/repl.rb:38:in `block in start'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/input_lock.rb:61:in `__with_ownership'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/input_lock.rb:78:in `with_ownership'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/repl.rb:38:in `start'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/repl.rb:15:in `start'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-byebug-3.10.1/lib/pry-byebug/pry_ext.rb:15:in `start_with_pry_byebug'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_class.rb:194:in `start'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/railties-6.1.7.7/lib/rails/commands/console/console_command.rb:70:in `start'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/railties-6.1.7.7/lib/rails/commands/console/console_command.rb:19:in `start'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/railties-6.1.7.7/lib/rails/commands/console/console_command.rb:102:in `perform'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/thor-1.3.0/lib/thor/command.rb:28:in `run'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/thor-1.3.0/lib/thor/invocation.rb:127:in `invoke_command'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/thor-1.3.0/lib/thor.rb:527:in `dispatch'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/railties-6.1.7.7/lib/rails/command/base.rb:69:in `perform'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/railties-6.1.7.7/lib/rails/command.rb:48:in `invoke'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/railties-6.1.7.7/lib/rails/commands.rb:18:in `<top (required)>'
    from <internal:/.rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
    from <internal:/.rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
    from bin/rails:4:in `<main>'
GLib-GObject-WARNING **: cannot retrieve class for invalid (unclassed) type 'GITypeTag'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/loader.rb:252:in `load_object_info'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/red-arrow-17.0.0/lib/arrow/loader.rb:172:in `load_object_info'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/loader.rb:73:in `load_info'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/loader.rb:47:in `block (2 levels) in load'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/repository.rb:34:in `block (2 levels) in each'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/repository.rb:33:in `times'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/repository.rb:33:in `block in each'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/repository.rb:32:in `each'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/repository.rb:32:in `each'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/loader.rb:46:in `block in load'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/loader.rb:644:in `prepare_class'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/loader.rb:41:in `load'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/loader.rb:25:in `load'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/red-arrow-17.0.0/lib/arrow/loader.rb:24:in `load'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/red-arrow-17.0.0/lib/arrow.rb:29:in `<module:Arrow>'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/red-arrow-17.0.0/lib/arrow.rb:25:in `<top (required)>'
    from <internal:/.rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
    from <internal:/.rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/zeitwerk-2.6.12/lib/zeitwerk/kernel.rb:38:in `require'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/activesupport-6.1.7.7/lib/active_support/dependencies.rb:332:in `block in require'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/activesupport-6.1.7.7/lib/active_support/dependencies.rb:299:in `load_dependency'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/activesupport-6.1.7.7/lib/active_support/dependencies.rb:332:in `require'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/red-parquet-17.0.0/lib/parquet.rb:18:in `<top (required)>'
    from <internal:/.rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
    from <internal:/.rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/zeitwerk-2.6.12/lib/zeitwerk/kernel.rb:38:in `require'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/activesupport-6.1.7.7/lib/active_support/dependencies.rb:332:in `block in require'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/activesupport-6.1.7.7/lib/active_support/dependencies.rb:299:in `load_dependency'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/activesupport-6.1.7.7/lib/active_support/dependencies.rb:332:in `require'
    from (pry):1:in `__pry__'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_instance.rb:290:in `eval'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_instance.rb:290:in `evaluate_ruby'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_instance.rb:659:in `handle_line'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_instance.rb:261:in `block (2 levels) in eval'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_instance.rb:260:in `catch'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_instance.rb:260:in `block in eval'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_instance.rb:259:in `catch'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_instance.rb:259:in `eval'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/repl.rb:77:in `block in repl'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/repl.rb:67:in `loop'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/repl.rb:67:in `repl'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/repl.rb:38:in `block in start'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/input_lock.rb:61:in `__with_ownership'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/input_lock.rb:78:in `with_ownership'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/repl.rb:38:in `start'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/repl.rb:15:in `start'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-byebug-3.10.1/lib/pry-byebug/pry_ext.rb:15:in `start_with_pry_byebug'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_class.rb:194:in `start'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/railties-6.1.7.7/lib/rails/commands/console/console_command.rb:70:in `start'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/railties-6.1.7.7/lib/rails/commands/console/console_command.rb:19:in `start'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/railties-6.1.7.7/lib/rails/commands/console/console_command.rb:102:in `perform'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/thor-1.3.0/lib/thor/command.rb:28:in `run'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/thor-1.3.0/lib/thor/invocation.rb:127:in `invoke_command'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/thor-1.3.0/lib/thor.rb:527:in `dispatch'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/railties-6.1.7.7/lib/rails/command/base.rb:69:in `perform'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/railties-6.1.7.7/lib/rails/command.rb:48:in `invoke'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/railties-6.1.7.7/lib/rails/commands.rb:18:in `<top (required)>'
    from <internal:/.rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
    from <internal:/.rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
    from bin/rails:4:in `<main>'
GLib-GObject-WARNING **: invalid class cast from (NULL) pointer to 'GObject'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/loader.rb:252:in `load_object_info'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/red-arrow-17.0.0/lib/arrow/loader.rb:172:in `load_object_info'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/loader.rb:73:in `load_info'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/loader.rb:47:in `block (2 levels) in load'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/repository.rb:34:in `block (2 levels) in each'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/repository.rb:33:in `times'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/repository.rb:33:in `block in each'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/repository.rb:32:in `each'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/repository.rb:32:in `each'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/loader.rb:46:in `block in load'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/loader.rb:644:in `prepare_class'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/loader.rb:41:in `load'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/loader.rb:25:in `load'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/red-arrow-17.0.0/lib/arrow/loader.rb:24:in `load'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/red-arrow-17.0.0/lib/arrow.rb:29:in `<module:Arrow>'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/red-arrow-17.0.0/lib/arrow.rb:25:in `<top (required)>'
    from <internal:/.rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
    from <internal:/.rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/zeitwerk-2.6.12/lib/zeitwerk/kernel.rb:38:in `require'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/activesupport-6.1.7.7/lib/active_support/dependencies.rb:332:in `block in require'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/activesupport-6.1.7.7/lib/active_support/dependencies.rb:299:in `load_dependency'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/activesupport-6.1.7.7/lib/active_support/dependencies.rb:332:in `require'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/red-parquet-17.0.0/lib/parquet.rb:18:in `<top (required)>'
    from <internal:/.rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
    from <internal:/.rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/zeitwerk-2.6.12/lib/zeitwerk/kernel.rb:38:in `require'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/activesupport-6.1.7.7/lib/active_support/dependencies.rb:332:in `block in require'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/activesupport-6.1.7.7/lib/active_support/dependencies.rb:299:in `load_dependency'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/activesupport-6.1.7.7/lib/active_support/dependencies.rb:332:in `require'
    from (pry):1:in `__pry__'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_instance.rb:290:in `eval'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_instance.rb:290:in `evaluate_ruby'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_instance.rb:659:in `handle_line'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_instance.rb:261:in `block (2 levels) in eval'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_instance.rb:260:in `catch'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_instance.rb:260:in `block in eval'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_instance.rb:259:in `catch'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_instance.rb:259:in `eval'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/repl.rb:77:in `block in repl'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/repl.rb:67:in `loop'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/repl.rb:67:in `repl'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/repl.rb:38:in `block in start'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/input_lock.rb:61:in `__with_ownership'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/input_lock.rb:78:in `with_ownership'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/repl.rb:38:in `start'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/repl.rb:15:in `start'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-byebug-3.10.1/lib/pry-byebug/pry_ext.rb:15:in `start_with_pry_byebug'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_class.rb:194:in `start'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/railties-6.1.7.7/lib/rails/commands/console/console_command.rb:70:in `start'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/railties-6.1.7.7/lib/rails/commands/console/console_command.rb:19:in `start'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/railties-6.1.7.7/lib/rails/commands/console/console_command.rb:102:in `perform'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/thor-1.3.0/lib/thor/command.rb:28:in `run'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/thor-1.3.0/lib/thor/invocation.rb:127:in `invoke_command'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/thor-1.3.0/lib/thor.rb:527:in `dispatch'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/railties-6.1.7.7/lib/rails/command/base.rb:69:in `perform'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/railties-6.1.7.7/lib/rails/command.rb:48:in `invoke'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/railties-6.1.7.7/lib/rails/commands.rb:18:in `<top (required)>'
    from <internal:/.rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
    from <internal:/.rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
    from bin/rails:4:in `<main>'
GLib-GObject-CRITICAL **: g_object_class_list_properties: assertion 'G_IS_OBJECT_CLASS (class)' failed
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/loader.rb:252:in `load_object_info'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/red-arrow-17.0.0/lib/arrow/loader.rb:172:in `load_object_info'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/loader.rb:73:in `load_info'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/loader.rb:47:in `block (2 levels) in load'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/repository.rb:34:in `block (2 levels) in each'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/repository.rb:33:in `times'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/repository.rb:33:in `block in each'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/repository.rb:32:in `each'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/repository.rb:32:in `each'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/loader.rb:46:in `block in load'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/loader.rb:644:in `prepare_class'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/loader.rb:41:in `load'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/loader.rb:25:in `load'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/red-arrow-17.0.0/lib/arrow/loader.rb:24:in `load'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/red-arrow-17.0.0/lib/arrow.rb:29:in `<module:Arrow>'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/red-arrow-17.0.0/lib/arrow.rb:25:in `<top (required)>'
    from <internal:/.rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
    from <internal:/.rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/zeitwerk-2.6.12/lib/zeitwerk/kernel.rb:38:in `require'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/activesupport-6.1.7.7/lib/active_support/dependencies.rb:332:in `block in require'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/activesupport-6.1.7.7/lib/active_support/dependencies.rb:299:in `load_dependency'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/activesupport-6.1.7.7/lib/active_support/dependencies.rb:332:in `require'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/red-parquet-17.0.0/lib/parquet.rb:18:in `<top (required)>'
    from <internal:/.rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
    from <internal:/.rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/zeitwerk-2.6.12/lib/zeitwerk/kernel.rb:38:in `require'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/activesupport-6.1.7.7/lib/active_support/dependencies.rb:332:in `block in require'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/activesupport-6.1.7.7/lib/active_support/dependencies.rb:299:in `load_dependency'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/activesupport-6.1.7.7/lib/active_support/dependencies.rb:332:in `require'
    from (pry):1:in `__pry__'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_instance.rb:290:in `eval'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_instance.rb:290:in `evaluate_ruby'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_instance.rb:659:in `handle_line'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_instance.rb:261:in `block (2 levels) in eval'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_instance.rb:260:in `catch'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_instance.rb:260:in `block in eval'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_instance.rb:259:in `catch'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_instance.rb:259:in `eval'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/repl.rb:77:in `block in repl'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/repl.rb:67:in `loop'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/repl.rb:67:in `repl'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/repl.rb:38:in `block in start'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/input_lock.rb:61:in `__with_ownership'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/input_lock.rb:78:in `with_ownership'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/repl.rb:38:in `start'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/repl.rb:15:in `start'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-byebug-3.10.1/lib/pry-byebug/pry_ext.rb:15:in `start_with_pry_byebug'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_class.rb:194:in `start'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/railties-6.1.7.7/lib/rails/commands/console/console_command.rb:70:in `start'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/railties-6.1.7.7/lib/rails/commands/console/console_command.rb:19:in `start'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/railties-6.1.7.7/lib/rails/commands/console/console_command.rb:102:in `perform'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/thor-1.3.0/lib/thor/command.rb:28:in `run'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/thor-1.3.0/lib/thor/invocation.rb:127:in `invoke_command'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/thor-1.3.0/lib/thor.rb:527:in `dispatch'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/railties-6.1.7.7/lib/rails/command/base.rb:69:in `perform'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/railties-6.1.7.7/lib/rails/command.rb:48:in `invoke'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/railties-6.1.7.7/lib/rails/commands.rb:18:in `<top (required)>'
    from <internal:/.rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
    from <internal:/.rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
    from bin/rails:4:in `<main>'
GLib-GObject-CRITICAL **: g_type_class_unref: assertion 'g_class != NULL' failed
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/loader.rb:252:in `load_object_info'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/red-arrow-17.0.0/lib/arrow/loader.rb:172:in `load_object_info'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/loader.rb:73:in `load_info'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/loader.rb:47:in `block (2 levels) in load'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/repository.rb:34:in `block (2 levels) in each'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/repository.rb:33:in `times'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/repository.rb:33:in `block in each'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/repository.rb:32:in `each'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/repository.rb:32:in `each'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/loader.rb:46:in `block in load'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/loader.rb:644:in `prepare_class'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/loader.rb:41:in `load'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/loader.rb:25:in `load'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/red-arrow-17.0.0/lib/arrow/loader.rb:24:in `load'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/red-arrow-17.0.0/lib/arrow.rb:29:in `<module:Arrow>'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/red-arrow-17.0.0/lib/arrow.rb:25:in `<top (required)>'
    from <internal:/.rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
    from <internal:/.rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/zeitwerk-2.6.12/lib/zeitwerk/kernel.rb:38:in `require'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/activesupport-6.1.7.7/lib/active_support/dependencies.rb:332:in `block in require'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/activesupport-6.1.7.7/lib/active_support/dependencies.rb:299:in `load_dependency'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/activesupport-6.1.7.7/lib/active_support/dependencies.rb:332:in `require'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/red-parquet-17.0.0/lib/parquet.rb:18:in `<top (required)>'
    from <internal:/.rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
    from <internal:/.rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/zeitwerk-2.6.12/lib/zeitwerk/kernel.rb:38:in `require'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/activesupport-6.1.7.7/lib/active_support/dependencies.rb:332:in `block in require'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/activesupport-6.1.7.7/lib/active_support/dependencies.rb:299:in `load_dependency'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/activesupport-6.1.7.7/lib/active_support/dependencies.rb:332:in `require'
    from (pry):1:in `__pry__'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_instance.rb:290:in `eval'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_instance.rb:290:in `evaluate_ruby'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_instance.rb:659:in `handle_line'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_instance.rb:261:in `block (2 levels) in eval'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_instance.rb:260:in `catch'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_instance.rb:260:in `block in eval'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_instance.rb:259:in `catch'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_instance.rb:259:in `eval'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/repl.rb:77:in `block in repl'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/repl.rb:67:in `loop'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/repl.rb:67:in `repl'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/repl.rb:38:in `block in start'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/input_lock.rb:61:in `__with_ownership'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/input_lock.rb:78:in `with_ownership'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/repl.rb:38:in `start'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/repl.rb:15:in `start'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-byebug-3.10.1/lib/pry-byebug/pry_ext.rb:15:in `start_with_pry_byebug'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_class.rb:194:in `start'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/railties-6.1.7.7/lib/rails/commands/console/console_command.rb:70:in `start'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/railties-6.1.7.7/lib/rails/commands/console/console_command.rb:19:in `start'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/railties-6.1.7.7/lib/rails/commands/console/console_command.rb:102:in `perform'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/thor-1.3.0/lib/thor/command.rb:28:in `run'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/thor-1.3.0/lib/thor/invocation.rb:127:in `invoke_command'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/thor-1.3.0/lib/thor.rb:527:in `dispatch'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/railties-6.1.7.7/lib/rails/command/base.rb:69:in `perform'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/railties-6.1.7.7/lib/rails/command.rb:48:in `invoke'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/railties-6.1.7.7/lib/rails/commands.rb:18:in `<top (required)>'
    from <internal:/.rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
    from <internal:/.rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
    from bin/rails:4:in `<main>'
GLib-GObject-WARNING **: cannot retrieve class for invalid (unclassed) type 'GBytes'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/loader.rb:187:in `define_enum'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/loader.rb:218:in `load_enum_info'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/loader.rb:71:in `load_info'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/loader.rb:47:in `block (2 levels) in load'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/repository.rb:34:in `block (2 levels) in each'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/repository.rb:33:in `times'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/repository.rb:33:in `block in each'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/repository.rb:32:in `each'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/repository.rb:32:in `each'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/loader.rb:46:in `block in load'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/loader.rb:644:in `prepare_class'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/loader.rb:41:in `load'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/loader.rb:25:in `load'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/red-arrow-17.0.0/lib/arrow/loader.rb:24:in `load'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/red-arrow-17.0.0/lib/arrow.rb:29:in `<module:Arrow>'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/red-arrow-17.0.0/lib/arrow.rb:25:in `<top (required)>'
    from <internal:/.rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
    from <internal:/.rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/zeitwerk-2.6.12/lib/zeitwerk/kernel.rb:38:in `require'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/activesupport-6.1.7.7/lib/active_support/dependencies.rb:332:in `block in require'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/activesupport-6.1.7.7/lib/active_support/dependencies.rb:299:in `load_dependency'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/activesupport-6.1.7.7/lib/active_support/dependencies.rb:332:in `require'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/red-parquet-17.0.0/lib/parquet.rb:18:in `<top (required)>'
    from <internal:/.rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
    from <internal:/.rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/zeitwerk-2.6.12/lib/zeitwerk/kernel.rb:38:in `require'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/activesupport-6.1.7.7/lib/active_support/dependencies.rb:332:in `block in require'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/activesupport-6.1.7.7/lib/active_support/dependencies.rb:299:in `load_dependency'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/activesupport-6.1.7.7/lib/active_support/dependencies.rb:332:in `require'
    from (pry):1:in `__pry__'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_instance.rb:290:in `eval'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_instance.rb:290:in `evaluate_ruby'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_instance.rb:659:in `handle_line'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_instance.rb:261:in `block (2 levels) in eval'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_instance.rb:260:in `catch'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_instance.rb:260:in `block in eval'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_instance.rb:259:in `catch'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_instance.rb:259:in `eval'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/repl.rb:77:in `block in repl'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/repl.rb:67:in `loop'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/repl.rb:67:in `repl'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/repl.rb:38:in `block in start'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/input_lock.rb:61:in `__with_ownership'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/input_lock.rb:78:in `with_ownership'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/repl.rb:38:in `start'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/repl.rb:15:in `start'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-byebug-3.10.1/lib/pry-byebug/pry_ext.rb:15:in `start_with_pry_byebug'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_class.rb:194:in `start'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/railties-6.1.7.7/lib/rails/commands/console/console_command.rb:70:in `start'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/railties-6.1.7.7/lib/rails/commands/console/console_command.rb:19:in `start'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/railties-6.1.7.7/lib/rails/commands/console/console_command.rb:102:in `perform'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/thor-1.3.0/lib/thor/command.rb:28:in `run'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/thor-1.3.0/lib/thor/invocation.rb:127:in `invoke_command'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/thor-1.3.0/lib/thor.rb:527:in `dispatch'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/railties-6.1.7.7/lib/rails/command/base.rb:69:in `perform'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/railties-6.1.7.7/lib/rails/command.rb:48:in `invoke'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/railties-6.1.7.7/lib/rails/commands.rb:18:in `<top (required)>'
    from <internal:/.rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
    from <internal:/.rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
    from bin/rails:4:in `<main>'
GLib-GObject-WARNING **: cannot retrieve class for invalid (unclassed) type 'GBytes'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/loader.rb:187:in `define_enum'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/loader.rb:218:in `load_enum_info'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/loader.rb:71:in `load_info'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/loader.rb:47:in `block (2 levels) in load'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/repository.rb:34:in `block (2 levels) in each'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/repository.rb:33:in `times'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/repository.rb:33:in `block in each'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/repository.rb:32:in `each'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/repository.rb:32:in `each'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/loader.rb:46:in `block in load'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/loader.rb:644:in `prepare_class'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/loader.rb:41:in `load'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/loader.rb:25:in `load'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/red-arrow-17.0.0/lib/arrow/loader.rb:24:in `load'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/red-arrow-17.0.0/lib/arrow.rb:29:in `<module:Arrow>'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/red-arrow-17.0.0/lib/arrow.rb:25:in `<top (required)>'
    from <internal:/.rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
    from <internal:/.rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/zeitwerk-2.6.12/lib/zeitwerk/kernel.rb:38:in `require'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/activesupport-6.1.7.7/lib/active_support/dependencies.rb:332:in `block in require'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/activesupport-6.1.7.7/lib/active_support/dependencies.rb:299:in `load_dependency'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/activesupport-6.1.7.7/lib/active_support/dependencies.rb:332:in `require'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/red-parquet-17.0.0/lib/parquet.rb:18:in `<top (required)>'
    from <internal:/.rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
    from <internal:/.rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/zeitwerk-2.6.12/lib/zeitwerk/kernel.rb:38:in `require'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/activesupport-6.1.7.7/lib/active_support/dependencies.rb:332:in `block in require'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/activesupport-6.1.7.7/lib/active_support/dependencies.rb:299:in `load_dependency'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/activesupport-6.1.7.7/lib/active_support/dependencies.rb:332:in `require'
    from (pry):1:in `__pry__'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_instance.rb:290:in `eval'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_instance.rb:290:in `evaluate_ruby'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_instance.rb:659:in `handle_line'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_instance.rb:261:in `block (2 levels) in eval'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_instance.rb:260:in `catch'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_instance.rb:260:in `block in eval'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_instance.rb:259:in `catch'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_instance.rb:259:in `eval'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/repl.rb:77:in `block in repl'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/repl.rb:67:in `loop'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/repl.rb:67:in `repl'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/repl.rb:38:in `block in start'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/input_lock.rb:61:in `__with_ownership'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/input_lock.rb:78:in `with_ownership'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/repl.rb:38:in `start'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/repl.rb:15:in `start'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-byebug-3.10.1/lib/pry-byebug/pry_ext.rb:15:in `start_with_pry_byebug'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/pry_class.rb:194:in `start'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/railties-6.1.7.7/lib/rails/commands/console/console_command.rb:70:in `start'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/railties-6.1.7.7/lib/rails/commands/console/console_command.rb:19:in `start'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/railties-6.1.7.7/lib/rails/commands/console/console_command.rb:102:in `perform'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/thor-1.3.0/lib/thor/command.rb:28:in `run'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/thor-1.3.0/lib/thor/invocation.rb:127:in `invoke_command'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/thor-1.3.0/lib/thor.rb:527:in `dispatch'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/railties-6.1.7.7/lib/rails/command/base.rb:69:in `perform'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/railties-6.1.7.7/lib/rails/command.rb:48:in `invoke'
    from /ProjectFolder/.bundle/ruby/3.2.0/gems/railties-6.1.7.7/lib/rails/commands.rb:18:in `<top (required)>'
    from <internal:/.rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
    from <internal:/.rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
    from bin/rails:4:in `<main>'
/ProjectFolder/.bundle/ruby/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/loader.rb:187: [BUG] Segmentation fault at 0x0000000000000010
ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-darwin22]

-- Crash Report log information --------------------------------------------
   See Crash Report log file in one of the following locations:
     * ~/Library/Logs/DiagnosticReports
     * /Library/Logs/DiagnosticReports
   for more details.
Don't forget to include the above Crash Report log file in bug reports.

-- Control frame information -----------------------------------------------

Component(s)

Ruby

bayornet commented 1 month ago

OS: macOS Sonoma Rails: 6.1 Ruby: 3.2

brew info apache-arrow
==> apache-arrow: stable 17.0.0 (bottled), HEAD
Columnar in-memory analytics layer designed to accelerate big data
https://arrow.apache.org/
Installed
/usr/local/Cellar/apache-arrow/17.0.0_2 (588 files, 122.5MB) *...

brew info apache-arrow-glib
==> apache-arrow-glib: stable 17.0.0 (bottled), HEAD
GLib bindings for Apache Arrow
https://arrow.apache.org/
Installed
/usr/local/Cellar/apache-arrow-glib/17.0.0 (202 files, 6.5MB) *...

bundle info red-arrow
  * red-arrow (17.0.0)
    Summary: Red Arrow is the Ruby bindings of Apache Arrow
    Homepage: https://arrow.apache.org/
    Path: /ProjectFolder/.bundle/ruby/3.2.0/gems/red-arrow-17.0.0
    Reverse Dependencies:
        red-parquet (17.0.0) depends on red-arrow (= 17.0.0)

bundle info red-parquet
  * red-parquet (17.0.0)
    Summary: Red Parquet is the Ruby bindings of Apache Parquet
    Homepage: https://arrow.apache.org/
    Path: /ProjectFolder/.bundle/ruby/3.2.0/gems/red-parquet-17.0.0
    Reverse Dependencies:
        parqueteur (1.11.0) depends on red-parquet (> 10.0)
kou commented 1 month ago

Could you also show brew info gobject-introspection? Could you also try require 'parquet'? (I think that it's also crashed.)

bayornet commented 1 month ago
brew info gobject-introspection
==> gobject-introspection: stable 1.80.1 (bottled)
Generate introspection data for GObject libraries
https://gi.readthedocs.io/en/latest/
Installed
/usr/local/Cellar/gobject-introspection/1.78.0 (194 files, 13.4MB)
  Poured from bottle on 2024-05-24 at 06:51:49
/usr/local/Cellar/gobject-introspection/1.80.1 (542 files, 5.8MB) *
  Poured from bottle using the formulae.brew.sh API on 2024-08-13 at 10:48:52
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/g/gobject-introspection.rb
License: GPL-2.0-or-later and LGPL-2.0-or-later and MIT
==> Dependencies
Build: bison ✘, cmake ✘, meson ✔, ninja ✔
Required: cairo ✔, glib ✔, pkg-config ✔, python@3.12 ✘
==> Analytics
install: 19,055 (30 days), 70,157 (90 days), 405,020 (365 days)
install-on-request: 11,163 (30 days), 43,286 (90 days), 267,796 (365 days)
build-error: 63 (30 days)

Yes, require 'parquet' causes a crash.

kou commented 1 month ago

Thanks. But sorry. I wanted to write require 'gio2' not require 'parquet'... Could you try require 'gio2' too?

kou commented 1 month ago

Could you also try require 'glib2' and require 'gobject-introspection'?

bayornet commented 1 month ago
pry(main)> require 'gio2'
=> true
pry(main)> require 'glib2'
=> true
pry(main)> require 'gobject-introspection'
=> true

require 'parquet' still causes a crash. Thanks for your quick responses.

kou commented 1 month ago

Oh, interesting.

Could you try ruby -v -e "require 'arrow'"?

bayornet commented 1 month ago

Same outcome, crash:

ruby -v -e "require 'arrow'"
ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-darwin22]
objc[20582]: Class GNotificationCenterDelegate is implemented in both /opt/local/lib/libgio-2.0.0.dylib (0x10c5f3690) and /usr/local/Cellar/glib/2.80.4/lib/libgio-2.0.0.dylib (0x10d2866b0). One of the two will be used. Which one is undefined.
GLib-GObject-WARNING **: cannot retrieve class for invalid (unclassed) type '__ruby_g2r_func__'
    from /Users/ProjectFolder/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/gobject-introspection-4.2.2/lib/gobject-introspection/loader.rb:252:in `load_object_info...

is that a clue in there?

kou commented 1 month ago

Do you have GLib (GIO) both in /opt/local/lib/ and /usr/local/?

(Do you have multiple Homebrews in /opt/local/ and /usr/local/?)

bayornet commented 1 month ago

/opt/local/lib

ls *gio*
libgio-2.0.0.dylib libgio-2.0.a       libgio-2.0.dylib

ls *glib*
libglib-2.0.0.dylib libglib-2.0.a       libglib-2.0.dylib

glib-2.0:
include

/usr/local/lib

ls *gio*
libaws-cpp-sdk-waf-regional.dylib

gio:
modules

ls *glib*
libarrow-dataset-glib.1700.dylib    libarrow-flight-sql-glib.1700.dylib libgandiva-glib.1700.dylib          libpoppler-glib.8.26.0.dylib
libarrow-dataset-glib.dylib         libarrow-flight-sql-glib.dylib      libgandiva-glib.dylib               libpoppler-glib.8.dylib
libarrow-flight-glib.1700.dylib     libarrow-glib.1700.dylib            libparquet-glib.1700.dylib          libpoppler-glib.a
libarrow-flight-glib.dylib          libarrow-glib.dylib                 libparquet-glib.dylib               libpoppler-glib.dylib
kou commented 1 month ago

Is it an expected situation? If it's not expected, could you remove old Homebrew (/usr/local/ Homebrew?)?