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

Inline compoment in file with specefic filename gives segmentation fault

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • None
    • 5.15.4
    • None
    • Linux/Wayland, Linux/X11

    Description

      Getting Segfault when executing this file second time. `touch`ing it solves it but it segaults again in next run. qml cache in .cache also works https://invent.kde.org/-/snippets/2237

      ❯ qmlscene Behavior.qml
      zsh: segmentation fault (core dumped) qmlscene Behavior.qml

      ❯ touch Behavior.qml
      ❯ qmlscene Behavior.qml
      ^C
      ❯ qmlscene Behavior.qml
      zsh: segmentation fault (core dumped) qmlscene Behavior.qml
      ❯ touch Behavior.qml
      ❯ qmlscene Behavior.qml
      ^C
      ❯ touch Behavior.qml
      ❯ qmlscene Behavior.qml
      ^C
      ❯ qmlscene Behavior.qml
      zsh: segmentation fault (core dumped) qmlscene Behavior.qml

      ^C means no Segfault

       File must be named Behavior.qml. Files with other names are not giving me continuous segfaults.

      EDIT: File must be named with one of following:- https://doc.qt.io/qt-6/qtquick-qmlmodule.html#object-types

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            smitpatil Smit Patil
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes