Qt Quick VS DrMemory



  • Hi,
    I'm just creating new QtQuick project, compiling / deploying.
    If i run that empty application with DrMemory i have this output :

    Dr. Memory version 1.11.0 build 2 built on Aug 29 2016 02:42:07
    Dr. Memory results for pid 6400: "untitled.exe"
    Application cmdline: ""C:\Users\user\Desktop\DEPEND - DBG_INFO\untitled.exe""
    Recorded 115 suppression(s) from default C:\Users\user\Desktop\DrMemory-Windows-1.11.0-2\bin\suppress-default.txt
    
    Error #1: UNINITIALIZED READ: reading 0x0028db84-0x0028db88 4 byte(s) within 0x0028db80-0x0028db88
    # 0 system call NtUserTrackMouseEvent parameter value #0
    # 1 qwindows.dll!?                                                    +0x0      (0x6aa9addd <qwindows.dll+0x1addd>)
    # 2 qwindows.dll!?                                                    +0x0      (0x6ab9a93a <qwindows.dll+0x11a93a>)
    # 3 qwindows.dll!?                                                    +0x0      (0x6aa91643 <qwindows.dll+0x11643>)
    # 4 USER32.dll!gapfnScSendMessage                                     +0x331    (0x764c62fa <USER32.dll+0x162fa>)
    # 5 USER32.dll!GetThreadDesktop                                       +0xd6     (0x764c6d3a <USER32.dll+0x16d3a>)
    # 6 USER32.dll!GetClientRect                                          +0xc4     (0x764d0d3f <USER32.dll+0x20d3f>)
    # 7 USER32.dll!CallWindowProcW                                        +0x1a     (0x764d0d65 <USER32.dll+0x20d65>)
    # 8 OPENGL32.dll!wglSwapBuffers                                       +0x2d9    (0x6c8c60fb <OPENGL32.dll+0x460fb>)
    # 9 USER32.dll!gapfnScSendMessage                                     +0x331    (0x764c62fa <USER32.dll+0x162fa>)
    #10 USER32.dll!GetThreadDesktop                                       +0xd6     (0x764c6d3a <USER32.dll+0x16d3a>)
    #11 USER32.dll!CharPrevW                                              +0x137    (0x764c77c4 <USER32.dll+0x177c4>)
    #12 USER32.dll!DispatchMessageW                                       +0xe      (0x764c788a <USER32.dll+0x1788a>)
    #13 Qt5Core.dll!?                                                     +0x0      (0x68cabbf5 <Qt5Core.dll+0x22bbf5>)
    #14 qwindows.dll!?                                                    +0x0      (0x6aaf1427 <qwindows.dll+0x71427>)
    #15 Qt5Core.dll!?                                                     +0x0      (0x68c580e1 <Qt5Core.dll+0x1d80e1>)
    #16 Qt5Core.dll!?                                                     +0x0      (0x68c60952 <Qt5Core.dll+0x1e0952>)
    #17 qMain                                                              [../untitled/main.cpp:17]
    #18 WinMain@16                                                         [release/qrc_qml.cpp:83]
    #19 main                                                               [../../../../../src/gcc-5.3.0/libgcc/config/i386/cygwin.S:184]
    Note: @0:01:14.527 in thread 7564
    
    Error #2: LEAK 16 direct bytes 0x027ed4b8-0x027ed4c8 + 850 indirect bytes
    # 0 replace_operator_new               [d:\drmemory_package\common\alloc_replace.c:2899]
    # 1 Qt5Qml.dll!?                      +0x0      (0x66424fdc <Qt5Qml.dll+0x164fdc>)
    # 2 Qt5Qml.dll!?                      +0x0      (0x664264b8 <Qt5Qml.dll+0x1664b8>)
    # 3 Qt5Qml.dll!?                      +0x0      (0x66427060 <Qt5Qml.dll+0x167060>)
    # 4 Qt5Qml.dll!?                      +0x0      (0x664272fe <Qt5Qml.dll+0x1672fe>)
    # 5 Qt5Qml.dll!?                      +0x0      (0x663fed09 <Qt5Qml.dll+0x13ed09>)
    # 6 Qt5Qml.dll!?                      +0x0      (0x66400183 <Qt5Qml.dll+0x140183>)
    # 7 Qt5Qml.dll!?                      +0x0      (0x66401886 <Qt5Qml.dll+0x141886>)
    # 8 Qt5Qml.dll!?                      +0x0      (0x663f9006 <Qt5Qml.dll+0x139006>)
    # 9 Qt5Qml.dll!?                      +0x0      (0x663f996d <Qt5Qml.dll+0x13996d>)
    #10 Qt5Qml.dll!?                      +0x0      (0x663fa9fa <Qt5Qml.dll+0x13a9fa>)
    #11 Qt5Qml.dll!?                      +0x0      (0x663faa83 <Qt5Qml.dll+0x13aa83>)
    
    Error #3: LEAK 12 direct bytes 0x0280b1c8-0x0280b1d4 + 64 indirect bytes
    # 0 replace_operator_new               [d:\drmemory_package\common\alloc_replace.c:2899]
    # 1 Qt5Quick.dll!?                    +0x0      (0x06c82dd2 <Qt5Quick.dll+0x72dd2>)
    # 2 Qt5Quick.dll!?                    +0x0      (0x06c8310e <Qt5Quick.dll+0x7310e>)
    # 3 Qt5Quick.dll!?                    +0x0      (0x06c836c8 <Qt5Quick.dll+0x736c8>)
    # 4 Qt5Quick.dll!?                    +0x0      (0x06c8b99f <Qt5Quick.dll+0x7b99f>)
    # 5 Qt5Quick.dll!?                    +0x0      (0x06cf0c74 <Qt5Quick.dll+0xe0c74>)
    # 6 Qt5Quick.dll!?                    +0x0      (0x06d76b2b <Qt5Quick.dll+0x166b2b>)
    # 7 Qt5Quick.dll!?                    +0x0      (0x06e4e16a <Qt5Quick.dll+0x23e16a>)
    # 8 Qt5Qml.dll!?                      +0x0      (0x663f1bf9 <Qt5Qml.dll+0x131bf9>)
    # 9 Qt5Qml.dll!?                      +0x0      (0x664452e3 <Qt5Qml.dll+0x1852e3>)
    #10 Qt5Qml.dll!?                      +0x0      (0x66445ca0 <Qt5Qml.dll+0x185ca0>)
    #11 Qt5Qml.dll!?                      +0x0      (0x663dece0 <Qt5Qml.dll+0x11ece0>)
    
    Error #4: LEAK 28 direct bytes 0x02849978-0x02849994 + 0 indirect bytes
    # 0 replace_calloc                            [d:\drmemory_package\common\alloc_replace.c:2616]
    # 1 libwinpthread-1.dll!?                    +0x0      (0x64942fc4 <libwinpthread-1.dll+0x2fc4>)
    # 2 libwinpthread-1.dll!?                    +0x0      (0x649430f2 <libwinpthread-1.dll+0x30f2>)
    # 3 libwinpthread-1.dll!?                    +0x0      (0x6494c0a7 <libwinpthread-1.dll+0xc0a7>)
    # 4 ntdll.dll!RtlQueryEnvironmentVariable    +0x244    (0x77009284 <ntdll.dll+0x39284>)
    # 5 ntdll.dll!RtlUlonglongByteSwap           +0x7fb    (0x7704d59c <ntdll.dll+0x7d59c>)
    # 6 ntdll.dll!wcscspn                        +0xd6     (0x77041053 <ntdll.dll+0x71053>)
    # 7 ntdll.dll!RtlExitUserThread              +0x29     (0x770223f3 <ntdll.dll+0x523f3>)
    # 8 KERNEL32.dll!BaseThreadInitThunk         +0x18     (0x75843444 <KERNEL32.dll+0x13444>)
    
    Error #5: LEAK 32 direct bytes 0x0286df48-0x0286df68 + 0 indirect bytes
    # 0 replace_operator_new               [d:\drmemory_package\common\alloc_replace.c:2899]
    # 1 Qt5Quick.dll!?                    +0x0      (0x06cc8dcd <Qt5Quick.dll+0xb8dcd>)
    # 2 Qt5Gui.dll!?                      +0x0      (0x61ba3a0a <Qt5Gui.dll+0x63a0a>)
    # 3 Qt5Gui.dll!?                      +0x0      (0x61ba59b8 <Qt5Gui.dll+0x659b8>)
    # 4 Qt5Gui.dll!?                      +0x0      (0x61ba59b8 <Qt5Gui.dll+0x659b8>)
    # 5 Qt5Gui.dll!?                      +0x0      (0x61b84bcf <Qt5Gui.dll+0x44bcf>)
    # 6 qwindows.dll!?                    +0x0      (0x6aaf1458 <qwindows.dll+0x71458>)
    # 7 USER32.dll!gapfnScSendMessage     +0x331    (0x764c62fa <USER32.dll+0x162fa>)
    # 8 USER32.dll!GetThreadDesktop       +0xd6     (0x764c6d3a <USER32.dll+0x16d3a>)
    # 9 USER32.dll!CharPrevW              +0x137    (0x764c77c4 <USER32.dll+0x177c4>)
    #10 USER32.dll!DispatchMessageW       +0xe      (0x764c788a <USER32.dll+0x1788a>)
    #11 Qt5Core.dll!?                     +0x0      (0x68cabbf5 <Qt5Core.dll+0x22bbf5>)
    
    ===========================================================================
    FINAL SUMMARY:
    
    DUPLICATE ERROR COUNTS:
    	Error #   1:      5
    	Error #   2:      2
    
    SUPPRESSIONS USED:
    
    ERRORS FOUND:
          0 unique,     0 total unaddressable access(es)
          1 unique,     5 total uninitialized access(es)
          0 unique,     0 total invalid heap argument(s)
          0 unique,     0 total GDI usage error(s)
          0 unique,     0 total handle leak(s)
          0 unique,     0 total warning(s)
          4 unique,     5 total,   1842 byte(s) of leak(s)
          0 unique,     0 total,      0 byte(s) of possible leak(s)
    ERRORS IGNORED:
        295 potential error(s) (suspected false positives)
             (details: C:\Users\user\Desktop\DrMemory-Windows-1.11.0-2\drmemory\logs\DrMemoryuntitled.exe.6400.000\potential_errors.txt)
         56 potential leak(s) (suspected false positives)
             (details: C:\Users\user\Desktop\DrMemory-Windows-1.11.0-2\drmemory\logs\DrMemory-untitled.exe.6400.000\potential_errors.txt)
       1104 unique,  7542 total, 2824238 byte(s) of still-reachable allocation(s)
            
    

    Is this normal to have uninitialized access / leaks with an empty app (just a Window) ?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.