From: jared@... Date: 2014-07-12T23:13:37+00:00 Subject: [ruby-core:63676] [ruby-trunk - Bug #10008] conftest crashed: installing mri 2.1.2: EXC_BAD_ACCESS (SIGABRT) Issue #10008 has been updated by Jared Beck. > Which conftest? I think conftest is defined in the `configure` script. For me, it's around line 20376, which looks like: cat confdefs.h - <<_ACEOF >conftest.$ac_ext Furthermore, line 20389 defines a `sigsegv` function. void sigsegv(int signum, siginfo_t *info, void *ctx){ This `sigsegv` function can be seen on line 3 of the "Dispatch queue" from the crash dump: Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x00007fff8b3f7866 __pthread_kill + 10 1 libsystem_pthread.dylib 0x00007fff8f8df35c pthread_kill + 92 2 libsystem_c.dylib 0x00007fff9000ab1a abort + 125 3 conftest 0x000000010c2dee55 sigsegv + 37 4 libsystem_platform.dylib 0x00007fff8cfdd5aa _sigtramp + 26 5 ??? 000000000000000000 0 + 0 6 libdyld.dylib 0x00007fff8efa35fd start + 1 Finally, it may be relevant that my `./configure` output reports "broken backtrace": checking for broken backtrace... yes I hope that helps! ---------------------------------------- Bug #10008: conftest crashed: installing mri 2.1.2: EXC_BAD_ACCESS (SIGABRT) https://bugs.ruby-lang.org/issues/10008#change-47730 * Author: Jared Beck * Status: Feedback * Priority: Low * Assignee: Nobuyoshi Nakada * Category: build * Target version: * ruby -v: ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-darwin13.0] * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN ---------------------------------------- crash dump: https://gist.github.com/jaredbeck/be73c376b860d8d6eed9 ```bash cd ~/.rbenv git log --oneline | head -n1 # 13a474c Get rid of explicit exit in fish branch of `rbenv-init` cd plugins/ruby-build/ git log --oneline | head -n1 # c819790 ruby-build 20140702 ``` but .. the install finished! ```bash rbenv global 2.1.2 ruby --version # ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-darwin13.0] echo "puts '<3 ruby'" | ruby # <3 ruby ``` Using xcode 5.1.1 -- https://bugs.ruby-lang.org/