Issue #14667 has been updated by nobu (Nobuyoshi Nakada).

File bug-14667.log added
Description updated
Status changed from Open to Feedback

```
-- C level backtrace information -------------------------------------------
0   ruby                                0x00000001022a610b rb_vm_bugreport + 379
1   ruby                                0x00000001021494ef rb_bug_context + 447
2   ruby                                0x000000010221ae54 sigsegv + 68
3   libsystem_platform.dylib            0x00007fff5a4d5f5a _sigtramp + 26
4   ruby                                0x0000000102246a53 rb_id_table_lookup + 115
5   ???                                 0x000070000240f9e0 0x0 + 123145340123616
```

The stack frame seems broken, maybe the last return address has been cleared partially?
It may be related to ffi.
How can I reproduce it, and does it occur with newer versions?

----------------------------------------
Bug #14667: Segmentation fault in Ruby during iOS automation
https://bugs.ruby-lang.org/issues/14667#change-71407

* Author: sankalp89 (Sankalp Anand)
* Status: Feedback
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: 2.3.1 p112
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN
----------------------------------------
Hello,

I'm using Calabash for iOS automation. My tests are crashing the ruby interpreter. Could you please help in finding out what the issue is?

Best,
Sankalp



~~~
[u"Running with options: '14e26a69f942dd7867bc33c547b8924684c916d0 com.cisco.squared.sqbudev /Users/testmaskin/Wx2/wx2-ios-client/build/WebExSquaredIntegrationTests.ipa'\n"
 ** \x1b[1;95m14e26a69f942dd7867bc33c547b8924684c916d0: Requesting uninstallation of\x1b[0m: \x1b[1;34mcom.apple.test.DeviceAgent-Runner\x1b[0m 
 \x1b[1;34m[ ***** ideviceinstaller -u 14e26a69f942dd7867bc33c547b8924684c916d0 -U com.apple.test.DeviceAgent-Runner -d]\x1b[0m 
u"\x1b[1;47mUninstalling 'com.apple.test.DeviceAgent-Runner'\x1b[0m\n"
 \x1b[1;47m- RemovingApplication (50%)\x1b[0m 
 \x1b[1;47m- Complete\x1b[0m 
 ** \x1b[1;95m14e26a69f942dd7867bc33c547b8924684c916d0: Requesting uninstallation of\x1b[0m: \x1b[1;34mcom.cisco.squared.sqbudev\x1b[0m 
 \x1b[1;34m[ ***** ideviceinstaller -u 14e26a69f942dd7867bc33c547b8924684c916d0 -U com.cisco.squared.sqbudev -d]\x1b[0m 
u"\x1b[1;47mUninstalling 'com.cisco.squared.sqbudev'\x1b[0m\n"
 \x1b[1;47m- RemovingApplication (50%)\x1b[0m 
 \x1b[1;47m- GeneratingApplicationMap (90%)\x1b[0m 
 \x1b[1;47m- Complete\x1b[0m 
 ** \x1b[1;95minstalling app from\x1b[0m: \x1b[1;34mPublicStaging/WebExSquaredIntegrationTests.ipa\x1b[0m 
 ** \x1b[1;95mUploading /Users/testmaskin/Wx2/wx2-ios-client/build/WebExSquaredIntegrationTests.ipa to\x1b[0m: \x1b[1;34mPublicStaging/WebExSquaredIntegrationTests.ipa\x1b[0m 
 \x1b[1;34m[ ***** xcrun xcodebuild -version]\x1b[0m 
(snip)
  ]
~~~



---Files--------------------------------
bug-14667.log (12.8 KB)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>