Project

General

Profile

Bug #9874

Segmentation fault when loading rails console or rails server

Added by ivanbarrios (Ivan Barrios) about 5 years ago. Updated about 5 years ago.

Status:
Third Party's Issue
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
ruby 2.1.2p112 (2014-05-28 revision 46192) [x86_64-darwin13.0]
[ruby-core:62826]

Description

OSX 10.9.3. This segmentation emerged only after upgrading from OSX 10.9.2 to 10.9.3.
rails v4.0.3

Attached call stack and Gemfile/Gemfile.lock if those help to reproduce.

Also tried gem pristine --all, to force recompile of all gems with no success.

Seg fault is NOT encountered on the same system when running ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-darwin13.0]


Files

ruby-2.1.2p112_stack_trace.txt (65 KB) ruby-2.1.2p112_stack_trace.txt ivanbarrios (Ivan Barrios), 05/28/2014 05:39 PM
Gemfile (2.92 KB) Gemfile ivanbarrios (Ivan Barrios), 05/28/2014 05:39 PM
Gemfile.lock (18.4 KB) Gemfile.lock ivanbarrios (Ivan Barrios), 05/28/2014 05:39 PM
ruby_2014-05-27-091149_ivanbarrios.crash (24.4 KB) ruby_2014-05-27-091149_ivanbarrios.crash ivanbarrios (Ivan Barrios), 06/03/2014 05:55 PM

History

Updated by nobu (Nobuyoshi Nakada) about 5 years ago

  • Status changed from Open to Feedback

Although it seems a therubyracer's issue, could you show the following file?

-- 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

for more details.

Updated by ivanbarrios (Ivan Barrios) about 5 years ago

Attaching .crash file from ~/Library/Logs/DiagnosticReports. (this is the only directory that contained a related .crash file...)

Updated by nobu (Nobuyoshi Nakada) about 5 years ago

  • Status changed from Feedback to Third Party's Issue

Your oj.bundle extension library is linked against libruby.2.0.0.

4   libruby.2.1.0.dylib             0x000000010b4128c9 sigsegv + 153 (signal.c:638)
5   libsystem_platform.dylib        0x00007fff8de515aa _sigtramp + 26
6   ???                             000000000000000000 0 + 0
7   libruby.2.0.0.dylib             0x000000010d108810 st_init_strcasetable + 16 (st.c:247)
8   libruby.2.0.0.dylib             0x000000010d00824e rb_enc_init + 110 (encoding.c:537)
9   libruby.2.0.0.dylib             0x000000010d0092e5 rb_usascii_encoding + 21 (encoding.c:1186)
10  libruby.2.0.0.dylib             0x000000010d0aa26a rb_intern2 + 26 (parse.y:10334)
11  libruby.2.0.0.dylib             0x000000010d027c3f rb_define_module + 15 (class.c:622)
12  oj.bundle                       0x000000010cfd7f21 Init_oj + 33 (oj.c:1696)

Also available in: Atom PDF