Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Segfault crash

Discussion in 'Android' started by livingtarget, Mar 16, 2016.

  1. livingtarget

    livingtarget

    Joined:
    Apr 21, 2015
    Posts:
    83
    Hey,

    Our app has been running fine on my Android device for a while now, but I'm getting some strange crashes now. It happens during async scene transitions. Restarting my phone makes the problem disappear, which is even stranger.

    It seems to crash in /system/lib/libc.so from a libunity call.

    Anyone have any clues about this one? It may have had something to do with moving the app to the SD card.

    Phone: Samsung S4 mini
    Unity: 5.3.3p3

     
    Last edited: Mar 16, 2016
  2. Yury-Habets

    Yury-Habets

    Unity Technologies

    Joined:
    Nov 18, 2013
    Posts:
    1,167
    What do you mean by "but I'm getting some strange crashes now"? Did it start to crash with recent Unity version after you upgraded? Does it happen on other devices that you can access?
     
  3. livingtarget

    livingtarget

    Joined:
    Apr 21, 2015
    Posts:
    83
    I should have been more clear.
    • This crash never happened before
    • This build ran fine on one other android device
    • We upgraded to the 5.3.3p3 from 5.3.3p2
    • I moved my app to the SD card
    • I fixed it by uninstalling the app completely and installing a new build
     
  4. Yury-Habets

    Yury-Habets

    Unity Technologies

    Joined:
    Nov 18, 2013
    Posts:
    1,167
    Thank you for the clarification.

    The crash call stack does not contain symbols, so we can't get any useful info from it. Does logcat contain any useful information before the crash?

    We can investigate it if you submit a bug report with the project, given that we can reproduce it. If you cannot reproduce it anymore after reinstalling the app - then it probably does not make sense to waste your time anymore.
     
  5. livingtarget

    livingtarget

    Joined:
    Apr 21, 2015
    Posts:
    83
    There wasn't anything that I could see pointing to issues in the logcat. I will keep an eye on it and see if I can reproduce it with a build that has script debugging enabled.
     
    Yury-Habets likes this.