Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt Application crashing with IBM rational purify.

Qt Application crashing with IBM rational purify.

Scheduled Pinned Locked Moved General and Desktop
7 Posts 3 Posters 3.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    prem
    wrote on last edited by
    #1

    Hi,
    We have developed an GUI using QT. While running this application using IBM Rational Purify applications crashes.
    Qt version 4.8.1.

    Regards,
    Prem

    1 Reply Last reply
    0
    • C Offline
      C Offline
      ChrisW67
      wrote on last edited by
      #2

      What exactly do you expect us to do with this?

      1 Reply Last reply
      0
      • P Offline
        P Offline
        prem
        wrote on last edited by
        #3

        I wanted to know why its crashing while running purify? is it issue with QT version ??? as anyone tested using purify ???? faced similar issues????

        Regards,
        Prem

        1 Reply Last reply
        0
        • D Offline
          D Offline
          dbzhang800
          wrote on last edited by
          #4

          Hi,

          I think that no one can help without any source code.

          1 Reply Last reply
          0
          • P Offline
            P Offline
            prem
            wrote on last edited by
            #5

            hi,
            I m getting memeory leaks in Qt Dll's.
            following in UMC log.

            [W] UMC: Uninitialized memory copy in QMutexData::QMutexData(RecursionMode::QMutex) {1 occurrence}
            Copying 4 bytes from 0x049aaadc (4 bytes at 0x049aaadc uninitialized)
            Address 0x049aaadc is 4 bytes into a 40 byte block at 0x049aaad8
            Address 0x049aaadc points to a C++ new block in heap 0x049a0000
            Thread ID: 0x15f0
            Error location
            QMutexData::QMutexData(RecursionMode::QMutex) [c:\QT\4.8.1\BIN\QTCORED4.DLL:95]
            QMutexPrivate::QMutexPrivate(RecursionMode::QMutex) [c:\iwmake\build_vs2010_opensource_________________PADDING_________________\src\corelib\tmp\obj\debug_shared\qmutex_win.obj:52]
            QMutex::QMutex(RecursionMode::QMutex) [c:\iwmake\build_vs2010_opensource_________________PADDING_________________\src\corelib\tmp\obj\debug_shared\qmutex.obj:126]
            dynamic initializer for 'qt_adopted_thread_watcher_mutex'' [C:\QT\4.8.1\BIN\QTCORED4.DLL:159] CRT_INIT [C:\QT\4.8.1\BIN\QTCORED4.DLL:284] _DllMainCRTStartup [C:\QT\4.8.1\BIN\QTCORED4.DLL:506] DllMainCRTStartup [C:\QT\4.8.1\BIN\QTCORED4.DLL:476] Allocation location new(UINT) [C:\QT\4.8.1\BIN\QTCORED4.DLL] QMutex::QMutex(RecursionMode::QMutex) [c:\iwmake\build_vs2010_opensource_________________PADDING_________________\src\corelib\tmp\obj\debug_shared\qmutex.obj:126] dynamic initializer for 'qt_adopted_thread_watcher_mutex'' [C:\QT\4.8.1\BIN\QTCORED4.DLL:159]
            CRT_INIT [C:\QT\4.8.1\BIN\QTCORED4.DLL:284]
            _DllMainCRTStartup [C:\QT\4.8.1\BIN\QTCORED4.DLL:506]
            DllMainCRTStartup [C:\QT\4.8.1\BIN\QTCORED4.DLL:476]
            [W] UMC: Uninitialized memory copy in QMutexData::QMutexData(RecursionMode::QMutex) {1 occurrence}
            Regards,
            prem

            1 Reply Last reply
            0
            • D Offline
              D Offline
              dbzhang800
              wrote on last edited by
              #6

              Hi,

              Can you reproduce this problem using a very simply Qt application or using one of the examples provided by Qt?

              1 Reply Last reply
              0
              • P Offline
                P Offline
                prem
                wrote on last edited by
                #7

                Hi,
                I tried with one of the Qt example , i used configdialog.exe from dialog example.
                Below is the UMC log for the same.

                [I] Starting Purify'd C:\Documents and Settings\user\Desktop\dialogs\configdialog\debug\configdialog.exe at 7/12/2013 11:16:30
                [I] Starting main
                [O] Pure: Purify requires that a module from the Microsoft DIA SDK be installed in order to provide details about symbolic data in the code being analyzed.
                [W] UMR: Uninitialized memory read in QString::QString(int,Initialization::Qt) {1 occurrence}
                Reading 2 bytes from 0x0494bef0 (2 bytes at 0x0494bef0 uninitialized)
                Address 0x0494bef0 is 16 bytes into a 652 byte block at 0x0494bee0
                Address 0x0494bef0 points to a malloc'd block in heap 0x04940000
                Thread ID: 0x1614
                Error location
                QString::QString(int,Initialization::Qt) [c:\iwmake\build_vs2010_opensource_________________PADDING_________________\src\corelib\tmp\obj\debug_shared\qstring.obj:1145]
                QUtf16::convertToUnicode(char const*,int,ConverterState::QTextCodec ,DataEndianness) [c:\iwmake\build_vs2010_opensource_________________PADDING_________________\src\corelib\tmp\obj\debug_shared\qutfcodec.obj:331]
                QString::fromUtf16(WORD const
                ,int) [c:\iwmake\build_vs2010_opensource_________________PADDING_________________\src\corelib\tmp\obj\debug_shared\qstring.obj:4049]
                QString::fromWCharArray(WORD const*,int) [c:\iwmake\build_vs2010_opensource_________________PADDING_________________\src\corelib\tmp\obj\debug_shared\qstring.obj:964]
                WinMain [.\tmp\obj\debug_shared\qtmain_win.obj:93]
                tmainCRTStartup [C:\Documents and Settings\pkbalakrishnan\Desktop\dialogs\configdialog\debug\configdialog.exe:547]
                WinMainCRTStartup [C:\Documents and Settings\pkbalakrishnan\Desktop\dialogs\configdialog\debug\configdialog.exe:370]
                Allocation location
                malloc [C:\WINDOWS\SYSTEM32\MSVCR100D.DLL]
                qMalloc(UINT) [c:\iwmake\build_vs2010_opensource_________________PADDING
                ________________\src\corelib\tmp\obj\debug_shared\qmalloc.obj:55]
                QString::QString(int,Initialization::Qt) [c:\iwmake\build_vs2010_opensource_________________PADDING_________________\src\corelib\tmp\obj\debug_shared\qstring.obj:1141]
                QUtf16::convertToUnicode(char const*,int,ConverterState::QTextCodec ,DataEndianness) [c:\iwmake\build_vs2010_opensource_________________PADDING_________________\src\corelib\tmp\obj\debug_shared\qutfcodec.obj:331]
                QString::fromUtf16(WORD const
                ,int) [c:\iwmake\build_vs2010_opensource_________________PADDING_________________\src\corelib\tmp\obj\debug_shared\qstring.obj:4049]
                QString::fromWCharArray(WORD const*,int) [c:\iwmake\build_vs2010_opensource_________________PADDING_________________\src\corelib\tmp\obj\debug_shared\qstring.obj:964]
                WinMain [.\tmp\obj\debug_shared\qtmain_win.obj:93]
                _tmainCRTStartup [C:\Documents and Settings\pkbalakrishnan\Desktop\dialogs\configdialog\debug\configdialog.exe:547]
                WinMainCRTStartup [C:\Documents and Settings\pkbalakrishnan\Desktop\dialogs\configdialog\debug\configdialog.exe:370]
                [I] Program terminated at 7/12/2013 11:16:35

                Regards,
                Prem

                1 Reply Last reply
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved