Bug #9056

Segmentation fault after upgrading to OSX Maverick and runnning berks upload

Added by Moshe Bergman 6 months ago. Updated 6 months ago.

[ruby-core:58053]
Status:Third Party's Issue
Priority:Normal
Assignee:-
Category:-
Target version:2.1.0
ruby -v:2.0.0-p247 Backport:1.9.3: UNKNOWN, 2.0.0: UNKNOWN

Description

See full log:
http://pastebin.com/AU316Bx3

Let me know if you need more information.

The bug is with ruby 2 p247.

I tried reinstalling ruby with rvm after upgrading, but I get the same error.

History

#1 Updated by Moshe Bergman 6 months ago

Sorry, the full ruby -v:
ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin13.0.0]

#2 Updated by Nobuyoshi Nakada 6 months ago

  • Status changed from Open to Third Party's Issue

Seems issue of ffi.

#3 Updated by Moshe Bergman 6 months ago

Thanks! turns out I had to install xcode. Perhaps the old version of xcode was interfering with the command line tools.

Before installing xcode my gcc version was:
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

After installing xcode it became:
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin13.0.0
Thread model: posix

Then I recompiled ruby and everything worked. Thought to post it here in case anyone runs to this issue too.

Also available in: Atom PDF