Skip to content

Instantly share code, notes, and snippets.

@hokkai7go
Created October 6, 2012 00:21
Show Gist options
  • Save hokkai7go/3843208 to your computer and use it in GitHub Desktop.
Save hokkai7go/3843208 to your computer and use it in GitHub Desktop.
rabbit abort because of "out of memory"
/Users/hokkai7go/.rvm/gems/ruby-1.9.2-p290/gems/rabbit-2.0.5/lib/rabbit/renderer/engine/cairo.rb:152:in `restore': out of memory
from /Users/hokkai7go/.rvm/gems/ruby-1.9.2-p290/gems/rabbit-2.0.5/lib/rabbit/renderer/engine/cairo.rb:152:in `restore_context'
from /Users/hokkai7go/.rvm/gems/ruby-1.9.2-p290/gems/rabbit-2.0.5/lib/rabbit/renderer/kernel.rb:58:in `ensure in draw_slide'
from /Users/hokkai7go/.rvm/gems/ruby-1.9.2-p290/gems/rabbit-2.0.5/lib/rabbit/renderer/kernel.rb:58:in `draw_slide'
from /Users/hokkai7go/.rvm/gems/ruby-1.9.2-p290/gems/rabbit-2.0.5/lib/rabbit/renderer/display/drawing-area-base.rb:307:in `draw_slide'
from /Users/hokkai7go/.rvm/gems/ruby-1.9.2-p290/gems/rabbit-2.0.5/lib/rabbit/element/slide-element.rb:33:in `draw'
from /Users/hokkai7go/.rvm/gems/ruby-1.9.2-p290/gems/rabbit-2.0.5/lib/rabbit/renderer/display/drawing-area-primitive.rb:157:in `draw_current_slide'
from /Users/hokkai7go/.rvm/gems/ruby-1.9.2-p290/gems/rabbit-2.0.5/lib/rabbit/renderer/display/drawing-area-primitive.rb:148:in `exposed'
from /Users/hokkai7go/.rvm/gems/ruby-1.9.2-p290/gems/rabbit-2.0.5/lib/rabbit/renderer/display/drawing-area-base.rb:298:in `exposed'
from /Users/hokkai7go/.rvm/gems/ruby-1.9.2-p290/gems/rabbit-2.0.5/lib/rabbit/renderer/display/drawing-area-primitive.rb:141:in `block in set_expose_event'
from /Users/hokkai7go/.rvm/gems/ruby-1.9.2-p290/gems/rabbit-2.0.5/lib/rabbit/utils.rb:117:in `call'
from /Users/hokkai7go/.rvm/gems/ruby-1.9.2-p290/gems/rabbit-2.0.5/lib/rabbit/utils.rb:117:in `main_iteration'
from /Users/hokkai7go/.rvm/gems/ruby-1.9.2-p290/gems/rabbit-2.0.5/lib/rabbit/utils.rb:117:in `process_pending_events'
from /Users/hokkai7go/.rvm/gems/ruby-1.9.2-p290/gems/rabbit-2.0.5/lib/rabbit/utils.rb:128:in `block in process_pending_events_proc'
from /Users/hokkai7go/.rvm/gems/ruby-1.9.2-p290/gems/rabbit-2.0.5/lib/rabbit/canvas.rb:339:in `call'
from /Users/hokkai7go/.rvm/gems/ruby-1.9.2-p290/gems/rabbit-2.0.5/lib/rabbit/canvas.rb:339:in `block (2 levels) in parse'
from /Users/hokkai7go/.rvm/gems/ruby-1.9.2-p290/gems/rabbit-2.0.5/lib/rabbit/canvas.rb:659:in `call'
from /Users/hokkai7go/.rvm/gems/ruby-1.9.2-p290/gems/rabbit-2.0.5/lib/rabbit/canvas.rb:659:in `block in _apply_theme'
from /Users/hokkai7go/.rvm/gems/ruby-1.9.2-p290/gems/rabbit-2.0.5/lib/rabbit/theme/applier.rb:589:in `call'
from /Users/hokkai7go/.rvm/gems/ruby-1.9.2-p290/gems/rabbit-2.0.5/lib/rabbit/theme/applier.rb:589:in `dirtied'
from /Users/hokkai7go/.rvm/gems/ruby-1.9.2-p290/gems/rabbit-2.0.5/lib/rabbit/utils.rb:413:in `dirty'
from /Users/hokkai7go/.rvm/gems/ruby-1.9.2-p290/gems/rabbit-2.0.5/lib/rabbit/theme/applier.rb:428:in `match'
from /Users/hokkai7go/.rvm/gems/ruby-1.9.2-p290/gems/rabbit-2.0.5/lib/rabbit/theme/default-text/default-text.rb:10:in `block in apply_theme'
from /Users/hokkai7go/.rvm/gems/ruby-1.9.2-p290/gems/rabbit-2.0.5/lib/rabbit/theme/applier.rb:255:in `instance_eval'
from /Users/hokkai7go/.rvm/gems/ruby-1.9.2-p290/gems/rabbit-2.0.5/lib/rabbit/theme/applier.rb:255:in `block in apply_theme'
from /Users/hokkai7go/.rvm/gems/ruby-1.9.2-p290/gems/rabbit-2.0.5/lib/rabbit/theme/searcher.rb:22:in `in_theme'
from /Users/hokkai7go/.rvm/gems/ruby-1.9.2-p290/gems/rabbit-2.0.5/lib/rabbit/theme/applier.rb:254:in `apply_theme'
from /Users/hokkai7go/.rvm/gems/ruby-1.9.2-p290/gems/rabbit-2.0.5/lib/rabbit/theme/applier.rb:318:in `include_theme'
from /Users/hokkai7go/.rvm/gems/ruby-1.9.2-p290/gems/rabbit-2.0.5/lib/rabbit/theme/default/default.rb:11:in `block in apply_theme'
from /Users/hokkai7go/.rvm/gems/ruby-1.9.2-p290/gems/rabbit-2.0.5/lib/rabbit/theme/applier.rb:255:in `instance_eval'
from /Users/hokkai7go/.rvm/gems/ruby-1.9.2-p290/gems/rabbit-2.0.5/lib/rabbit/theme/applier.rb:255:in `block in apply_theme'
from /Users/hokkai7go/.rvm/gems/ruby-1.9.2-p290/gems/rabbit-2.0.5/lib/rabbit/theme/searcher.rb:22:in `in_theme'
from /Users/hokkai7go/.rvm/gems/ruby-1.9.2-p290/gems/rabbit-2.0.5/lib/rabbit/theme/applier.rb:254:in `apply_theme'
from /Users/hokkai7go/.rvm/gems/ruby-1.9.2-p290/gems/rabbit-2.0.5/lib/rabbit/theme/manager.rb:22:in `apply'
from /Users/hokkai7go/.rvm/gems/ruby-1.9.2-p290/gems/rabbit-2.0.5/lib/rabbit/canvas.rb:661:in `_apply_theme'
from /Users/hokkai7go/.rvm/gems/ruby-1.9.2-p290/gems/rabbit-2.0.5/lib/rabbit/canvas.rb:305:in `apply_theme'
from /Users/hokkai7go/.rvm/gems/ruby-1.9.2-p290/gems/rabbit-2.0.5/lib/rabbit/canvas.rb:321:in `reload_theme'
from /Users/hokkai7go/.rvm/gems/ruby-1.9.2-p290/gems/rabbit-2.0.5/lib/rabbit/canvas.rb:335:in `block in parse'
from /Users/hokkai7go/.rvm/gems/ruby-1.9.2-p290/gems/rabbit-2.0.5/lib/rabbit/canvas.rb:730:in `keep_index'
from /Users/hokkai7go/.rvm/gems/ruby-1.9.2-p290/gems/rabbit-2.0.5/lib/rabbit/canvas.rb:330:in `parse'
from /Users/hokkai7go/.rvm/gems/ruby-1.9.2-p290/gems/rabbit-2.0.5/lib/rabbit/frame.rb:58:in `parse'
from /Users/hokkai7go/.rvm/gems/ruby-1.9.2-p290/gems/rabbit-2.0.5/lib/rabbit/command/rabbit.rb:699:in `parse'
from /Users/hokkai7go/.rvm/gems/ruby-1.9.2-p290/gems/rabbit-2.0.5/lib/rabbit/command/rabbit.rb:857:in `do_display'
from /Users/hokkai7go/.rvm/gems/ruby-1.9.2-p290/gems/rabbit-2.0.5/lib/rabbit/command/rabbit.rb:59:in `run'
from /Users/hokkai7go/.rvm/gems/ruby-1.9.2-p290/gems/rabbit-2.0.5/lib/rabbit/command/rabbit.rb:30:in `run'
from /Users/hokkai7go/.rvm/gems/ruby-1.9.2-p290/gems/rabbit-2.0.5/bin/rabbit:22:in `<top (required)>'
from /Users/hokkai7go/.rvm/gems/ruby-1.9.2-p290/bin/rabbit:19:in `load'
from /Users/hokkai7go/.rvm/gems/ruby-1.9.2-p290/bin/rabbit:19:in `<main>'
ruby(33598,0x7fff76ee1960) malloc: *** error for object 0x4024000000000000: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
@irasally
Copy link

thanks!
このgistを発見して、export DYLD_LIBRARY_PATH=/usr/local/opt/cairo/lib の話を思い出しました :)

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