Qt Application crashing with IBM rational purify.



  • 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



  • What exactly do you expect us to do with this?



  • 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



  • Hi,

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



  • 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



  • Hi,

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



  • 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


Log in to reply
 

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