From: "chrisdb (Christopher de Bruin)" Date: 2013-03-09T01:35:10+09:00 Subject: [ruby-core:53237] [ruby-trunk - Bug #8017] Got segmentation fault on attempt to install ruby 2.0.0-p0 on Mac 10.6.8 via RVM Issue #8017 has been updated by chrisdb (Christopher de Bruin). nobu (Nobuyoshi Nakada) wrote: > Immature ancient version. I have the same issue with a newer version: clang -v Apple clang version 2.1 (tags/Apple/clang-163.7.1) (based on LLVM 3.0svn) Target: x86_64-apple-darwin11.4.2 Thread model: posix so, what is the minimum required version? ---------------------------------------- Bug #8017: Got segmentation fault on attempt to install ruby 2.0.0-p0 on Mac 10.6.8 via RVM https://bugs.ruby-lang.org/issues/8017#change-37398 Author: adantel (Alex Filatau) Status: Rejected Priority: Normal Assignee: Category: Target version: ruby -v: 2.0.0-p0 Mac OS 10.6.8 rvm rvm 1.18.15 (master) $ sudo rvm install 2.0.0 Password: Searching for binary rubies, this might take some time. No binary rubies available for: osx/10.6/i386/ruby-2.0.0-p0. Continuing with compilation. Please read 'rvm mount' to get more information on binary rubies. Installing requirements for osx/10.6/i386, might require sudo password Skipping `brew update` make sure your formulas are up to date. Doing /usr/local/etc/openssl cert.pem => 77ee3751.0 Installing Ruby from source to: /Users/afilatau/.rvm/rubies/ruby-2.0.0-p0, this may take a while depending on your cpu(s)... ruby-2.0.0-p0 - #downloading ruby-2.0.0-p0, this may take a while depending on your connection... ruby-2.0.0-p0 - #extracted to /Users/afilatau/.rvm/src/ruby-2.0.0-p0 (already extracted) ruby-2.0.0-p0 - #configuring..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... ruby-2.0.0-p0 - #compiling............................................................................. Error running 'make -j2', please read /Users/afilatau/.rvm/log/ruby-2.0.0-p0/make.log There has been an error while running make. Halting the installation. Here is the content of make.log: [2013-03-04 21:34:50] make CC = clang LD = ld LDSHARED = clang -dynamiclib CFLAGS = -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -fno-common -pipe XCFLAGS = -include ruby/config.h -include ruby/missing.h -D_FORTIFY_SOURCE=2 -fstack-protector -fvisibility=hidden -DRUBY_EXPORT CPPFLAGS = -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -I/usr/local/opt/libyaml/include -I/usr/local/opt/readline/include -I/usr/local/opt/libxml2/include -I/usr/local/opt/libxslt/include -I/usr/local/opt/libksba/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I. -I.ext/include/x86_64-darwin10.8.0 -I./include -I. DLDFLAGS = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -L/usr/local/opt/libyaml/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/libxml2/lib -L/usr/local/opt/libxslt/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/sqlite/lib -install_name /Users/afilatau/.rvm/rubies/ruby-2.0.0-p0/lib/libruby.2.0.0.dylib -current_version 2.0.0 -compatibility_version 2.0.0 -fstack-protector -Wl,-u,_objc_msgSend -fstack-protector -Wl,-u,_objc_msgSend SOLIBS = linking miniruby generating encdb.h :1: [BUG] Segmentation fault ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-darwin10.8.0] -- Crash Report log information -------------------------------------------- See Crash Report log file under the one of following: * ~/Library/Logs/CrashReporter * /Library/Logs/CrashReporter * ~/Library/Logs/DiagnosticReports * /Library/Logs/DiagnosticReports the more detail of. -- Control frame information ----------------------------------------------- c:0002 p:0002 s:0004 e:000003 TOP :1 [FINISH] c:0001 p:0000 s:0002 E:0022b8 TOP [FINISH] :1:in `' -- C level backtrace information ------------------------------------------- -- Other runtime information ----------------------------------------------- * Loaded script: ./miniruby * Loaded features: 0 enumerator.so [NOTE] You may have encountered a bug in the Ruby interpreter or extension libraries. Bug reports are welcome. For details: http://www.ruby-lang.org/bugreport.html :1: [BUG] Segmentation fault ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-darwin10.8.0] -- Crash Report log information -------------------------------------------- See Crash Report log file under the one of following: * ~/Library/Logs/CrashReporter * /Library/Logs/CrashReporter * ~/Library/Logs/DiagnosticReports * /Library/Logs/DiagnosticReports the more detail of. -- Control frame information ----------------------------------------------- c:0002 p:0002 s:0004 e:000003 TOP :1 [FINISH] c:0001 p:0000 s:0002 E:0022b8 TOP [FINISH] :1:in `' -- C level backtrace information ------------------------------------------- -- Other runtime information ----------------------------------------------- * Loaded script: ./miniruby * Loaded features: 0 enumerator.so [NOTE] You may have encountered a bug in the Ruby interpreter or extension libraries. Bug reports are welcome. For details: http://www.ruby-lang.org/bugreport.html make: *** [encdb.h] Abort trap make: *** Waiting for unfinished jobs.... make: *** [.rbconfig.time] Abort trap Please find attached crash file from /Library/Logs/CrashReporter -- http://bugs.ruby-lang.org/