Uploaded image for project: 'Qt Automotive Suite'
  1. Qt Automotive Suite
  2. AUTOSUITE-925

Starting application right after state changed to NotRunning leads to segfault

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 5.13.0
    • 5.12.1
    • Qt Application Manager
    • None
    • Xubuntu 16.04
    • Linux/Wayland

    Description

      Starting application in ApplicationModel.qml inĀ 

      onApplicationRunStateChanged leads to segfault and whole UI crashes:

      onApplicationRunStateChanged: {
                  var appInfo = root.applicationFromId(id);
                  if (!appInfo) {
                      return;
                  }
      
                  if (runState === ApplicationObject.NotRunning) {
                      if (appInfo)
                          appInfo.start()
                  }
              }
      

      container pointer is not set and accessed in applicationmanager.cpp (line 840)

      Attachments

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

        Activity

          People

            rgriebl Robert Griebl
            e.nemtsev Egor Nemtsev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes