Skip to content

Instantly share code, notes, and snippets.

@rdpoor
Last active December 15, 2015 10:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rdpoor/5249186 to your computer and use it in GitHub Desktop.
Save rdpoor/5249186 to your computer and use it in GitHub Desktop.
compilation failure of ruby-2.0.0-p0 under Mac OS X 10.8.3
Summary: a "standard build" of ruby-2.0.0-p0 under Mac OS X 10.8.3,
fails with an abort trap while linking miniruby
Compilation environment:
MacBook Pro
OS X 10.8.3
Xcode version 4.6.1 with command line tools
gcc version 4.2.1 (Based on Apple Inc. build 5658)
Commands:
$ ./configure --prefix=${INSTALL_DIR} --enable-share --disable-install-doc --with-opt-dir=${INSTALL_DIR}
$ make
Full details given in the comments below.
@rdpoor
Copy link
Author

rdpoor commented Mar 26, 2013

output of ./config command

./configure --prefix=${INSTALL_DIR} --enable-shared --disable-install-doc --with-opt-dir=${INSTALL_DIR}
checking build system type... x86_64-apple-darwin12.3.0
checking host system type... x86_64-apple-darwin12.3.0
checking target system type... x86_64-apple-darwin12.3.0
checking for gcc-4.2... gcc-4.2
checking for gcc... (cached) gcc-4.2
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc-4.2 accepts -g... yes
checking for gcc-4.2 option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc-4.2 -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking whether gcc-4.2 needs -traditional... no
checking for ld... ld
checking whether the linker is GNU ld... no
checking whether gcc-4.2 -E accepts -o... yes
checking for real target cpu... x86_64
checking for ranlib... ranlib
checking for ar... ar
checking for as... as
checking for objdump... no
checking for gobjdump... no
checking for objcopy... no
checking for gobjcopy... no
checking for nm... nm
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for a thread-safe mkdir -p...  -d
use 'mkdir -p' as MKDIR_P
checking for dtrace... dtrace
checking for dot... no
checking for doxygen... no
checking for pkg-config... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for cd using physical directory... cd -P
checking whether -Wno-unused-parameter is accepted as CFLAGS... yes
checking whether -Wno-parentheses is accepted as CFLAGS... yes
checking whether -Wno-long-long is accepted as CFLAGS... yes
checking whether -Wno-missing-field-initializers is accepted as CFLAGS... yes
checking whether -Wunused-variable is accepted as CFLAGS... yes
checking whether -Werror=pointer-arith is accepted as CFLAGS... yes
checking whether -Werror=write-strings is accepted as CFLAGS... yes
checking whether -Werror=declaration-after-statement is accepted as CFLAGS... yes
checking whether -Werror=shorten-64-to-32 is accepted as CFLAGS... yes
checking whether -Werror=implicit-function-declaration is accepted as CFLAGS... yes
checking whether -Wall -Wextra is accepted as CFLAGS... yes
checking whether -ggdb3 is accepted as CFLAGS... yes
checking whether -D_FORTIFY_SOURCE=2 is accepted as CFLAGS... yes
checking whether -fstack-protector is accepted as CFLAGS... yes
checking whether -fstack-protector is accepted as LDFLAGS... yes
checking whether -fno-strict-overflow is accepted as CFLAGS... yes
checking whether -fvisibility=hidden is accepted as CFLAGS... yes
checking whether -fno-fast-math is accepted as CFLAGS... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether byte ordering is bigendian... no
checking for an ANSI C-conforming const... yes
checking whether char is unsigned... no
checking for inline... inline
checking for working volatile... yes
checking for long long... yes
checking for off_t... yes
checking char bit... 8
checking size of int... 4
checking size of short... 2
checking size of long... 8
checking size of long long... 8
checking size of __int64... 0
checking size of off_t... 8
checking size of void*... 8
checking size of float... 4
checking size of double... 8
checking size of time_t... 8
checking for printf prefix for long long... ll
checking for pid_t... yes
checking for convertible type of pid_t... INT
checking for uid_t... yes
checking for convertible type of uid_t... UINT
checking for gid_t... yes
checking for convertible type of gid_t... UINT
checking for time_t... yes
checking for convertible type of time_t... LONG
checking for dev_t... yes
checking for convertible type of dev_t... INT
checking for mode_t... yes
checking for convertible type of mode_t... UINT
checking for rlim_t... yes
checking for convertible type of rlim_t... ULL
checking for prototypes... yes
checking token paste string... ansi
checking stringization... #expr
checking string literal concatenation... yes
checking for variable length prototypes and stdarg.h... yes
checking for variable length macro... yes
checking for noreturn function attribute... __attribute__ ((noreturn)) x
checking for deprecated function attribute... __attribute__ ((deprecated)) x
checking for noinline function attribute... __attribute__ ((noinline)) x
checking for stdcall function attribute... x
checking for cdecl function attribute... x
checking for fastcall function attribute... x
checking for function alias... no
checking for atomic builtins... yes
checking for __builtin_unreachable... no
checking for exported function attribute... __attribute__ ((visibility("default")))
checking whether sys_nerr is declared... yes
checking whether Mac OS X 10.5 or later... yes
checking for broken crypt with 8bit chars... no
checking for codesign... codesign
checking for crt_externs.h... yes
checking for crypt in -lcrypt... (cached) no
checking for dlopen in -ldl... yes
checking for shl_load in -ldld... no
checking for socketpair in -lsocket... no
checking for clock_gettime in -lrt... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/syscall.h usability... yes
checking sys/syscall.h presence... yes
checking for sys/syscall.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/fcntl.h usability... yes
checking sys/fcntl.h presence... yes
checking for sys/fcntl.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking syscall.h usability... no
checking syscall.h presence... no
checking for syscall.h... no
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking a.out.h usability... no
checking a.out.h presence... no
checking for a.out.h... no
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking direct.h usability... no
checking direct.h presence... no
checking for direct.h... no
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/mkdev.h usability... no
checking sys/mkdev.h presence... no
checking for sys/mkdev.h... no
checking sys/utime.h usability... no
checking sys/utime.h presence... no
checking for sys/utime.h... no
checking xti.h usability... no
checking xti.h presence... no
checking for xti.h... no
checking netinet/in_systm.h usability... yes
checking netinet/in_systm.h presence... yes
checking for netinet/in_systm.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking for ucontext.h... (cached) no
checking intrinsics.h usability... no
checking intrinsics.h presence... no
checking for intrinsics.h... no
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking sys/sendfile.h usability... no
checking sys/sendfile.h presence... no
checking for sys/sendfile.h... no
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for net/socket.h... (cached) no
checking for sys/socket.h... (cached) yes
checking process.h usability... no
checking process.h presence... no
checking for process.h... no
checking sys/prctl.h usability... no
checking sys/prctl.h presence... no
checking for sys/prctl.h... no
checking for size_t... yes
checking size of size_t... 8
checking size of ptrdiff_t... 8
checking for printf prefix for size_t... z
checking for printf prefix for ptrdiff_t... t
checking for struct stat.st_blksize... yes
checking for struct stat.st_blocks... yes
checking for struct stat.st_rdev... yes
checking size of struct stat.st_size... SIZEOF_LONG
checking size of struct stat.st_blocks... SIZEOF_LONG
checking for struct stat.st_atim... no
checking for struct stat.st_atimespec... yes
checking for struct stat.st_atimensec... no
checking for struct stat.st_mtim... no
checking for struct stat.st_mtimespec... yes
checking for struct stat.st_mtimensec... no
checking for struct stat.st_ctim... no
checking for struct stat.st_ctimespec... yes
checking for struct stat.st_ctimensec... no
checking for struct timespec... yes
checking for struct timezone... yes
checking for clockid_t... no
checking for fd_mask... yes
checking for int8_t... yes
checking size of int8_t... 1
checking for uint8_t... yes
checking size of uint8_t... 1
checking for int16_t... yes
checking size of int16_t... 2
checking for uint16_t... yes
checking size of uint16_t... 2
checking for int32_t... yes
checking size of int32_t... 4
checking for uint32_t... yes
checking size of uint32_t... 4
checking for int64_t... yes
checking size of int64_t... 8
checking for uint64_t... yes
checking size of uint64_t... 8
checking for int128_t... no
checking for uint128_t... no
checking for intptr_t... yes
checking size of intptr_t... 8
checking for uintptr_t... yes
checking size of uintptr_t... 8
checking for ssize_t... yes
checking size of ssize_t... 8
checking for stack end address... no
checking for uid_t in sys/types.h... (cached) yes
checking type of array argument to getgroups... (cached) gid_t
checking return type of signal handlers... void
checking for working alloca.h... yes
checking for alloca... yes
checking for dynamic size alloca... ok
checking for working memcmp... yes
checking for broken erfc of glibc-2.3.6 on IA64... no
checking for dup2... yes
checking for memmove... yes
checking for strerror... yes
checking for strchr... yes
checking for strstr... yes
checking for crypt... yes
checking for flock... yes
checking for isnan... yes
checking for finite... yes
checking for isinf... yes
checking for hypot... yes
checking for acosh... yes
checking for erf... yes
checking for tgamma... yes
checking for lgamma_r... yes
checking for cbrt... yes
checking for strlcpy... yes
checking for strlcat... yes
checking for ffs... yes
checking for setproctitle... no
checking for signbit... yes
checking for fmod... yes
checking for killpg... yes
checking for wait4... yes
checking for waitpid... yes
checking for fork... yes
checking for spawnv... no
checking for syscall... yes
checking for __syscall... yes
checking for chroot... yes
checking for getcwd... yes
checking for eaccess... no
checking for truncate... yes
checking for ftruncate... yes
checking for ftello... yes
checking for chsize... no
checking for times... yes
checking for utimes... yes
checking for utimensat... no
checking for fcntl... yes
checking for lockf... yes
checking for lstat... yes
checking for truncate64... no
checking for ftruncate64... no
checking for ftello64... no
checking for fseeko... yes
checking for fseeko64... no
checking for link... yes
checking for symlink... yes
checking for readlink... yes
checking for readdir_r... yes
checking for fsync... yes
checking for fdatasync... (cached) no
checking for fchown... yes
checking for posix_fadvise... no
checking for setitimer... yes
checking for setruid... yes
checking for seteuid... yes
checking for setreuid... yes
checking for setresuid... no
checking for socketpair... yes
checking for setrgid... yes
checking for setegid... yes
checking for setregid... yes
checking for setresgid... no
checking for issetugid... yes
checking for pause... yes
checking for lchown... yes
checking for lchmod... yes
checking for getpgrp... yes
checking for setpgrp... yes
checking for getpgid... yes
checking for setpgid... yes
checking for initgroups... yes
checking for getgroups... yes
checking for setgroups... yes
checking for getpriority... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking for sysconf... yes
checking for close... yes
checking for getpwnam_r... yes
checking for getgrnam_r... yes
checking for dlopen... yes
checking for sigprocmask... yes
checking for sigaction... yes
checking for sigsetjmp... yes
checking for _setjmp... yes
checking for _longjmp... yes
checking for getsid... yes
checking for setsid... yes
checking for telldir... yes
checking for seekdir... yes
checking for fchmod... yes
checking for cosh... yes
checking for sinh... yes
checking for tanh... yes
checking for log2... yes
checking for round... yes
checking for llabs... yes
checking for setuid... yes
checking for setgid... yes
checking for daemon... (cached) no
checking for select_large_fdset... no
checking for setenv... yes
checking for unsetenv... yes
checking for mktime... yes
checking for timegm... yes
checking for gmtime_r... yes
checking for clock_gettime... no
checking for gettimeofday... yes
checking for poll... yes
checking for ppoll... no
checking for pread... yes
checking for sendfile... yes
checking for shutdown... yes
checking for sigaltstack... yes
checking for dl_iterate_phdr... no
checking for dup... yes
checking for dup3... no
checking for pipe2... no
checking for posix_memalign... yes
checking for memalign... no
checking for ioctl... yes
checking for unsetenv returns a value... yes
checking for __builtin_setjmp... no
checking for setjmp type... _setjmp
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for struct tm.tm_gmtoff... yes
checking for external int daylight... yes
checking for external timezone... long
checking for external altzone... no
checking for timezone... yes
checking whether timezone requires zero arguments... yes
checking for negative time_t for gmtime(3)... yes
checking for localtime(3) overflow correctly... yes
checking whether right shift preserve sign bit... yes
checking read count field in FILE structures... _r
checking read buffer ptr field in FILE structures... _p
checking size of struct stat.st_ino... SIZEOF_LONG
checking whether struct dirent.d_name is too small... no
checking whether _SC_CLK_TCK is supported... yes
checking stack growing direction on x86_64... -1
checking for pthread_kill in -lthr... no
checking for pthread_kill in -lpthread... yes
checking for pthread_np.h... no
checking for sched_yield... yes
checking for pthread_attr_setinheritsched... yes
checking for pthread_getattr_np... no
checking for pthread_attr_get_np... no
checking for pthread_attr_getstack... yes
checking for pthread_get_stackaddr_np... yes
checking for pthread_get_stacksize_np... yes
checking for thr_stksegment... no
checking for pthread_stackseg_np... no
checking for pthread_getthrds_np... no
checking for pthread_cond_init... yes
checking for pthread_condattr_setclock... no
checking for pthread_condattr_init... yes
checking for pthread_sigmask... yes
checking for pthread_attr_init... yes
checking if fork works with pthread... yes
checking whether ELF binaries are produced... no
checking whether OS depend dynamic link works... yes
++ IFS=:
++ tr '\012' ' '
++ for dir in '$withval'
++ echo x ' -L%s'
++ sed 's/^x *//;s:%1\$-s:/Users/r/Desktop/Beryl/usr/lib:g;s:%s:/Users/r/Desktop/Beryl/usr/lib:g'
+ val='-L/Users/r/Desktop/Beryl/usr/lib '
+ set +x
checking for backtrace... yes
checking valgrind/memcheck.h usability... no
checking valgrind/memcheck.h presence... no
checking for valgrind/memcheck.h... no
checking for strip... strip
checking whether -Wl,--no-undefined is accepted as LDFLAGS... no
checking whether dtrace USDT is available... yes
checking whether dtrace USDT is available... (cached) yes
checking whether dtrace needs post processing... no
checking for prefix of external symbols... _
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking if make is GNU make... yes
checking for memmem... yes
checking for broken memmem... yes
checking for nroff... /usr/bin/nroff
.ext/include/x86_64-darwin12.3.0/ruby/config.h unchanged
verconf.h unchanged
ruby library version = 2.0.0
configure: creating ./config.status
config.status: creating Makefile
config.status: creating ruby-2.0.pc
$

@rdpoor
Copy link
Author

rdpoor commented Mar 26, 2013

output of make command

$ make
  CC = gcc-4.2
    LD = ld
    LDSHARED = gcc-4.2 -dynamiclib
    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   -fno-common -pipe 
    XCFLAGS = -include ruby/config.h -include ruby/missing.h -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT
    CPPFLAGS = -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -I/Users/r/Desktop/Beryl/usr/include   -I. -I.ext/include/x86_64-darwin12.3.0 -I./include -I.
    DLDFLAGS = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -L/Users/r/Desktop/Beryl/usr/lib  -install_name /Users/r/Desktop/Beryl/usr/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 = 
compiling main.c
compiling dmydln.c
compiling dmyencoding.c
compiling version.c
compiling dmyversion.c
compiling miniprelude.c
translating probes probes.d
. ./vm_opts.h
compiling array.c
compiling bignum.c
compiling class.c
compiling compar.c
compiling complex.c
compiling dir.c
compiling dln_find.c
compiling enum.c
compiling enumerator.c
compiling error.c
compiling eval.c
compiling load.c
compiling proc.c
compiling file.c
compiling gc.c
compiling hash.c
compiling inits.c
compiling io.c
compiling marshal.c
compiling math.c
compiling node.c
compiling numeric.c
compiling object.c
compiling pack.c
compiling parse.c
compiling process.c
compiling random.c
compiling range.c
compiling rational.c
compiling re.c
compiling regcomp.c
compiling regenc.c
compiling regerror.c
compiling regexec.c
compiling regparse.c
compiling regsyntax.c
compiling ruby.c
compiling safe.c
compiling signal.c
compiling sprintf.c
compiling st.c
compiling strftime.c
compiling string.c
compiling struct.c
compiling time.c
compiling transcode.c
compiling util.c
compiling variable.c
compiling compile.c
compiling debug.c
compiling iseq.c
compiling vm.c
compiling vm_dump.c
compiling vm_backtrace.c
compiling vm_trace.c
compiling thread.c
compiling cont.c
compiling ./enc/ascii.c
compiling ./enc/us_ascii.c
compiling ./enc/unicode.c
compiling ./enc/utf_8.c
compiling newline.c
compiling ./missing/setproctitle.c
compiling dmyext.c
linking miniruby
/Users/r/Desktop/Beryl/tarballs/ruby-2.0.0-p0/lib/fileutils.rb:111: [BUG] Stack consistency error (sp: 38, bp: 36)
ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-darwin12.3.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:0006 p:0038 s:0038 e:000037 CLASS  /Users/r/Desktop/Beryl/tarballs/ruby-2.0.0-p0/lib/fileutils.rb:111
c:0005 p:0035 s:0034 e:000033 CLASS  /Users/r/Desktop/Beryl/tarballs/ruby-2.0.0-p0/lib/fileutils.rb:107
c:0004 p:0009 s:0032 e:000031 TOP    /Users/r/Desktop/Beryl/tarballs/ruby-2.0.0-p0/lib/fileutils.rb:85 [FINISH]
c:0003 p:---- s:0030 e:000029 CFUNC  :require
c:0002 p:0098 s:0026 E:000608 EVAL   ./tool/mkconfig.rb:11 [FINISH]
c:0001 p:0000 s:0002 E:001518 TOP    [FINISH]

./tool/mkconfig.rb:11:in `<main>'
./tool/mkconfig.rb:11:in `require'
/Users/r/Desktop/Beryl/tarballs/ruby-2.0.0-p0/lib/fileutils.rb:85:in `<top (required)>'
/Users/r/Desktop/Beryl/tarballs/ruby-2.0.0-p0/lib/fileutils.rb:107:in `<module:FileUtils>'
/Users/r/Desktop/Beryl/tarballs/ruby-2.0.0-p0/lib/fileutils.rb:111:in `<module:NoWrite>'

-- C level backtrace information -------------------------------------------
0   miniruby                            0x00000001056f0e64 rb_vm_bugreport + 164
1   miniruby                            0x00000001055c817e report_bug + 302
2   miniruby                            0x00000001055c8434 rb_bug + 180
3   miniruby                            0x00000001056e6ee0 vm_exec_core + 32080
4   miniruby                            0x00000001056e70be vm_exec + 94
5   miniruby                            0x00000001056e7f9a rb_iseq_eval + 266
6   miniruby                            0x00000001055ccd92 rb_load_internal + 306
7   miniruby                            0x00000001055ce4e1 rb_require_safe + 1313
8   miniruby                            0x00000001056d6ca4 call_cfunc_1 + 20
9   miniruby                            0x00000001056dd166 vm_call_cfunc + 1046
10  miniruby                            0x00000001056ebd20 vm_call_method + 224
11  miniruby                            0x00000001056e23a3 vm_exec_core + 12819
12  miniruby                            0x00000001056e70be vm_exec + 94
13  miniruby                            0x00000001056e7e6e rb_iseq_eval_main + 206
14  miniruby                            0x00000001055cb4ff ruby_exec_internal + 111
15  miniruby                            0x00000001055cc4e2 ruby_run_node + 82
16  miniruby                            0x00000001055925ff main + 79
17  libdyld.dylib                       0x00007fff8896f7e1 start + 0
18  ???                                 0x0000000000000009 0x0 + 9

-- Other runtime information -----------------------------------------------

* Loaded script: ./tool/mkconfig.rb

* 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: *** [.rbconfig.time] Abort trap: 6
$

@rdpoor
Copy link
Author

rdpoor commented Mar 26, 2013

contents of ...DiagnosticReports/miniruby_2013-03-26-130053_mbp.crash

# file: ~/Library/Logs/DiagnosticReports/miniruby_2013-03-26-130053_mbp.crash
Process:         miniruby [13458]
Path:            /Users/USER/Desktop/*/miniruby
Identifier:      miniruby
Version:         0
Code Type:       X86-64 (Native)
Parent Process:  make [12645]
User ID:         501

Date/Time:       2013-03-26 13:00:53.206 -0700
OS Version:      Mac OS X 10.8.3 (12D78)
Report Version:  10

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:
abort() called

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib          0x00007fff85c36212 __pthread_kill + 10
1   libsystem_c.dylib               0x00007fff819f3b54 pthread_kill + 90
2   libsystem_c.dylib               0x00007fff81a37dce abort + 143
3   miniruby                        0x00000001055c8439 rb_bug + 185
4   miniruby                        0x00000001056e6ee0 vm_exec_core + 32080 (insns.def:1539)
5   miniruby                        0x00000001056e70be vm_exec + 94 (vm.c:1176)
6   miniruby                        0x00000001056e7f9a rb_iseq_eval + 266 (vm.c:1411)
7   miniruby                        0x00000001055ccd92 rb_load_internal + 306 (load.c:559)
8   miniruby                        0x00000001055ce4e1 rb_require_safe + 1313 (load.c:917)
9   miniruby                        0x00000001056d6ca4 call_cfunc_1 + 20 (vm_insnhelper.c:1304)
10  miniruby                        0x00000001056dd166 vm_call_cfunc + 1046 (vm_insnhelper.c:1438)
11  miniruby                        0x00000001056ebd20 vm_call_method + 224 (vm_insnhelper.c:1697)
12  miniruby                        0x00000001056e23a3 vm_exec_core + 12819 (insns.def:1017)
13  miniruby                        0x00000001056e70be vm_exec + 94 (vm.c:1176)
14  miniruby                        0x00000001056e7e6e rb_iseq_eval_main + 206 (vm.c:1424)
15  miniruby                        0x00000001055cb4ff ruby_exec_internal + 111 (eval.c:255)
16  miniruby                        0x00000001055cc4e2 ruby_run_node + 82 (eval.c:315)
17  miniruby                        0x00000001055925ff main + 79 (main.c:36)
18  libdyld.dylib                   0x00007fff8896f7e1 start + 1

Thread 1:
0   libsystem_kernel.dylib          0x00007fff85c36322 __select + 10
1   miniruby                        0x00000001056f6228 thread_timer + 472 (thread_pthread.c:1240)
2   libsystem_c.dylib               0x00007fff819f27a2 _pthread_start + 327
3   libsystem_c.dylib               0x00007fff819df1e1 thread_start + 13

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000000000006  rcx: 0x00007fff5a66d728  rdx: 0x0000000000000000
  rdi: 0x0000000000000303  rsi: 0x0000000000000006  rbp: 0x00007fff5a66d750  rsp: 0x00007fff5a66d728
   r8: 0x00007fff70ae0278   r9: 0x00007fff5a66d5d0  r10: 0x0000000020000000  r11: 0x0000000000000206
  r12: 0x0000000000000008  r13: 0x0000000000000002  r14: 0x00007fff70ae1180  r15: 0x00007f8a59534650
  rip: 0x00007fff85c36212  rfl: 0x0000000000000206  cr2: 0x00007fff70ad9ff0
Logical CPU: 0

Binary Images:
       0x105591000 -        0x1057a4fff +miniruby (0) <283E1439-5A72-398B-BD29-B86B0C1E636B> /Users/USER/Desktop/*/miniruby
    0x7fff65191000 -     0x7fff651c593f  dyld (210.2.3) <6900F2BA-DB48-3B78-B668-58FC0CF6BCB8> /usr/lib/dyld
    0x7fff8116b000 -     0x7fff8116dfff  libquarantine.dylib (52) <4BE2E642-A14F-340A-B482-5BD2AEFD9C24> /usr/lib/system/libquarantine.dylib
    0x7fff8152d000 -     0x7fff81533fff  libmacho.dylib (829) <BF332AD9-E89F-387E-92A4-6E1AB74BD4D9> /usr/lib/system/libmacho.dylib
    0x7fff818d4000 -     0x7fff818dcff7  libsystem_dnssd.dylib (379.37) <616FC901-151E-38BF-B2C4-24A351C5FAAD> /usr/lib/system/libsystem_dnssd.dylib
    0x7fff819c4000 -     0x7fff819c5ff7  libremovefile.dylib (23.2) <6763BC8E-18B8-3AD9-8FFA-B43713A7264F> /usr/lib/system/libremovefile.dylib
    0x7fff819de000 -     0x7fff81aaaff7  libsystem_c.dylib (825.26) <4C9EB006-FE1F-3F8F-8074-DFD94CF2CE7B> /usr/lib/system/libsystem_c.dylib
    0x7fff8499a000 -     0x7fff8499ffff  libcache.dylib (57) <65187C6E-3FBF-3EB8-A1AA-389445E2984D> /usr/lib/system/libcache.dylib
    0x7fff84ced000 -     0x7fff84cfbfff  libcommonCrypto.dylib (60027) <BAAFE0C9-BB86-3CA7-88C0-E3CBA98DA06F> /usr/lib/system/libcommonCrypto.dylib
    0x7fff850a5000 -     0x7fff851bd92f  libobjc.A.dylib (532.2) <90D31928-F48D-3E37-874F-220A51FD9E37> /usr/lib/libobjc.A.dylib
    0x7fff85981000 -     0x7fff859e9ff7  libc++.1.dylib (65.1) <20E31B90-19B9-3C2A-A9EB-474E08F9FE05> /usr/lib/libc++.1.dylib
    0x7fff85ae8000 -     0x7fff85ae9ff7  libsystem_sandbox.dylib (220.2) <6838A6FD-8626-3356-BB4F-BB4787216207> /usr/lib/system/libsystem_sandbox.dylib
    0x7fff85c24000 -     0x7fff85c3fff7  libsystem_kernel.dylib (2050.22.13) <5A961E2A-CFB8-362B-BC43-122704AEB047> /usr/lib/system/libsystem_kernel.dylib
    0x7fff85c40000 -     0x7fff85c76fff  libsystem_info.dylib (406.17) <4FFCA242-7F04-365F-87A6-D4EFB89503C1> /usr/lib/system/libsystem_info.dylib
    0x7fff86d86000 -     0x7fff86dd2ff7  libauto.dylib (185.1) <73CDC482-16E3-3FC7-9BB4-FBA2DA44DBC2> /usr/lib/libauto.dylib
    0x7fff86fbc000 -     0x7fff86fdeff7  libxpc.dylib (140.42) <BBE558BD-5E55-35E4-89ED-1AA6B056D05A> /usr/lib/system/libxpc.dylib
    0x7fff8742c000 -     0x7fff8742dff7  libSystem.B.dylib (169.3) <FF25248A-574C-32DB-952F-B948C389B2A4> /usr/lib/libSystem.B.dylib
    0x7fff8743a000 -     0x7fff8744fff7  libdispatch.dylib (228.23) <D26996BF-FC57-39EB-8829-F63585561E09> /usr/lib/system/libdispatch.dylib
    0x7fff874fc000 -     0x7fff8754bff7  libcorecrypto.dylib (106.2) <CE0C29A3-C420-339B-ADAA-52F4683233CC> /usr/lib/system/libcorecrypto.dylib
    0x7fff880a2000 -     0x7fff880a8ff7  libunwind.dylib (35.1) <21703D36-2DAB-3D8B-8442-EAAB23C060D3> /usr/lib/system/libunwind.dylib
    0x7fff886f9000 -     0x7fff8871eff7  libc++abi.dylib (26) <D86169F3-9F31-377A-9AF3-DB17142052E4> /usr/lib/libc++abi.dylib
    0x7fff8871f000 -     0x7fff88727fff  liblaunch.dylib (442.26.2) <2F71CAF8-6524-329E-AC56-C506658B4C0C> /usr/lib/system/liblaunch.dylib
    0x7fff888b0000 -     0x7fff888b7fff  libcopyfile.dylib (89) <876573D0-E907-3566-A108-577EAD1B6182> /usr/lib/system/libcopyfile.dylib
    0x7fff8892f000 -     0x7fff8893dff7  libsystem_network.dylib (77.10) <0D99F24E-56FE-380F-B81B-4A4C630EE587> /usr/lib/system/libsystem_network.dylib
    0x7fff8896d000 -     0x7fff88970ff7  libdyld.dylib (210.2.3) <F59367C9-C110-382B-A695-9035A6DD387E> /usr/lib/system/libdyld.dylib
    0x7fff8b1fa000 -     0x7fff8b1fcff7  libunc.dylib (25) <92805328-CD36-34FF-9436-571AB0485072> /usr/lib/system/libunc.dylib
    0x7fff8b485000 -     0x7fff8b486ff7  libdnsinfo.dylib (453.19) <14202FFB-C3CA-3FCC-94B0-14611BF8692D> /usr/lib/system/libdnsinfo.dylib
    0x7fff8be8c000 -     0x7fff8be8cfff  libkeymgr.dylib (25) <CC9E3394-BE16-397F-926B-E579B60EE429> /usr/lib/system/libkeymgr.dylib
    0x7fff8c1b9000 -     0x7fff8c1bafff  libsystem_blocks.dylib (59) <D92DCBC3-541C-37BD-AADE-ACC75A0C59C8> /usr/lib/system/libsystem_blocks.dylib
    0x7fff8d072000 -     0x7fff8d07dfff  libsystem_notify.dylib (98.5) <C49275CC-835A-3207-AFBA-8C01374927B6> /usr/lib/system/libsystem_notify.dylib
    0x7fff8d503000 -     0x7fff8d508fff  libcompiler_rt.dylib (30) <08F8731D-5961-39F1-AD00-4590321D24A9> /usr/lib/system/libcompiler_rt.dylib
    0x7fff8d50e000 -     0x7fff8d53cff7  libsystem_m.dylib (3022.6) <B434BE5C-25AB-3EBD-BAA7-5304B34E3441> /usr/lib/system/libsystem_m.dylib

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 20982
    thread_create: 1
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=59.2M resident=31.3M(53%) swapped_out_or_unallocated=28.0M(47%)
Writable regions: Total=83.6M written=2424K(3%) resident=2508K(3%) swapped_out=0K(0%) unallocated=81.1M(97%)

REGION TYPE                      VIRTUAL
===========                      =======
MALLOC                             19.2M
MALLOC guard page                    16K
STACK GUARD                           8K
Stack                              64.0M
__DATA                              756K
__LINKEDIT                         52.7M
__TEXT                             6692K
shared memory                        12K
===========                      =======
TOTAL                             143.2M

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment