Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 3 Support (Qt 5) › Chicken Outbreak 2 demo – keeps crashing

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #16910

    Marcin

    Hello,

    I have some issues with Chicken Outbreak 2 demo.
    I use Linux with newest Felgo, so Qt 5.9 for example.
    I have no problems building the demo on desktop and Android device.
    Unfortunately it breaks after few seconds once app starts.

    First it was crashing on desktop as well, right after few seconds on loading screen.
    More or less when I am able to click “Cancel” on no valid  license popup.
    For any reasons, after few tries, it started working on desktop.

    Now it crashes the same way on Android device.
    Few seconds and boom, crash.
    This is the end of log:

    V MediaPlayer-JNI: getCurrentPosition: 4471 (msec)
    D ViewRootImpl@b9fb8ac[VPlayActivity]: ViewPostImeInputStage processPointer 0
    D Chicken Outbreak 2 Dev: assets:/qml/ChickenOutbreak2MainItem.qml:294 (onStateChanged): qml: ChickenBreakoutMain: changed state to main
    F libc    : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 16330 (QtThread)

     

    #16923

    Alex
    Felgo Team

    Hi Marcin,

    the shutdown after the invalid license popup is intended. Please create a valid license key or do not set it at all (plugins will be in trial then). Watch out for the versioncode, which is set to “10” in this demo game.

    The crash on Android is interesting, the origin is the Flurry plugin, which causes trouble if used without an apiKey in this specific setup. I cannot reproduce this behavior with another application.

    To fix this for you, I got 2 possible solutions:

    a.) If you have a Flurry account, create an apiKey yourself and set it, or use this one as a temporary fix: “HMV9VC35FS77G6QK9TNZ” (it’s from a plugin test project of us)

    b.) Replace the Flurry item with a stub to avoid calling the actual plugin in your code, like this:

    // replace the whole Flurry { ... } item with this
    Item {
      id: flurry
      function endTimedEvent(s) {}
      function logTimedEvent(s) {}
      function logEvent(s) {}
    }

    Please let me know if this fixes the issue.

    Cheers,
    Alex

    #16928

    Marcin

    Hi Alex,

    Thank you for suggestions.
    Will try to find some time soon and double check if it helps.

    #16931

    Marcin

    Hi Alex,
    have some update for desktop version.
    I didn’t set license in the end, just using the trial bit.
    So I am not getting any popups about invalid license etc.
    If I try to run it few times in a row, it works around 30% of the time.
    So every 3rd run.

    Around 70% times it crashes with logs:

    QML debugging is enabled. Only use this in a safe environment.
    NOTE: you are running a development build in Release Mode. However, the Release mode is recommended only for publish builds that are released to the app stores and for final testing. You can enable a publish build in the config.json file in your qml folder by setting the "stage" property to "publish". For more information see: https://felgo.com/doc/vplay-publishing/
    qml: no licenseKey set, generate one here to remove the Felgo Splash screen and to use plugins for monetization, analytics, push notifications, social networks & more: http://felgo.com/licenseKey
    Warning: Plugin "VPlay.plugins.facebook" disabled: Plugin not supported on this platform
    Warning: Plugin "VPlay.plugins.chartboost" disabled: Plugin not supported on this platform
    Warning: Plugin "VPlay.plugins.flurry" disabled: Plugin not supported on this platform
    qml: EntityManager: poolingEnabled changed to: true
    qml: gravity changed to 60
    qml: levelMovementSpeedMaximum changed to 110
    qml: platformCreationProbability changed to 0.09
    qml: VPGN: ProfileView: changed fbConnectioState to facebookNotConnected
    qml: state changed to stopped
    qml: SceneLoader: loaded item with width<320> and height <480>
    qml: SceneLoader: at position<0> and height <0>
    qml: SceneLoader: in windowMainItem<0> and height <0>
    Warning: Plugin "VPlay.plugins.soomla" disabled: Plugin not supported on this platform
    qml: initialAchievementValues: [{"data":"","description":"Collect at least 10 grains in one game","icon":"","key":"cob2_grains10","name":"Hobby Collector","points":10,"registered_on_facebook":true,"target":10},{"data":"","description":"Collect at least 25 grains in one game","icon":"","key":"cob2_grains25","name":"Passionate Collector","points":25,"registered_on_facebook":true,"target":25},{"data":"","description":"Collect at least 50 grains in one game","icon":"","key":"cob2_grains50","name":"Obsessed Collector","points":50,"registered_on_facebook":true,"target":50},{"data":"","description":"Collect at least 100 grains in one game","icon":"","key":"cob2_grains100","name":"Addicted Collector","points":100,"registered_on_facebook":true,"target":100},{"data":"","description":"The chicken eats 10 bad grains in one game","icon":"","key":"cob2_badgrains10","name":"Suicidal Collector","points":10,"registered_on_facebook":true,"target":10},{"data":"","description":"The chicken beams 10 times in one game","icon":"","key":"cob2_teleported10","name":"Scotty","points":10,"registered_on_facebook":true,"target":10},{"data":"","description":"The chicken uses 10 parachutes in one game","icon":"","key":"cob2_parachute10","name":"Skydiver","points":10,"registered_on_facebook":true,"target":10},{"data":"","description":"The chicken dies 10 times in a row","icon":"","key":"cob2_chickendead1","name":"Empty Henhouse","points":10,"registered_on_facebook":true,"target":10}]
    qml: EntityManager: just removed entity with id roost_0 and type roost from active entities
    qml: EntityManager: to pool entityType: roost
    qml: EntityManager: successfully pooled entity with id roost_0 , entity: EntityBase_QMLTYPE_199(0x77d1b30, "roost_0")
    qml: EntityManager: pooled entity position: 0 0 , entity.visible: false
    qml: EntityManager: just removed entity with id roost_1 and type roost from active entities
    qml: EntityManager: to pool entityType: roost
    qml: EntityManager: successfully pooled entity with id roost_1 , entity: EntityBase_QMLTYPE_199(0x77d7f40, "roost_1")
    qml: EntityManager: pooled entity position: 0 0 , entity.visible: false
    qml: EntityManager: just removed entity with id roost_2 and type roost from active entities
    qml: EntityManager: to pool entityType: roost
    qml: EntityManager: successfully pooled entity with id roost_2 , entity: EntityBase_QMLTYPE_199(0x77dc620, "roost_2")
    qml: EntityManager: pooled entity position: 0 0 , entity.visible: false
    qml: EntityManager: just removed entity with id roost_3 and type roost from active entities
    qml: EntityManager: to pool entityType: roost
    qml: EntityManager: successfully pooled entity with id roost_3 , entity: EntityBase_QMLTYPE_199(0x77e0d80, "roost_3")
    qml: EntityManager: pooled entity position: 0 0 , entity.visible: false
    qml: EntityManager: just removed entity with id roost_4 and type roost from active entities
    qml: EntityManager: to pool entityType: roost
    qml: EntityManager: successfully pooled entity with id roost_4 , entity: EntityBase_QMLTYPE_199(0x77e5460, "roost_4")
    qml: EntityManager: pooled entity position: 0 0 , entity.visible: false
    qml: EntityManager: just removed entity with id roost_5 and type roost from active entities
    qml: EntityManager: to pool entityType: roost
    qml: EntityManager: successfully pooled entity with id roost_5 , entity: EntityBase_QMLTYPE_199(0x77e9b40, "roost_5")
    qml: EntityManager: pooled entity position: 0 0 , entity.visible: false
    qml: EntityManager: just removed entity with id roost_6 and type roost from active entities
    qml: EntityManager: to pool entityType: roost
    qml: EntityManager: successfully pooled entity with id roost_6 , entity: EntityBase_QMLTYPE_199(0x77ee220, "roost_6")
    qml: EntityManager: pooled entity position: 0 0 , entity.visible: false
    qml: EntityManager: just removed entity with id roost_7 and type roost from active entities
    qml: EntityManager: to pool entityType: roost
    qml: EntityManager: successfully pooled entity with id roost_7 , entity: EntityBase_QMLTYPE_199(0x77f2a40, "roost_7")
    qml: EntityManager: pooled entity position: 0 0 , entity.visible: false
    qml: EntityManager: just removed entity with id roost_8 and type roost from active entities
    qml: EntityManager: to pool entityType: roost
    qml: EntityManager: successfully pooled entity with id roost_8 , entity: EntityBase_QMLTYPE_199(0x77f7120, "roost_8")
    qml: EntityManager: pooled entity position: 0 0 , entity.visible: false
    qml: EntityManager: just removed entity with id roost_9 and type roost from active entities
    qml: EntityManager: to pool entityType: roost
    qml: EntityManager: successfully pooled entity with id roost_9 , entity: EntityBase_QMLTYPE_199(0x77fbe30, "roost_9")
    qml: EntityManager: pooled entity position: 0 0 , entity.visible: false
    qml: EntityManager: just removed entity with id roost_10 and type roost from active entities
    qml: EntityManager: to pool entityType: roost
    qml: EntityManager: successfully pooled entity with id roost_10 , entity: EntityBase_QMLTYPE_199(0x7800200, "roost_10")
    qml: EntityManager: pooled entity position: 0 0 , entity.visible: false
    qml: EntityManager: just removed entity with id roost_11 and type roost from active entities
    qml: EntityManager: to pool entityType: roost
    qml: EntityManager: successfully pooled entity with id roost_11 , entity: EntityBase_QMLTYPE_199(0x7804ec0, "roost_11")
    qml: EntityManager: pooled entity position: 0 0 , entity.visible: false
    qml: EntityManager: just removed entity with id roost_12 and type roost from active entities
    qml: EntityManager: to pool entityType: roost
    qml: EntityManager: successfully pooled entity with id roost_12 , entity: EntityBase_QMLTYPE_199(0x78095e0, "roost_12")
    qml: EntityManager: pooled entity position: 0 0 , entity.visible: false
    qml: EntityManager: just removed entity with id roost_13 and type roost from active entities
    qml: EntityManager: to pool entityType: roost
    qml: EntityManager: successfully pooled entity with id roost_13 , entity: EntityBase_QMLTYPE_199(0x780de00, "roost_13")
    qml: EntityManager: pooled entity position: 0 0 , entity.visible: false
    qml: EntityManager: just removed entity with id roost_14 and type roost from active entities
    qml: EntityManager: to pool entityType: roost
    qml: EntityManager: successfully pooled entity with id roost_14 , entity: EntityBase_QMLTYPE_199(0x7812520, "roost_14")
    qml: EntityManager: pooled entity position: 0 0 , entity.visible: false
    qml: EntityManager: just removed entity with id roost_15 and type roost from active entities
    qml: EntityManager: to pool entityType: roost
    qml: EntityManager: successfully pooled entity with id roost_15 , entity: EntityBase_QMLTYPE_199(0x7816c40, "roost_15")
    qml: EntityManager: pooled entity position: 0 0 , entity.visible: false
    qml: EntityManager: just removed entity with id roost_16 and type roost from active entities
    qml: EntityManager: to pool entityType: roost
    qml: EntityManager: successfully pooled entity with id roost_16 , entity: EntityBase_QMLTYPE_199(0x781b360, "roost_16")
    qml: EntityManager: pooled entity position: 0 0 , entity.visible: false
    qml: EntityManager: just removed entity with id roost_17 and type roost from active entities
    qml: EntityManager: to pool entityType: roost
    qml: EntityManager: successfully pooled entity with id roost_17 , entity: EntityBase_QMLTYPE_199(0x781f560, "roost_17")
    qml: EntityManager: pooled entity position: 0 0 , entity.visible: false
    qml: EntityManager: just removed entity with id roost_18 and type roost from active entities
    qml: EntityManager: to pool entityType: roost
    qml: EntityManager: successfully pooled entity with id roost_18 , entity: EntityBase_QMLTYPE_199(0x7824310, "roost_18")
    qml: EntityManager: pooled entity position: 0 0 , entity.visible: false
    qml: EntityManager: just removed entity with id roost_19 and type roost from active entities
    qml: EntityManager: to pool entityType: roost
    qml: EntityManager: successfully pooled entity with id roost_19 , entity: EntityBase_QMLTYPE_199(0x7828610, "roost_19")
    qml: EntityManager: pooled entity position: 0 0 , entity.visible: false
    qml: EntityManager: just removed entity with id roost_20 and type roost from active entities
    qml: EntityManager: to pool entityType: roost
    qml: EntityManager: successfully pooled entity with id roost_20 , entity: EntityBase_QMLTYPE_199(0x782d6b0, "roost_20")
    qml: EntityManager: pooled entity position: 0 0 , entity.visible: false
    qml: EntityManager: just removed entity with id roost_21 and type roost from active entities
    qml: EntityManager: to pool entityType: roost
    qml: EntityManager: successfully pooled entity with id roost_21 , entity: EntityBase_QMLTYPE_199(0x7831dd0, "roost_21")
    qml: EntityManager: pooled entity position: 0 0 , entity.visible: false
    qml: EntityManager: just removed entity with id roost_22 and type roost from active entities
    qml: EntityManager: to pool entityType: roost
    qml: EntityManager: successfully pooled entity with id roost_22 , entity: EntityBase_QMLTYPE_199(0x7844500, "roost_22")
    qml: EntityManager: pooled entity position: 0 0 , entity.visible: false
    qml: EntityManager: just removed entity with id roost_23 and type roost from active entities
    qml: EntityManager: to pool entityType: roost
    qml: EntityManager: successfully pooled entity with id roost_23 , entity: EntityBase_QMLTYPE_199(0x7848c20, "roost_23")
    qml: EntityManager: pooled entity position: 0 0 , entity.visible: false
    qml: EntityManager: just removed entity with id roost_24 and type roost from active entities
    qml: EntityManager: to pool entityType: roost
    qml: EntityManager: successfully pooled entity with id roost_24 , entity: EntityBase_QMLTYPE_199(0x784d340, "roost_24")
    qml: EntityManager: pooled entity position: 0 0 , entity.visible: false
    qml: EntityManager: just removed entity with id roost_25 and type roost from active entities
    qml: EntityManager: to pool entityType: roost
    qml: EntityManager: successfully pooled entity with id roost_25 , entity: EntityBase_QMLTYPE_199(0x7851a60, "roost_25")
    qml: EntityManager: pooled entity position: 0 0 , entity.visible: false
    qml: EntityManager: just removed entity with id roost_26 and type roost from active entities
    qml: EntityManager: to pool entityType: roost
    qml: EntityManager: successfully pooled entity with id roost_26 , entity: EntityBase_QMLTYPE_199(0x7856180, "roost_26")
    qml: EntityManager: pooled entity position: 0 0 , entity.visible: false
    qml: EntityManager: just removed entity with id roost_27 and type roost from active entities
    qml: EntityManager: to pool entityType: roost
    qml: EntityManager: successfully pooled entity with id roost_27 , entity: EntityBase_QMLTYPE_199(0x785a8a0, "roost_27")
    qml: EntityManager: pooled entity position: 0 0 , entity.visible: false
    qml: EntityManager: just removed entity with id roost_28 and type roost from active entities
    qml: EntityManager: to pool entityType: roost
    qml: EntityManager: successfully pooled entity with id roost_28 , entity: EntityBase_QMLTYPE_199(0x785efc0, "roost_28")
    qml: EntityManager: pooled entity position: 0 0 , entity.visible: false
    qml: EntityManager: just removed entity with id roost_29 and type roost from active entities
    qml: EntityManager: to pool entityType: roost
    qml: EntityManager: successfully pooled entity with id roost_29 , entity: EntityBase_QMLTYPE_199(0x78636e0, "roost_29")
    qml: EntityManager: pooled entity position: 0 0 , entity.visible: false
    qml: EntityManager: just removed entity with id wheel_0 and type wheel from active entities
    qml: EntityManager: to pool entityType: wheel
    qml: EntityManager: successfully pooled entity with id wheel_0 , entity: EntityBase_QMLTYPE_199(0x7881160, "wheel_0")
    qml: EntityManager: pooled entity position: 0 0 , entity.visible: false
    qml: EntityManager: just removed entity with id wheel_1 and type wheel from active entities
    qml: EntityManager: to pool entityType: wheel
    qml: EntityManager: successfully pooled entity with id wheel_1 , entity: EntityBase_QMLTYPE_199(0x788b380, "wheel_1")
    qml: EntityManager: pooled entity position: 0 0 , entity.visible: false
    qml: EntityManager: just removed entity with id wheel_2 and type wheel from active entities
    qml: EntityManager: to pool entityType: wheel
    qml: EntityManager: successfully pooled entity with id wheel_2 , entity: EntityBase_QMLTYPE_199(0x79cb290, "wheel_2")
    qml: EntityManager: pooled entity position: 0 0 , entity.visible: false
    qml: EntityManager: just removed entity with id wheel_3 and type wheel from active entities
    qml: EntityManager: to pool entityType: wheel
    qml: EntityManager: successfully pooled entity with id wheel_3 , entity: EntityBase_QMLTYPE_199(0x79d0dd0, "wheel_3")
    qml: EntityManager: pooled entity position: 0 0 , entity.visible: false
    qml: EntityManager: just removed entity with id wheel_4 and type wheel from active entities
    qml: EntityManager: to pool entityType: wheel
    qml: EntityManager: successfully pooled entity with id wheel_4 , entity: EntityBase_QMLTYPE_199(0x79d75c0, "wheel_4")
    qml: EntityManager: pooled entity position: 0 0 , entity.visible: false
    qml: EntityManager: just removed entity with id henhouseWindow_0 and type henhouseWindow from active entities
    qml: EntityManager: to pool entityType: henhouseWindow
    qml: EntityManager: successfully pooled entity with id henhouseWindow_0 , entity: HenhouseWindow_QMLTYPE_282(0x79e1220, "henhouseWindow_0")
    qml: EntityManager: pooled entity position: 0 0 , entity.visible: false
    qml: EntityManager: just removed entity with id henhouseWindow_1 and type henhouseWindow from active entities
    qml: EntityManager: to pool entityType: henhouseWindow
    qml: EntityManager: successfully pooled entity with id henhouseWindow_1 , entity: HenhouseWindow_QMLTYPE_282(0x79e5640, "henhouseWindow_1")
    qml: EntityManager: pooled entity position: 0 0 , entity.visible: false
    qml: EntityManager: just removed entity with id henhouseWindow_2 and type henhouseWindow from active entities
    qml: EntityManager: to pool entityType: henhouseWindow
    qml: EntityManager: successfully pooled entity with id henhouseWindow_2 , entity: HenhouseWindow_QMLTYPE_282(0x78917d0, "henhouseWindow_2")
    qml: EntityManager: pooled entity position: 0 0 , entity.visible: false
    qml: EntityManager: just removed entity with id henhouseWindow_3 and type henhouseWindow from active entities
    qml: EntityManager: to pool entityType: henhouseWindow
    qml: EntityManager: successfully pooled entity with id henhouseWindow_3 , entity: HenhouseWindow_QMLTYPE_282(0x7895ee0, "henhouseWindow_3")
    qml: EntityManager: pooled entity position: 0 0 , entity.visible: false
    qml: EntityManager: just removed entity with id henhouseWindow_4 and type henhouseWindow from active entities
    qml: EntityManager: to pool entityType: henhouseWindow
    qml: EntityManager: successfully pooled entity with id henhouseWindow_4 , entity: HenhouseWindow_QMLTYPE_282(0x789a830, "henhouseWindow_4")
    qml: EntityManager: pooled entity position: 0 0 , entity.visible: false
    The program has unexpectedly finished.

    When it does work, this is part of logs which should happen but doesn’t when it crashes:

    qml: EntityManager: pooled entity position: 0 0 , entity.visible: false
    qml: VPGN: in initialize, read userData from storage: {"allowAutoLocaleDetection":true,"authenticationToken":"stgOAH2syMz3BhoqK2EUb9rBn7Er97j","blocked":false,"customData":"","deviceId":"3255154235","facebookId":"","facebookToken":"","facebookTokenValid":false,"gender":"","nickName":"","profileImageUrl":"","ranking":-1,"timestamp":28,"userId":8949926}
    qml: VPGN: read storedOfflineSendingQueue at app startup: []
    qml: VPGN: autoLogin was true, so authenticate the last logged in player stored locally in a database
    qml: VPGN: a valid user was found, no need to call login for user 8949926 with token: stgOAH2syMz3BhoqK2EUb9rBn7Er97j and timestamp: 28
    qml: VPGN: userGotAuthenticated()

    Looks like it breaks around the VPGN calls.
    Does it happen for you as well?

    PS. I applied the Flurry fix but doesn’t change anything.

    #16936

    Alex
    Felgo Team

    Hi Marcin,

    it does not happen for me, neither on Windows, macOS or Linux. It looks like it is happening around the pooling of the entities, as there are a couple of items that are getting pooled missing in the logs with the crash. We will need to have a closer look into this, thanks for reporting.

    Cheers,
    Alex

    #16937

    Marcin

    Hi Alex,

    It is not a big deal for me just maybe, like you mentioned, something more is going on here.
    Fortunately it is specific to this one demo.
    I had some issues with Squaby demo, but don’t have time to double check if it’s still happening.
    If I find some time and there will be an issue with Squaby will create a separate topic.

    Thank you for feedback.

Viewing 6 posts - 1 through 6 (of 6 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded