Bug #18496
closedSegmentation fault at 0x0000000005107620
Description
Getting that error Segmentation fault at 0x0000000005107620 when I try to run cucumber scenarios (cucumber -t @TestCase) on macbook m1 pro
ruby -e 'require "rbconfig"; pp RbConfig::CONFIG' | grep "host"
"host_os"=>"darwin21.1.0",
"host_vendor"=>"apple",
"host_cpu"=>"arm",
"host"=>"arm-apple-darwin21.1.0",
"host_alias"=>"",
Using cucumber-messages 17.1.1
Using cucumber-gherkin 22.0.0
Using cucumber-tag-expressions 4.1.0
Using cucumber-core 10.1.1
Using ffi 1.15.5
Using sys-uname 1.2.2
Using cucumber-create-meta 6.0.4
Using cucumber-cucumber-expressions 14.0.0
Using cucumber-html-formatter 17.0.0
Using cucumber-wire 6.2.1
Using cucumber 7.1.0
Using appium_lib_core 5.0.3
Attached the crash report
Files
Updated by alanwu (Alan Wu) about 2 years ago
- Status changed from Open to Feedback
Sorry about the crash. Since there are FFI usages in your application, the issue might be in one of the gems, rather than in Ruby itself. Unfortunately since the stack trace is incomplete, it's hard to pin down the party responsible, so I don't think the report is very actionable. If you encounter similar crashes, please feel free to update the ticket with more information.
Updated by mame (Yusuke Endoh) about 2 years ago
- Related to Bug #18505: Crash reported while trying to run Cucumber via ruby on macbook air M1 processor added
Updated by mame (Yusuke Endoh) about 2 years ago
- Related to Bug #18512: MacOS 12.1 Monterey Bug added
Updated by mame (Yusuke Endoh) about 2 years ago
- Status changed from Feedback to Third Party's Issue
I believe this is the same case as #18555. We confirmed that that issue was fixed by gem install ffi -- --enable-libffi-alloc
. See #18555 and https://github.com/ffi/ffi/issues/800#issuecomment-1008308614