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

Valgrind analysis gives no results: "parsing finished, no data"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • Qt Creator 4.5.0-rc1
    • Qt Creator 4.3.1
    • None
    • a02ee529ef3f172556b8b3fb73683959bedf8e1d

    Description

      Steps to reproduce:

      1. Create a new Qt Quick application
      2. Switch to a Profile build
      3. Switch to Callgrind in the debugger combobox
      4. Start analysing
      5. Once the application has run for a couple of seconds, click "Stop" (as documented here) - it will say "Parsing finished, no data" and won't give any profiling results.

      Application output:

      Profiling /home/mitch/dev/temp/quick-Desktop_Qt_5_9_1_GCC_64bit2-Profile/quick
      ==5696== Callgrind, a call-graph generating cache profiler
      ==5696== Copyright (C) 2002-2017, and GNU GPL'd, by Josef Weidendorfer et al.
      ==5696== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
      ==5696== Command: /home/mitch/dev/temp/quick-Desktop_Qt_5_9_1_GCC_64bit2-Profile/quick
      ==5696== 
      ==5696== For interactive control, run 'callgrind_control -h'.
      QML debugging is enabled. Only use this in a safe environment.
      ==5696== brk segment overflow in thread #1: can't grow to 0x576b000
      ==5696== (see section Limitations in user manual)
      ==5696== NOTE: further instances of this message will not be shown
      ==5696== 
      ==5696== Process terminating with default action of signal 15 (SIGTERM)
      ==5696==    at 0x6DCA2AB: ??? (syscall-template.S:84)
      ==5696==    by 0xA6AF791: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.2)
      ==5696==    by 0x627D31D: QCoreApplication::postEvent(QObject*, QEvent*, int) (in /home/mitch/dev/qt-unified/5.9.1/gcc_64/lib/libQt5Core.so.5.9.1)
      ==5696==    by 0x62A42CF: QMetaObject::activate(QObject*, int, int, void**) (in /home/mitch/dev/qt-unified/5.9.1/gcc_64/lib/libQt5Core.so.5.9.1)
      ==5696==    by 0xD8565D4: ??? (in /home/mitch/dev/qt-unified/5.9.1/gcc_64/lib/libQt5XcbQpa.so.5.9.1)
      ==5696==    by 0x60AB849: ??? (in /home/mitch/dev/qt-unified/5.9.1/gcc_64/lib/libQt5Core.so.5.9.1)
      ==5696==    by 0x74356B9: start_thread (pthread_create.c:333)
      ==5696==    by 0x6DDA3DC: clone (clone.S:109)
      ==5696== 
      ==5696== Events    : Ir
      ==5696== Collected : 203830788
      ==5696== 
      ==5696== I   refs:      203,830,788
      The program has unexpectedly finished.
      Process terminated.
      Analyzing finished.
      

      Attachments

        For Gerrit Dashboard: QTCREATORBUG-19004
        # Subject Branch Project Status CR V

        Activity

          People

            orgads Orgad Shaneh
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes