Forums

OverviewFelgo 2 Support (Qt 5) › Segmentation fault?

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

    Ginzo Milani

    While running under live code reload, debug mode with android I have to wait a random amount of time before proceeding to a specific scene otherwise the app crashes and I get a segmentation fault, the scene is not loaded externally either. This also occurs when I press certain buttons too at seemingly random. When running the cached version, it works better but occasionally also has a segmentation fault.

     

    Here’s an example of one of the android crash logs:

     

    https://del.dog/oyakohitid.md

    #21621

    Günther
    Felgo Team

    Hi,

    Does this also happen with other applications?

    Can you provide a minimum project example with only a simple setup, that allows to reproduce the issue?

    Best,
    Günther

    #21628

    Ginzo Milani

    It does not occur with other applications, it depends on which computer compiles it and strangely enough, recompiling/rebuiling the entire app actually does fix it for awhile, so it seems to be some sort of issue with the live reloading. It would be tremendously helpful if there was a way to follow these crashes, but instead the live reloading app crashes completely on the phone and the server acts as if nothing happened( it doesn’t give any error or prompt)

    #21655

    Günther
    Felgo Team

    So the crashes are seemingly random and also depend on which computer compiles the app? Do you compile your own Live Client app for the project, did you actually mean that it depends on the computer that runs the Live Server (which sends the QML files to the client for live preview)?

    Does it only crash on Android or also on other platforms (Desktop, iOS?)

    Best,
    Günther

    #21658

    Ginzo Milani

    I do compile my own live client app, I’ve narrowed down the crashes to the audio files/resources.qrc, depending on the audio file I add (I am following the formats supported so .wav/.mp3), they will cause a segmentation fault. This may be coincidental though.

    #21659

    Alex
    Felgo Team
Viewing 6 posts - 1 through 6 (of 6 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support