Skip to content

Instantly share code, notes, and snippets.

@dodikk
Last active December 10, 2015 20:28
Show Gist options
  • Save dodikk/4488267 to your computer and use it in GitHub Desktop.
Save dodikk/4488267 to your computer and use it in GitHub Desktop.
malloc error in RubyMotion "hello world"
(in /Users/dodikk/projects/ruby/RubyMotionTestApp-master)
Build ./build/iPhoneSimulator-6.0-Development
Compile ./spec/fail_test.rb
Link ./build/iPhoneSimulator-6.0-Development/HelloMotion_spec.app/HelloMotion
Create ./build/iPhoneSimulator-6.0-Development/HelloMotion_spec.dSYM
Simulate ./build/iPhoneSimulator-6.0-Development/HelloMotion_spec.app
2013-01-08 23:44:15.201 HelloMotion[2228:11303] Application windows are expected to have a root view controller at the end of application launch
HelloMotion(2228,0xacd202c0) malloc: *** error for object 0x8a9a560: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
dodikk-macbook:spec dodikk$ cat result.txt
not ok 2 - always fails: FAILED
# Bacon::Error: 1.==(2) failed
# spec.rb:638:in `satisfy:': Fail test - always fails
# spec.rb:652:in `method_missing:'
# 5:in `equal:'
# spec.rb:268:in `block in run_spec_block'
# spec.rb:392:in `execute_block'
# spec.rb:268:in `run_spec_block'
# spec.rb:283:in `run'
ok 2 - has one window
1..2
# 2 tests, 2 assertions, 1 failures, 0 errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment