Skip to content

require "drb/unix" fails with an unbalanced stack error #27

Closed
ileitch opened this Issue Sep 28, 2009 · 2 comments

2 participants

@ileitch
Rubinius member
ileitch commented Sep 28, 2009
ERROR in temp_server, 0
An exception occurred evaluating command line code
unbalanced stack at line 81 (151): 1 != 2 (RuntimeError)

Backtrace:
Compiler::StackDepthCalculator#run_from at kernel/compiler/stack.rb:48 (2 times)
Compiler::StackDepthCalculator#run at kernel/compiler/stack.rb:13
    Compiler::Generator#to_cmethod at kernel/compiler/generator.rb:185
Compiler::MethodDescription#to_cmethod at kernel/compiler/bytecode.rb:34
Compiler::Generator#encode_literals {} at kernel/compiler/generator.rb:142
                        Array#each at kernel/bootstrap/array.rb:152
Compiler::Generator#encode_literals at kernel/compiler/generator.rb:140
    Compiler::Generator#to_cmethod at kernel/compiler/generator.rb:193
Compiler::MethodDescription#to_cmethod at kernel/compiler/bytecode.rb:34
Compiler::Generator#encode_literals {} at kernel/compiler/generator.rb:142
                        Array#each at kernel/bootstrap/array.rb:152
Compiler::Generator#encode_literals at kernel/compiler/generator.rb:140
    Compiler::Generator#to_cmethod at kernel/compiler/generator.rb:193
Compiler::MethodDescription#to_cmethod at kernel/compiler/bytecode.rb:34
Compiler::Generator#encode_literals {} at kernel/compiler/generator.rb:142
                        Array#each at kernel/bootstrap/array.rb:152
Compiler::Generator#encode_literals at kernel/compiler/generator.rb:140
    Compiler::Generator#to_cmethod at kernel/compiler/generator.rb:193
Compiler::MethodDescription#to_cmethod at kernel/compiler/bytecode.rb:34
             Compiler.compile_file at kernel/compiler/compiler.rb:56
      Compiler::Utils.compile_file at kernel/compiler/compile.rb:36
    Compiler::Utils.single_load {} at kernel/compiler/compile.rb:199
   Compiler::Utils.compile_feature at kernel/compiler/compile.rb:142
       Compiler::Utils.single_load at kernel/compiler/compile.rb:198
   Compiler::Utils.unified_load {} at kernel/compiler/compile.rb:131
                        Array#each at kernel/bootstrap/array.rb:152
      Compiler::Utils.unified_load at kernel/compiler/compile.rb:95
            Kernel(Object)#require at kernel/common/kernel.rb:711
                   Object#__eval__ at (eval):1
     Kernel(Rubinius::Loader)#eval at kernel/common/eval.rb:85
         Rubinius::Loader#evals {} at kernel/loader.rb:304
                        Array#each at kernel/bootstrap/array.rb:152
            Rubinius::Loader#evals at kernel/loader.rb:303
             Rubinius::Loader#main at kernel/loader.rb:403
                 Object#__script__ at kernel/loader.rb:452
@ileitch
Rubinius member
ileitch commented Oct 2, 2009

Minimal case:

def me
  while true
    begin
      break
    rescue
    end
  end
end
@brixen
Rubinius member
brixen commented Nov 12, 2009

Fixed.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.