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

QFlags attempts eventfd_write and segfaults on android

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P1: Critical
    • Resolution: Unresolved
    • Affects Version/s: 6.1.1
    • Fix Version/s: 6.x
    • Component/s: QML: Tooling
    • Platform/s:
      Android

      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

          Issue Links

          For Gerrit Dashboard: QTBUG-94148
          # Subject Branch Project Status CR V

            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:

                  Gerrit Reviews

                  There is 1 open Gerrit change