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

QFlags attempts eventfd_write and segfaults on android

    XMLWordPrintable

Details

    • Android
    • 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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: