Skip to content

Instantly share code, notes, and snippets.

View matthewd's full-sized avatar

Matthew Draper matthewd

View GitHub Profile
Rubinius Crash Report #rbxcrashreport
Error: signal SIGSEGV
[[Backtrace]]
rbx[0x55f13d]
/lib/libpthread.so.0(+0xef60)[0x7f79ffc2cf60]
rbx(_ZN8rubinius7ImmixGC10saw_objectEPNS_6ObjectE+0x38)[0x6a60c8]
rbx(_ZN8rubinius10Executable4Info13mark_inlinersEPNS_6ObjectERNS_10ObjectMarkE+0x3c)[0x635e9c]
rbx(_ZN8rubinius14CompiledMethod4Info4markEPNS_6ObjectERNS_10ObjectMarkE+0x2a)[0x631e4a]
%%{
attr_accessor :heredocs
def setup
@heredocs = []
end
def heredoc(term, indent, value, dynamic)
h = heredoc_(term, indent, value, dynamic)
@heredocs << h
puts(
# Variations:
# - use single quotes on 'AA...'
# - use single quotes on '222..'
"000" + <<"AA\n#{x}\" + "111" + <<BB + "222\
333
444#{<<CC + "555" + <<-DD}666
777
CC
CC
Rubinius Crash Report #rbxcrashreport
Error: signal SIGSEGV
[[Backtrace]]
rbx[0x55f13d]
/lib/libpthread.so.0(+0xef60)[0x7ffd86ab9f60]
rbx(_ZN8rubinius7ImmixGC10saw_objectEPNS_6ObjectE+0x2b)[0x6a60bb]
rbx(_ZN8rubinius10Executable4Info13mark_inlinersEPNS_6ObjectERNS_10ObjectMarkE+0x3c)[0x635e9c]
rbx(_ZN8rubinius14CompiledMethod4Info4markEPNS_6ObjectERNS_10ObjectMarkE+0x2a)[0x631e4a]
Rubinius Crash Report #rbxcrashreport
Error: signal SIGSEGV
[[Backtrace]]
rbx[0x55f13d]
/lib/libpthread.so.0(+0xef60)[0x7fce311faf60]
rbx(_ZN8rubinius7ImmixGC10saw_objectEPNS_6ObjectE+0x1c)[0x6a60ac]
rbx(_ZN8rubinius16GarbageCollector11scan_objectEPNS_6ObjectE+0x30)[0x6a50a0]
rbx(_ZN8rubinius7ImmixGC7collectERNS_6GCDataE+0x2f8)[0x6a69e8]
tango:src/rbx[hydra⚡]% bin/mspec spec/compiler ^spec/compiler/transforms --parser-adelaide
rubinius 2.0.0dev (1.8.7 7a9c86f9 yyyy-mm-dd JI) [x86_64-unknown-linux-gnu]
.....................F..F.............F........................
1)
A Dstr node is compiled from '"#{22}aa" "cd#{44}" "55" "#{66}"' FAILED
Expected:
[:test_generator,
[[:push, 22],
[:meta_to_s],
diff --git a/lib/compiler/ast/sends.rb b/lib/compiler/ast/sends.rb
index 6707b05..0f5851e 100644
--- a/lib/compiler/ast/sends.rb
+++ b/lib/compiler/ast/sends.rb
@@ -2,6 +2,7 @@ module Rubinius
module AST
class Send < Node
attr_accessor :receiver, :name, :privately, :block, :variable
+ attr_accessor :vcall_style
attr_accessor :check_for_local
tango:src/rbx[hydra]% rbx -Xgc.large_object=5000 reverse.rb 4900
user system total real
Reversing string 4900 long 3.644228 0.004000 3.648228 ( 3.751245)
tango:src/rbx[hydra]% rbx -Xgc.large_object=2700 reverse.rb 2665
user system total real
Reversing string 2665 long 13.372836 0.028001 13.400837 ( 13.470050)
#!/usr/bin/env ruby
lib_path = File.expand_path("../../lib", __FILE__)
$:.unshift lib_path
require 'uri'
require 'net/http'
require 'optparse'
2011/09/09 19:05:38 [DEBUG] processing critical: devshm_dev_shm -> : 98
2011/09/09 19:05:38 [DEBUG] processing warning: devshm_dev_shm -> : 92
2011/09/09 19:05:38 [DEBUG] processing unknown_limit: devshm_dev_shm -> 4
2011/09/09 19:05:38 [DEBUG] processing field: e2.com.au::portia.e2.com.au::df::devshm_dev_shm
2011/09/09 19:05:38 [DEBUG] rrd filename is: /var/lib/munin/e2.com.au/portia.e2.com.au-df-devshm_dev_shm-g.rrd
2011/09/09 19:05:38 [DEBUG] value: e2.com.au::portia.e2.com.au::df::devshm_dev_shm: unknown (crit: :98) (warn: :92)
2011/09/09 19:05:38 [DEBUG] processing critical: _dev_md2 -> : 98
2011/09/09 19:05:38 [DEBUG] processing warning: _dev_md2 -> : 92
2011/09/09 19:05:38 [DEBUG] processing unknown_limit: _dev_md2 -> 4
2011/09/09 19:05:38 [DEBUG] processing field: e2.com.au::portia.e2.com.au::df::_dev_md2