Skip to content

Instantly share code, notes, and snippets.

@oren
Created September 28, 2010 22:06
Show Gist options
  • Select an option

  • Save oren/601886 to your computer and use it in GitHub Desktop.

Select an option

Save oren/601886 to your computer and use it in GitHub Desktop.
[2010-09-28 21:58:31] make
eval.c: In function ‘ruby_cleanup’:
eval.c:139: warning: passing argument 1 of ‘ruby_init_stack’ discards qualifiers from pointer target type
./include/ruby/ruby.h:1001: note: expected ‘VALUE *’ but argument is of type ‘volatile VALUE *’
io.c: In function ‘argf_next_argv’:
io.c:6241: warning: ignoring return value of ‘fchown’, declared with attribute warn_unused_result
process.c: In function ‘rb_fork’:
process.c:2322: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
process.c: In function ‘proc_daemon’:
process.c:4239: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result
random.c: In function ‘fill_random_seed’:
random.c:312: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result
vm_dump.c:240: warning: ‘vm_stack_dump_each’ defined but not used
/home/oren/.rvm/src/ruby-1.9.1-p430/lib/optparse.rb:1310: [BUG] Segmentation fault
ruby 1.9.1p430 (2010-08-16 revision 28998) [i686-linux]
-- control frame ----------
c:0013 p:---- s:0060 b:0060 l:000059 d:000059 CFUNC :catch
c:0012 p:0049 s:0056 b:0056 l:001ac8 d:001254 BLOCK /home/oren/.rvm/src/ruby-1.9.1-p430/lib/optparse.rb:1310
c:0011 p:---- s:0050 b:0050 l:000049 d:000049 FINISH
c:0010 p:---- s:0048 b:0048 l:000047 d:000047 CFUNC :catch
c:0009 p:0062 s:0044 b:0044 l:001ac8 d:001ac8 METHOD /home/oren/.rvm/src/ruby-1.9.1-p430/lib/optparse.rb:1258
c:0008 p:0024 s:0034 b:0034 l:000033 d:000033 METHOD /home/oren/.rvm/src/ruby-1.9.1-p430/lib/optparse.rb:1252
c:0007 p:0066 s:0029 b:0029 l:001e3c d:0010b8 BLOCK ./tool/generic_erb.rb:12
c:0006 p:0116 s:0026 b:0026 l:000025 d:000025 METHOD /home/oren/.rvm/src/ruby-1.9.1-p430/lib/optparse.rb:793
c:0005 p:---- s:0020 b:0020 l:000019 d:000019 FINISH
c:0004 p:---- s:0018 b:0018 l:000017 d:000017 CFUNC :new
c:0003 p:0069 s:0015 b:0015 l:001e3c d:000e70 EVAL ./tool/generic_erb.rb:8
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:001e3c d:001e3c TOP
---------------------------
-- Ruby level backtrace information-----------------------------------------
/home/oren/.rvm/src/ruby-1.9.1-p430/lib/optparse.rb:1310:in `catch'
/home/oren/.rvm/src/ruby-1.9.1-p430/lib/optparse.rb:1310:in `block in parse_in_order'
/home/oren/.rvm/src/ruby-1.9.1-p430/lib/optparse.rb:1258:in `catch'
/home/oren/.rvm/src/ruby-1.9.1-p430/lib/optparse.rb:1258:in `parse_in_order'
/home/oren/.rvm/src/ruby-1.9.1-p430/lib/optparse.rb:1252:in `order!'
./tool/generic_erb.rb:12:in `block in <main>'
/home/oren/.rvm/src/ruby-1.9.1-p430/lib/optparse.rb:793:in `initialize'
./tool/generic_erb.rb:8:in `new'
./tool/generic_erb.rb:8:in `<main>'
-- C level backtrace information -------------------------------------------
0x816e439 ./miniruby(rb_vm_bugreport+0x69) [0x816e439]
0x8086ddf ./miniruby() [0x8086ddf]
0x8086e7a ./miniruby(rb_bug+0x3a) [0x8086e7a]
0x8114094 ./miniruby() [0x8114094]
0x4001d410 [0x4001d410]
0x815b658 ./miniruby() [0x815b658]
0x815b9c4 ./miniruby() [0x815b9c4]
0x8167416 ./miniruby() [0x8167416]
0x81622fd ./miniruby() [0x81622fd]
0x8165903 ./miniruby() [0x8165903]
0x816b08b ./miniruby() [0x816b08b]
0x815b658 ./miniruby() [0x815b658]
0x815b9c4 ./miniruby() [0x815b9c4]
0x8167416 ./miniruby() [0x8167416]
0x81622fd ./miniruby() [0x81622fd]
0x8165903 ./miniruby() [0x8165903]
0x815e620 ./miniruby() [0x815e620]
0x815ece5 ./miniruby(rb_funcall2+0x55) [0x815ece5]
0x8088450 ./miniruby(rb_obj_call_init+0x50) [0x8088450]
0x80bdf8a ./miniruby(rb_class_new_instance+0x3a) [0x80bdf8a]
0x815b658 ./miniruby() [0x815b658]
0x815b9c4 ./miniruby() [0x815b9c4]
0x8167416 ./miniruby() [0x8167416]
0x81622fd ./miniruby() [0x81622fd]
0x8165903 ./miniruby() [0x8165903]
0x8165b7b ./miniruby(rb_iseq_eval_main+0xab) [0x8165b7b]
0x8089127 ./miniruby(ruby_exec_node+0xb7) [0x8089127]
0x808a726 ./miniruby(ruby_run_node+0x56) [0x808a726]
0x805cfd8 ./miniruby(main+0x68) [0x805cfd8]
0x400cabd6 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6) [0x400cabd6]
0x805ced1 ./miniruby() [0x805ced1]
[NOTE]
You may encounter a bug of Ruby interpreter. Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html
make: *** [encdb.h] Aborted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment