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

QT Quick MessageDialog crash

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.7.2, 5.15.0
    • Fix Version/s: None
    • Component/s: Quick: Dialogs
    • Labels:
      None
    • Environment:

      Debian (GNU Linux 9.13 stretch)

      Qt version: 5.15.0 GCC 64 bit
      C++ compiler: GCC (C++, x86 64bit)
      C compiler : GCC (C, x86 64 bit)
      CMake 3.17.1 (Qt)
    • Platform/s:
      Linux/X11, Linux/Other display system

      Description

      Hi !

      I found a problem when using the "MessageDialog" object during testing.

      At the very beginning, I noticed that after a number of clicks on buttons, I was losing data (mostly from lists of pointers who I get some data). After hours and hours of tests, I see the MessageDialog is the cause of data lost and crash.

      I created an another project and I can confirm it.

      When I click  ~80 times a button to get a value from list of pointers (or to get list size), some or all data disappear and make a segment fault during execution. I put an example project, I have set an example project to reproduce the problem.

      I don't know why the data is lost and only when a MessageDialog is in qml file.

      Steps to reproduce :

      • Launch the application
      • Click ~80 times the button (less or than, It depends)
      • Data loss (I can see this in debug)
      • Segmentation fault

      I put in a project where the problem appears.

      I hope the problem will be found soon, it's very disturbing !

      Thank you,

      Sincerely

        Attachments

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

          Activity

            People

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            yohannlog Yohann CATHERINE
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes