Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-65521

JIT causes segfaults on ARM code

    XMLWordPrintable

Details

    Description

      Steps to reproduce:

      1. Compile dev branch for qtbase+qtdeclarative+qtgraphicaleffects
      2. Disable SKIP_INNERSHADOW_TEST from in qtgraphicaleffects/tests/auto/auto.pro
      3. Compile qtgraphicaleffects/tests/auto/
      4. Run qtgraphicaleffects/tests/auto/tst_qtgraphicaleffects
        • Reproduces on both apalis-imx6 HW and qemu-environment

      Expected outcome:

      • Test passes

      Actual

      • Test crashes (see crashlog.txt)

      Workaround:

      • Run the test with:
        • QV4_JIT_CALL_THRESHOLD=100 ./tst_qtgraphicaleffects

      More information:

      • This commit is the first one after which this started happening:
      • commit 3658f534cb1947663d29b9db00dcced462674aed
        Author: Erik Verbruggen <erik.verbruggen@qt.io>
        Date:   Tue Nov 14 10:45:06 2017 +0100
        
            V4: Add a baseline JIT
            
            This patch add a JIT back in for all platforms that supported JITting
            before, with the exception of MIPS.
            
            Change-Id: I51bc5ce3a2ac40e0510bd72a563af897c5b60343
            Reviewed-by: Lars Knoll <lars.knoll@qt.io>
        
        
      • This bug also is the root cause behind failing qtquickcontrols tests that had to be disabled with 3be9ca58af5a011fdd20a7aba608781865544e01

      Attachments

        1. crashlog.txt
          16 kB
        2. gdbtrace.txt
          15 kB
        3. debug_bt.txt
          5 kB
        4. debug_gdblog.txt
          16 kB

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              shausman Simon Hausmann
              sanurmen Sami Nurmenniemi
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes