Project

General

Profile

Actions

Bug #18496

closed

Segmentation fault at 0x0000000005107620

Added by akors (Oleksandr Korshun) about 2 years ago. Updated about 2 years ago.

Status:
Third Party's Issue
Assignee:
-
Target version:
-
ruby -v:
ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [-darwin21]
[ruby-core:107176]

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

ruby-2022-01-18-143806.ips (8.58 KB) ruby-2022-01-18-143806.ips akors (Oleksandr Korshun), 01/18/2022 01:48 PM

Related issues 2 (0 open2 closed)

Related to Ruby master - Bug #18505: Crash reported while trying to run Cucumber via ruby on macbook air M1 processorThird Party's IssueActions
Related to Ruby master - Bug #18512: MacOS 12.1 Monterey Bug Third Party's IssueActions

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.

Actions #2

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
Actions #3

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

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0