Uploaded image for project: 'Crosswalk Project'
  1. Crosswalk Project
  2. XWALK-1778

Suddenly crash of Android app in one of the loadings of browser

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1
    • Resolution: Incomplete
    • Affects Version/s: Crosswalk 7, Crosswalk 10, Crosswalk 11, Crosswalk 14
    • Fix Version/s: None
    • Environment:

      Xiaomi MI3 MIUIv5 XWalkWebViewAndroidArm 7.35.140.0

      Description

      The application suddently and randomly crashes at one of the browser loadings after changing rotation. The problem I think is a lack of memory of the GPU which I don't know if is due to a bad design of my model or because the webview is leaking memory at each reload.

      Please find attached the logfile, the last two lines appear after it crashes.

      Reproduce Test Steps
      ====================
      goto:
      http://chacal.github.io/phaser_nexus_test/
      try tap the canvas a few times repeatedly.
      it should crash any browser.

      Expected Outcome
      ================
      no crash or close the app
      At least a nice exit.
      or even better catch-able in JS
      BEST no problem at all.

      Actual Outcome
      ==============
      crashed and close the app

      Test Case Source Code
      =====================
      It is basically helloworld demo from
      https://crosswalk-project.org/documentation/cordova/cordova_4.html
      With config.xml changes to
      http://pastebin.com/VK07Ct3E
      src:
      https://github.com/AdrianDroid/DemoXTalkCrash

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                whz Hengzhi Wu (Inactive)
                Reporter:
                xavigg Xavier Gibert (Inactive)
              • Votes:
                1 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: