Skip to content

Instantly share code, notes, and snippets.

@jdewind
Created August 16, 2013 17:22
Show Gist options
  • Save jdewind/6251765 to your computer and use it in GitHub Desktop.
Save jdewind/6251765 to your computer and use it in GitHub Desktop.
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x706f7274
0x3ac44464 in _class_getSuperclass ()
(gdb) bt
#0 0x3ac44464 in _class_getSuperclass ()
#1 0x005de962 in rb_objc_convert_immediate ()
#2 0x002b7d68 in vm_ocval_to_rval ()
#3 0x002ba7f0 in __unnamed_1 ()
#4 0x002ba7f0 in __unnamed_1 ()
#5 0x000a7cb2 in +[JSObjection propertyForClass:andProperty:] (self=0x706f7270, _cmd=<value temporarily unavailable, due to optimizations>, theClass=0x1f9cc7f0, propertyName=0x1f9cd8d0)
Previous frame inner to this frame (gdb could not unwind past this frame)
(gdb) frame 5
#5 0x000a7cb2 in +[JSObjection propertyForClass:andProperty:] (self=0x706f7270, _cmd=<value temporarily unavailable, due to optimizations>, theClass=0x1f9cc7f0, propertyName=0x1f9cd8d0) at /Users/dewindj/git/deluxe/bankers-dashboard-ios/vendor/Pods/Objection/Source/JSObjection.m:105
105 return [gPropertyReflector propertyForClass:theClass andProperty: propertyName];
Current language: auto; currently objective-c
(gdb) po propertyName
authenticator
(gdb) po theClass
ApplicationBootstrapper
(gdb) po [gPropertyReflector propertyForClass:theClass andProperty: propertyName]
Authenticator
# Methods works as expected from debugger. Fails via RubyMotion bridge.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment