Project

General

Profile

Actions

Bug #7264

closed

Error running miniruby: "vm_base_ptr: unreachable" on Mac OS X 10.7.4

Added by lambda (Brian Campbell) over 11 years ago. Updated over 11 years ago.

Status:
Third Party's Issue
Target version:
ruby -v:
2.0.0-preview1
Backport:
[ruby-core:48736]

Description

=begin
I tried installing ruby-2.0.0-preview1 using rbenv install on Mac OS X 10.7.4. It crashed in miniruby while generating encdb.h

CC = gcc-4.2
LD = ld
LDSHARED = gcc-4.2 -dynamic -bundle
CFLAGS = -O3 -fno-fast-math -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   -pipe 
XCFLAGS = -include ruby/config.h -include ruby/missing.h -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT -fPIE
CPPFLAGS = -I'/Users/lambda/.rbenv/versions/2.0.0-preview1/include'  -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -I. -I.ext/include/x86_64-darwin11.4.0 -I./include -I.
DLDFLAGS = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -Wl,-u,_objc_msgSend  
SOLIBS = 

...snip...

 linking miniruby
 generating encdb.h
 bp_check: 8, bp: 6
 <internal:prelude>:26: [BUG] vm_base_ptr: unreachable
 ruby 2.0.0dev (2012-11-01 trunk 37411) [x86_64-darwin11.4.0]
 
 -- Control frame information -----------------------------------------------
 c:0003 p:0031 s:0008 e:000007 CLASS  <internal:prelude>:26
 c:0002 p:0012 s:0004 e:000003 TOP    <internal:prelude>:17 [FINISH]
 c:0001 p:0000 s:0002 e:000438 TOP    [FINISH]
 
 <internal:prelude>:17:in `<compiled>'
 <internal:prelude>:26:in `<class:Thread>'
 
 bp_check: 8, bp: 6
 e information -------------------------------------------
 
 <internal:prelude>:26:  file under ~/Library/Logs/CrashReporter,
 /Library/Logs/CrashR[BUG] r, or /Library/Logs/DiagnosticReports, for
 the more detail of.
 
 m_base_ptr: unreachable-- Other runtime information ------------------------------------ Control frame information -----------------------------------------------
 * Loaded script: ./miniruby
 
 :0003 p:0031 d features:
 
 s:0008 numerator.so
 e[NOTE]
 YoCLASS have encountered a bug in the Ruby interpreter or extension libraries.
 Bug reports are welcome.
 For details: http://www.ruby-lang.org/bugreport.html
 
 <internal:prelude>:26
 c:0002 p:0012 s:0004 e:000003 TOP    <internal:prelude>:17 [FINISH]
 c:0001 p:0000 s:0002 e:002208 TOP    [FINISH]
 
 <internal:prelude>:17:in `<compiled>'
 <internal:prelude>:26:in `<class:Thread>'
 
 -- C level backtrace information -------------------------------------------
 
 See Crash Report log file under ~/Library/Logs/CrashReporter,
 /Library/Logs/CrashReporter, or /Library/Logs/DiagnosticReports, for
 the more detail of.
 
 -- 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

=end


Files

ruby-build.20121102002907.67411.log (326 KB) ruby-build.20121102002907.67411.log lambda (Brian Campbell), 11/02/2012 02:11 PM
miniruby_2012-11-02-004312_erlang.crash (8.27 KB) miniruby_2012-11-02-004312_erlang.crash lambda (Brian Campbell), 11/02/2012 02:11 PM
miniruby_2012-11-02-004312-1_erlang.crash (8.27 KB) miniruby_2012-11-02-004312-1_erlang.crash lambda (Brian Campbell), 11/02/2012 02:11 PM
miniruby_2012-11-02-150443_erlang.crash (8.28 KB) miniruby_2012-11-02-150443_erlang.crash lambda (Brian Campbell), 11/03/2012 04:10 AM
ruby-log (20 KB) ruby-log lambda (Brian Campbell), 11/03/2012 04:10 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0