This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/iconv.rb b/lib/iconv.rb | |
index 88342a4..8f26357 100644 | |
--- a/lib/iconv.rb | |
+++ b/lib/iconv.rb | |
@@ -153,7 +153,7 @@ class Iconv | |
is = FFI::MemoryPointer.new(str.size + 10) | |
is.write_string str, str.size | |
- l1.write_long is.address | |
+ l1.write_pointer is.address |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GNU gdb 6.8-debian | |
Copyright (C) 2008 Free Software Foundation, Inc. | |
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> | |
This is free software: you are free to change and redistribute it. | |
There is NO WARRANTY, to the extent permitted by law. Type "show copying" | |
and "show warranty" for details. | |
This GDB was configured as "x86_64-linux-gnu"... | |
(gdb) run | |
Starting program: /home/dbussink/rubinius/bin/rbx -XJ | |
[Thread debugging using libthread_db enabled] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/vm/llvm/inline_primitive.cpp b/vm/llvm/inline_primitive.cpp | |
index 3a6be9f..1deded8 100644 | |
--- a/vm/llvm/inline_primitive.cpp | |
+++ b/vm/llvm/inline_primitive.cpp | |
@@ -101,8 +101,8 @@ namespace rubinius { | |
Value* anded = BinaryOperator::CreateAnd(lint, rint, "fixnums_anded", ops.current_block()); | |
- Value* fix_mask = ConstantInt::get(Type::Int32Ty, TAG_FIXNUM_MASK); | |
- Value* fix_tag = ConstantInt::get(Type::Int32Ty, TAG_FIXNUM); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/vm/llvm/inline_primitive.cpp b/vm/llvm/inline_primitive.cpp | |
index 3a6be9f..deee7ae 100644 | |
--- a/vm/llvm/inline_primitive.cpp | |
+++ b/vm/llvm/inline_primitive.cpp | |
@@ -101,8 +101,8 @@ namespace rubinius { | |
Value* anded = BinaryOperator::CreateAnd(lint, rint, "fixnums_anded", ops.current_block()); | |
- Value* fix_mask = ConstantInt::get(Type::Int32Ty, TAG_FIXNUM_MASK); | |
- Value* fix_tag = ConstantInt::get(Type::Int32Ty, TAG_FIXNUM); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/vm/vmmethod.cpp b/vm/vmmethod.cpp | |
index 5f915c1..8dd7b37 100644 | |
--- a/vm/vmmethod.cpp | |
+++ b/vm/vmmethod.cpp | |
@@ -547,17 +547,12 @@ namespace rubinius { | |
frame->cm = cm; | |
frame->scope = scope; | |
- | |
#ifdef RBX_PROFILER |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(gdb) run | |
Starting program: /Users/dirkjan/Documents/projects/rubinius/bin/rbx -e String\ =\ nil\;\ puts\ \'foo\' | |
Reading symbols for shared libraries ++++. done | |
Program received signal EXC_BAD_ACCESS, Could not access memory. | |
Reason: KERN_PROTECTION_FAILURE at address: 0xbf7fffe4 | |
rubinius::VMMethod::interpreter (state=0xf00ff0, vmm=0xfbe680, call_frame=0xbf800270, args=@0xbf800644) at vm/gen/instructions.cpp:200 | |
200 Object** stack_ptr = call_frame->stk - 1; | |
(gdb) bt | |
#0 rubinius::VMMethod::interpreter (state=0xf00ff0, vmm=0xfbe680, call_frame=0xbf800270, args=@0xbf800644) at vm/gen/instructions.cpp:200 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./bin/rbx -S gem install rdoc | |
Successfully installed rdoc-2.4.3 | |
1 gem installed | |
Installing ri documentation for rdoc-2.4.3... | |
ERROR: While executing gem ... (NoMethodError) | |
No method 'keys' on an instance of RDoc::Markup::Flow::RULE. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./bin/rbx -S gem install rdoc | |
Successfully installed rdoc-2.4.3 | |
1 gem installed | |
Installing ri documentation for rdoc-2.4.3... | |
ERROR: While executing gem ... (NoMethodError) | |
No method 'keys' on an instance of RDoc::RI::MethodDescription. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
t1 = Thread.new do | |
sleep 1 | |
100.times do | |
puts "foo" | |
end | |
end | |
t2 = Thread.new do | |
sleep 1 | |
100.times do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
============ | |
JIT DISABLED | |
============ | |
Finished in 30.336764 seconds | |
1581 files, 7971 examples, 25172 expectations, 4 failures, 0 errors | |
Garbage collector stats: |