Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
hyperPad

hyperPad Forum

  1. Home
  2. Bug Reports
  3. Fixed
  4. Xcode build crashing

Xcode build crashing

Scheduled Pinned Locked Moved Fixed
2 Posts 2 Posters 799 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • DavioD Offline
    DavioD Offline
    Davio
    wrote on last edited by
    #1

    My project runs fine inside of hyperPad, but when using an Xcode build, I'm getting this crash after tapping an image and getting a color of an object. My code is not doing anything with that color, however.

    Looks like a classic dangling pointer issue where an UIDeviceRGBColor object is at the location of a previous object that could recognize the hexadecimalString selector.

    lldb log with offending backtrace:

    2018-09-29 17:38:31.612925-0700 hyperPad-Project[8957:13066425] -[UIDeviceRGBColor hexadecimalString]: unrecognized selector sent to instance 0x604000e6c9c0
    2018-09-29 17:38:31.641629-0700 hyperPad-Project[8957:13066425] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIDeviceRGBColor hexadecimalString]: unrecognized selector sent to instance 0x604000e6c9c0'
    *** First throw call stack:
    (
    0 CoreFoundation 0x000000010c8bf1e6 __exceptionPreprocess + 294
    1 libobjc.A.dylib 0x0000000113c0a031 objc_exception_throw + 48
    2 CoreFoundation 0x000000010c940784 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
    3 CoreFoundation 0x000000010c841898 forwarding + 1432
    4 CoreFoundation 0x000000010c841278 _CF_forwarding_prep_0 + 120
    5 hyperPad-Project 0x000000010a74fdea +[GetColourBehaviour executeActionWithBehaviour:withParams:] + 1252
    6 hyperPad-Project 0x000000010a73852f -[BehaviourParser executeBehaviour:withParams:isRoot:] + 339
    7 hyperPad-Project 0x000000010a737ede -[BehaviourParser parseBehaviour:withParameters:] + 3051
    8 hyperPad-Project 0x000000010a7a273c +[LoadValueBehaviour_v1_14 executeActionWithBehaviour:withParams:] + 540
    9 hyperPad-Project 0x000000010a73852f -[BehaviourParser executeBehaviour:withParams:isRoot:] + 339
    10 hyperPad-Project 0x000000010a737ede -[BehaviourParser parseBehaviour:withParameters:] + 3051
    11 hyperPad-Project 0x000000010a7a273c +[LoadValueBehaviour_v1_14 executeActionWithBehaviour:withParams:] + 540
    12 hyperPad-Project 0x000000010a73852f -[BehaviourParser executeBehaviour:withParams:isRoot:] + 339
    13 hyperPad-Project 0x000000010a737ede -[BehaviourParser parseBehaviour:withParameters:] + 3051
    14 hyperPad-Project 0x000000010a864ddc -[PlayerGameObject handleTouchesBeganBehavioursWithFirstPoint:] + 2203
    15 hyperPad-Project 0x000000010a8643ad -[PlayerGameObject ccTouchBegan:withEvent:] + 2256
    16 hyperPad-Project 0x000000010a7e47df -[PlayerGridLayer touchBegan:withEvent:] + 1396
    17 hyperPad-Project 0x000000010a9b6aab -[CCResponderManager touchesBegan:withEvent:] + 1835
    18 hyperPad-Project 0x000000010a4af8f8 -[HPCCGLView touchesBegan:withEvent:] + 312
    19 UIKit 0x000000010f365e1a -[UIWindow _sendTouchesForEvent:] + 2052
    20 UIKit 0x000000010f3677c1 -[UIWindow sendEvent:] + 4086
    21 UIKit 0x000000010f30b310 -[UIApplication sendEvent:] + 352
    22 UIKit 0x000000010fc4c6af __dispatchPreprocessedEventFromEventQueue + 2796
    23 UIKit 0x000000010fc4f2c4 __handleEventQueueInternal + 5949
    24 CoreFoundation 0x000000010c861bb1 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 17
    25 CoreFoundation 0x000000010c8464af __CFRunLoopDoSources0 + 271
    26 CoreFoundation 0x000000010c845a6f __CFRunLoopRun + 1263
    27 CoreFoundation 0x000000010c84530b CFRunLoopRunSpecific + 635
    28 GraphicsServices 0x00000001178dfa73 GSEventRunModal + 62
    29 UIKit 0x000000010f2f0057 UIApplicationMain + 159
    30 hyperPad-Project 0x000000010a4affff main + 111
    31 libdyld.dylib 0x0000000114bba955 start + 1
    )
    libc++abi.dylib: terminating with uncaught exception of type NSException
    (lldb)

    1 Reply Last reply
    0
    • HamedH Offline
      HamedH Offline
      Hamed
      Admin
      wrote on last edited by
      #2

      Should be fixed with the latest builds

      1 Reply Last reply
      0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Search