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

QFlags attempts eventfd_write and segfaults on android

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Fixed
    • Affects Version/s: 6.1.1
    • Fix Version/s: 6.3
    • Component/s: QML: Tooling
    • Platform/s:
      Android
    • Sprint:
      2021wk24PO2, 2021wk26PO2, 2021wk36POAndroid&Mobile, 2021wk38POAndroid&Mobile, 2021wk42POAndroid&Mobile, 2021wk44POAndroid&Mobile, 2021wk46POAndroid&Mobile, 2021wk48POAndroid&Mobile, 2021wk50POAndroid&Mobile

      Description

      When trying to run QMLBench on android, a new QProcess is created and is started with start()

       

      p->start(app.arguments().constFirst(), sanitizedArgCopy);

      This immediately segfaults.
      Debugging leads to qflags.h:115

      Name Value Type
      flags QIODeviceBase::ReadWrite (3) QIODeviceBase::OpenModeFlag
      this QIODeviceBase::Append (0x0004) QFlags<QIODeviceBase::OpenModeFlag>

      From here, all I can do is look at the disasembly and see that eventfd_write is called at some point, which is the originator of the segfault.

      Backtrace attached.

       

        Attachments

        1. backtrace.txt
          94 kB
          Daniel Smith

          Issue Links

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

            Activity

              People

              Assignee:
              villevoutilainen_qt Ville Voutilainen
              Reporter:
              daniel.smith Daniel Smith
              PM Owner:
              Veli-Pekka Heinonen Veli-Pekka Heinonen
              RnD Owner:
              Rami Potinkara Rami Potinkara
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes