Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-33718

Stack overflow in Android

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 17.0.0, Qt Creator 18.0.0, Qt Creator 19.0 (master branch)
    • Android Support
    • None
    • Windows

      From Sentry: https://the-qt-company-00.sentry.io/share/issue/ee3af70d1eff4a9c8ec32f168831917c/

      From what I can tell, the setupDevicesWatcher can lead to a stack overflow:

      The call to "handleDevicesListChange" will trigger a call to "emulatorName()" which will start a Process::runBlocking, which can in turn trigger the "readyRead" signal of the device watcher process again (and again, and again).

      While this is not an endless loop, the deep stack seems to be able to grow beyond the available stack size. Probably a delayed "handleDevicesListChange" would work around this problem.

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

            portale Alessandro Portale
            madwinter Marcus Tillmanns
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes