[solved]this application requested the runtime to terminate it in an unusual way



  • hi
    I'm trying to run an executable file of a qt based application but I get this error :
    this application requested the runtime to terminate it in an unusual way
    I know this is the same topic with this one :
    https://forum.qt.io/topic/24553/this-application-has-requested-the-runtime-to-terminate-it-in-an-unusual-way
    but I did everything that they said in that topic and still I getting this error. I'm using qt 5.4.1 mingw with window 7 64bit
    thank you



  • Hi,

    You can use Dependency walker to check if the application is missing any dlls to be copied at the exe path/folder.

    Regards
    Sam



  • dear @Sam
    I used that application and copied all the dlls that I need and error doesn't say missing dll I can't find why this error happens!


  • Moderators

    Hi,

    @Hamed said:

    this application requested the runtime to terminate it in an unusual way

    This is a very generic message that means "your program crashed". There are many possible reasons. To find out what caused the crash, use a Debugger.

    Can you run your program from inside Qt Creator?



  • @JKSH
    yes it works properly in both debug and release mode. how can it crashes by running .exe file?



  • Did you try this



  • @Sam
    you mean that youtube video?
    yes I already tried that one. nothing changed!


  • Moderators

    @Hamed said:

    @JKSH
    yes it works properly in both debug and release mode. how can it crashes by running .exe file?

    If it runs correctly in Qt Creator but crashes when you open the .exe file, that means you haven't deployed your application correctly. Follow the instructions at http://wiki.qt.io/Deploy_an_Application_on_Windows carefully.



  • @Hamed

    There is a link in the search results where they discuss

    under Windows Search Properties>Recovery>"Restart service after:" somehow was changed from 0 to 1. I changed it back to 0 and everything is now back to normal.

    I agree with @JKSH


  • Moderators

    Hi @Sam,

    @Hamed

    There is a link in the search results where they discuss

    under Windows Search Properties>Recovery>"Restart service after:" somehow was changed from 0 to 1. I changed it back to 0 and everything is now back to normal.

    The message "this application requested the runtime to terminate it in an unusual way" is extremely generic and broad. It can be caused by many different problems (e.g. missing DLLs, programming error, or something completely different) I highly doubt that link is related to @Hamed's problem, because his program already runs correctly in Qt Creator.



  • @JKSH
    I don't think the problem is with deployment. I flowed instruction step by step.
    here is my .exe file folder and the way I deploy files :

    http://i60.tinypic.com/2po5dog.jpg



  • @Sam
    I read that topic and I don't think that is related to my case! problem should be somewhere else.



  • @JKSH
    my deployment was wrong?


  • Moderators

    @Hamed said:

    @JKSH
    I don't think the problem is with deployment. I flowed instruction step by step.
    here is my .exe file folder and the way I deploy files :

    http://i60.tinypic.com/2po5dog.jpg

    1. What version of Qt did you use?
    2. What compiler did you use?
    3. What is MapGraphics.dll?
    4. Why do you have both MSVC and MinGW DLLs in your folder?
    5. Did you rename your Qt folder to something like C:\QtHidden\ ?
    6. The wiki asked you to copy all DLLs from the <Qt>\bin\ folder. You don't have all of them.
    7. You shouldn't need system DLLs (glu32.dll, kernel32.dll, opengl32.dll, shell32.dll)


    1. Qt 5.4.1
    2. mingw
    3. this is map view costume library, It's needed
    4. I copied just mingw dll and I faced this problem. in some topics I read you need msvc dll and I copied it and it's not changed anything as I expect!
    5. No I thought renaming to QtHidden is for simulating your system with a system that don't have Qt! I have Qt and I have problem!
    6. I copied the dlls that dependency walker told it's needed! should I copy all of them?
    7. those dlls also recomended by dependency walker.
      suggest anything that you think might help me I will do that.

  • Moderators

    @Hamed

    1. Ok
    2. Ok
    3. Where did you download this from? Did you build this DLL yourself?
    4. To clarify: Do you mean you copied the MinGW DLL and it crashed? (Also, remove the MSVC DLL)
    5. No, renaming it will temporarily "remove" Qt from your system PATH. Try it.
    6. Dependency Walker does not show all the required DLLs by default. Please follow the Wiki instructions, and copy all of them. If you don't, it's difficult to help you.
    7. Windows system DLLs can always be found. You don't need to copy them. Remove them from your folder.

    If it still doesn't work, please post:

    1. Your .pro file
    2. The full path to where you got your Qt DLLs from? (for example, "C:\Qt\5.2.1\mingw48_32\bin")
    3. Answers to my questions above


    1. I download It from github and it's work properly! it's ran as an application by itself and I don't think that is the problem.
    2. no minGW was needed and lik other dlls I add it! at the end of adding all dlls this error happens.
    3. did it, Nothing changed
    4. did it, Nothing changed
    5. did it, Nothing changed :(

    1.how to post my .pro?
    2.C:\Qt\Qt5.4.1\5.4\mingw491_32\bin
    3.done


  • Moderators

    @Hamed said:

    1. I download It from github and it's work properly! it's ran as an application by itself and I don't think that is the problem.

    What's the github link?

    1. no minGW was needed and lik other dlls I add it! at the end of adding all dlls this error happens.

    I meant remove MSVC, not MinGW

    1. did it, Nothing changed
    2. did it, Nothing changed
    3. did it, Nothing changed :(

    :(

    1.how to post my .pro?

    Open it in Qt Creator. Copy the text in the file, and paste it here.

    2.C:\Qt\Qt5.4.1\5.4\mingw491_32\bin

    Ok, that's correct



    1. github link : https://github.com/raptorswing/MapGraphics
    2. no, nothing changes when I delete msvc dll
    3. by .pro you mean my root project .pro or subdirs .pro s? I have two subdirs and both have .pro file

  • Moderators

    @Hamed said:

    1. by .pro you mean my root project .pro or subdirs .pro s? I have two subdirs and both have .pro file

    Post all 3 of them



    1. root .pro :
    TEMPLATE = subdirs
    
    SUBDIRS += \
        Planner \
        MapGraphics
    Planner.depends += MapGraphics
    

    2.mapgraphics .pro :

    #-------------------------------------------------
    #
    # Project created by QtCreator 2012-03-03T10:50:47
    #
    #-------------------------------------------------
    
    QT       += network sql
    greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
    
    TARGET = MapGraphics
    TEMPLATE = lib
    
    DEFINES += MAPGRAPHICS_LIBRARY
    
    INCLUDEPATH += .
    
    SOURCES += MapGraphicsScene.cpp \
        MapGraphicsObject.cpp \
        MapGraphicsView.cpp \
        guts/PrivateQGraphicsScene.cpp \
        guts/PrivateQGraphicsObject.cpp \
        guts/Conversions.cpp \
        MapTileSource.cpp \
        tileSources/GridTileSource.cpp \
        guts/MapTileGraphicsObject.cpp \
        guts/PrivateQGraphicsView.cpp \
        tileSources/OSMTileSource.cpp \
        guts/MapGraphicsNetwork.cpp \
        tileSources/CompositeTileSource.cpp \
        guts/MapTileLayerListModel.cpp \
        guts/MapTileSourceDelegate.cpp \
        guts/CompositeTileSourceConfigurationWidget.cpp \
        CircleObject.cpp \
        guts/PrivateQGraphicsInfoSource.cpp \
        PolygonObject.cpp \
        Position.cpp \
        LineObject.cpp \
        PlaneObject.cpp
    
    HEADERS += MapGraphicsScene.h\
            MapGraphics_global.h \
        MapGraphicsObject.h \
        MapGraphicsView.h \
        guts/PrivateQGraphicsScene.h \
        guts/PrivateQGraphicsObject.h \
        guts/Conversions.h \
        MapTileSource.h \
        tileSources/GridTileSource.h \
        guts/MapTileGraphicsObject.h \
        guts/PrivateQGraphicsView.h \
        tileSources/OSMTileSource.h \
        guts/MapGraphicsNetwork.h \
        tileSources/CompositeTileSource.h \
        guts/MapTileLayerListModel.h \
        guts/MapTileSourceDelegate.h \
        guts/CompositeTileSourceConfigurationWidget.h \
        CircleObject.h \
        guts/PrivateQGraphicsInfoSource.h \
        PolygonObject.h \
        Position.h \
        LineObject.h \
        PlaneObject.h
    
    symbian {
        MMP_RULES += EXPORTUNFROZEN
        TARGET.UID3 = 0xE4F7F973
        TARGET.CAPABILITY =
        TARGET.EPOCALLOWDLLDATA = 1
        addFiles.sources = MapGraphics.dll
        addFiles.path = !:/sys/bin
        DEPLOYMENT += addFiles
    }
    
    unix:!symbian {
        maemo5 {
            target.path = /opt/usr/lib
        } else {
            target.path = /usr/lib
        }
        INSTALLS += target
    }
    
    FORMS += \
        guts/CompositeTileSourceConfigurationWidget.ui
    
    RESOURCES += \
        resources.qrc
    
    1. planner .pro file :
    #-------------------------------------------------
    #
    # Project created by QtCreator 2015-03-01T12:21:14
    #
    #-------------------------------------------------
    
    QT       += core gui serialport
    QT       += core gui opengl
    QT       += core gui network sql
    
    greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
    
    TARGET = Planner
    TEMPLATE = app
    
    #LIBS += -lGLU
    #LIBS += -lSDL
    
    CONFIG += debug_and_release
    
    
    SOURCES += main.cpp\
            Mainwindow.cpp \
        readerthread.cpp \
        plane3d.cpp \
        clicklabel.cpp \
        chart.cpp \
        ahrsscene.cpp \
        mavlinkcrc.cpp
    
    HEADERS  += Mainwindow.h \
        readerthread.h \
        plane3d.h \
        clicklabel.h \
        chart.h \
        ahrsscene.h \
        ../ardupilotmega/mavlink.h \
        ../MAVLink/dowranpilot/mavlink.h \
        mavlinkcrc.h \
        ../MAVLink/mavlink_types.h
    
    FORMS    += \
        MainWindow.ui
    
    
    #Linkage for MapGraphics shared library
    win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../MapGraphics/release/ -lMapGraphics
    else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../MapGraphics/debug/ -lMapGraphics
    else:unix:!symbian: LIBS += -L$$OUT_PWD/../MapGraphics/ -lMapGraphics
    
    INCLUDEPATH += $$PWD/../MapGraphics
    DEPENDPATH += $$PWD/../MapGraphics
    
    RESOURCES = mresources.qrc

  • Moderators

    1. Did you copy the Debug build or Release build of MapGraphics.dll?
    2. Did you build a Debug build or Release build of your Planner app?


  • I didn't build them seprately. I build root project in release mode.


  • Moderators

    @Hamed said:

    I didn't build them seprately. I build root project in release mode.

    Yes, but MapGraphics.dll is built in a different folder from Planner.exe. Did you copy debug\MapGraphics.dll or release\MapGraphics.dll? Make sure you copied the release version, and not the debug version.

    Anyway, before continuing this path, I want to check: Are you able to run TestApp.exe outside of Qt Creator?



  • both are built in release mode!
    yes I ran a test application just now!



  • Based on the image of your deployment directory you need to remove some of the DLL files you put there. Specifically:

    • kernal32.dll
    • shell32.dll
    • glu32.dll
    • libegl.dll
    • libglesv2.dllrn
    • msvcrt.dll
    • opengl32.dll

    The operating system has files such as kernel32.dll. Your copy of this will be different then that of the target OS in most cases.

    When using dependency viewer stick to items specific to Qt and Mingw.



  • @Rondog
    deleted this dlls. still nothing changed! :(



  • The Win7 message can be vauge. Maybe something like this can help http://www.nirsoft.net/utils/application_crash_report.html


  • Moderators

    @Hamed said:

    both are built in release mode!
    yes I ran a test application just now!

    Can you please post a screenshot of your TestApp.exe folder?

    Ok, I'm running out of ideas. Here's my last DLL-related one:

    1. Download and extract https://technet.microsoft.com/en-us/sysinternals/bb896656.aspx
    2. Run the Release build of your Planner app from inside Qt Creator
    3. Interact with your app, make sure it doesn't crash
    4. Open the command prompt, and navigate to the ListDLL folder
    5. In the command prompt, type ListDLLs.exe Planner.exe > output.log
    6. Open output.log, and make sure you have all the DLLs, but ignore anything from C:\Windows (notice that you have DLLs that Dependency Walker didn't detect)
    7. Post the contents of the log here

    If that still doesn't work, then I suggest doing debugging the old-fashioned way: Start commenting out code in your Planner app until it stops crashing.



  • my test app directory:
    https://www.imageupload.co.uk/images/2015/04/19/6516.jpg

    I will do this steps and let you know the result.
    thank you so much



  • I did this as you said but I think I'm doing something wrong.
    the log contents :

    ListDLLs v3.1 - List loaded DLLs
    Copyright (C) 1997-2011 Mark Russinovich
    Sysinternals - www.sysinternals.com

    No matching processes were found.


  • Moderators

    @Hamed said:

    I did this as you said but I think I'm doing something wrong.
    the log contents :

    ListDLLs v3.1 - List loaded DLLs
    Copyright (C) 1997-2011 Mark Russinovich
    Sysinternals - www.sysinternals.com

    No matching processes were found.

    When you do steps #4 and #5, make sure that Planner.exe is still running inside Qt Creator



  • My bad!
    this is the contents of log file :

    ListDLLs v3.1 - List loaded DLLs
    Copyright (C) 1997-2011 Mark Russinovich
    Sysinternals - www.sysinternals.com
    
    ------------------------------------------------------------------------------
    Planner.exe pid: 2496
    Command line: C:\Users\Hamed\Desktop\build-DowranPlanner-Desktop_Qt_5_4_1_MinGW_32bit-Release\Planner\release\Planner.exe 
    
    Base                Size      Path
    0x0000000000400000  0x2e5000  C:\Users\Hamed\Desktop\build-DowranPlanner-Desktop_Qt_5_4_1_MinGW_32bit-Release\Planner\release\Planner.exe
    0x0000000076d20000  0x1a9000  C:\Windows\SYSTEM32\ntdll.dll
    0x0000000071ee0000  0x3f000   C:\Windows\SYSTEM32\wow64.dll
    0x0000000071e80000  0x5c000   C:\Windows\SYSTEM32\wow64win.dll
    0x0000000071e70000  0x8000    C:\Windows\SYSTEM32\wow64cpu.dll
    0x0000000000400000  0x2e5000  C:\Users\Hamed\Desktop\build-DowranPlanner-Desktop_Qt_5_4_1_MinGW_32bit-Release\Planner\release\Planner.exe
    0x0000000076f00000  0x180000  C:\Windows\SysWOW64\ntdll.dll
    0x0000000076430000  0x110000  C:\Windows\syswow64\kernel32.dll
    0x0000000075220000  0x46000   C:\Windows\syswow64\KERNELBASE.dll
    0x0000000068880000  0x4a6000  C:\Qt\Qt5.4.1\5.4\mingw491_32\bin\Qt5Core.dll
    0x0000000075170000  0xa0000   C:\Windows\syswow64\ADVAPI32.dll
    0x0000000075310000  0xac000   C:\Windows\syswow64\msvcrt.dll
    0x0000000075150000  0x19000   C:\Windows\SysWOW64\sechost.dll
    0x0000000074640000  0xf0000   C:\Windows\syswow64\RPCRT4.dll
    0x00000000745e0000  0x60000   C:\Windows\syswow64\SspiCli.dll
    0x00000000745d0000  0xc000    C:\Windows\syswow64\CRYPTBASE.dll
    0x000000006e940000  0x24000   C:\Qt\Qt5.4.1\5.4\mingw491_32\bin\libgcc_s_dw2-1.dll
    0x0000000064940000  0x14000   C:\Qt\Qt5.4.1\5.4\mingw491_32\bin\libwinpthread-1.dll
    0x000000006d890000  0x12000   C:\Windows\SysWOW64\MPR.DLL
    0x0000000074d40000  0x15c000  C:\Windows\syswow64\ole32.dll
    0x0000000075270000  0x90000   C:\Windows\syswow64\GDI32.dll
    0x0000000074870000  0x100000  C:\Windows\syswow64\USER32.dll
    0x0000000074fd0000  0xa000    C:\Windows\syswow64\LPK.dll
    0x0000000074b80000  0x9d000   C:\Windows\syswow64\USP10.dll
    0x0000000075750000  0xc4a000  C:\Windows\syswow64\SHELL32.dll
    0x0000000074fe0000  0x57000   C:\Windows\syswow64\SHLWAPI.dll
    0x0000000074f90000  0x35000   C:\Windows\syswow64\WS2_32.dll
    0x0000000076ed0000  0x6000    C:\Windows\syswow64\NSI.dll
    0x000000006fc40000  0x101000  C:\Qt\Qt5.4.1\5.4\mingw491_32\bin\libstdc++-6.dll
    0x0000000061a40000  0x2ad000  C:\Qt\Qt5.4.1\5.4\mingw491_32\bin\icuin53.dll
    0x0000000068f80000  0x1b3000  C:\Qt\Qt5.4.1\5.4\mingw491_32\bin\icuuc53.dll
    0x0000000066500000  0x1499000  C:\Qt\Qt5.4.1\5.4\mingw491_32\bin\icudt53.dll
    0x0000000000b10000  0x505000  C:\Qt\Qt5.4.1\5.4\mingw491_32\bin\Qt5Gui.dll
    0x0000000000320000  0xc8000   C:\Windows\SysWOW64\OPENGL32.DLL
    0x0000000061cf0000  0x22000   C:\Windows\SysWOW64\GLU32.dll
    0x00000000006f0000  0xe7000   C:\Windows\SysWOW64\DDRAW.dll
    0x0000000000020000  0x6000    C:\Windows\SysWOW64\DCIMAN32.dll
    0x00000000755b0000  0x19d000  C:\Windows\syswow64\SETUPAPI.dll
    0x00000000753c0000  0x27000   C:\Windows\syswow64\CFGMGR32.dll
    0x0000000074eb0000  0x8f000   C:\Windows\syswow64\OLEAUT32.dll
    0x0000000074730000  0x12000   C:\Windows\syswow64\DEVOBJ.dll
    0x000000006f6c0000  0x13000   C:\Windows\SysWOW64\dwmapi.dll
    0x00000000007e0000  0x5a000   C:\Qt\Qt5.4.1\5.4\mingw491_32\bin\Qt5OpenGL.dll
    0x0000000061dc0000  0x633000  C:\Qt\Qt5.4.1\5.4\mingw491_32\bin\Qt5Widgets.dll
    0x0000000065880000  0x1f000   C:\Qt\Qt5.4.1\5.4\mingw491_32\bin\Qt5SerialPort.dll
    0x0000000064480000  0x4e000   C:\Users\Hamed\Desktop\build-DowranPlanner-Desktop_Qt_5_4_1_MinGW_32bit-Release\MapGraphics\release\MapGraphics.dll
    0x0000000069700000  0x17c000  C:\Qt\Qt5.4.1\5.4\mingw491_32\bin\Qt5Network.dll
    0x0000000074c20000  0x11d000  C:\Windows\syswow64\CRYPT32.dll
    0x0000000074ea0000  0xc000    C:\Windows\syswow64\MSASN1.dll
    0x000000006f1e0000  0x44000   C:\Windows\SysWOW64\DNSAPI.DLL
    0x0000000074b20000  0x60000   C:\Windows\SysWOW64\IMM32.DLL
    0x0000000076570000  0xcc000   C:\Windows\syswow64\MSCTF.dll
    0x0000000071e00000  0x2c000   C:\Windows\SysWOW64\nvinit.dll
    0x000000000f000000  0x6000    C:\Program Files (x86)\NVIDIA Corporation\CoProcManager\detoured.dll
    0x000000006f780000  0x2b000   C:\Program Files (x86)\NVIDIA Corporation\CoProcManager\nvd3d9wrap.dll
    0x000000006f760000  0x1f000   C:\Program Files (x86)\NVIDIA Corporation\CoProcManager\nvdxgiwrap.dll
    0x000000006a880000  0x14e000  C:\Qt\Qt5.4.1\5.4\mingw491_32\plugins\platforms\qwindows.dll
    0x0000000071fd0000  0x32000   C:\Windows\SysWOW64\WINMM.DLL
    0x000000006f6e0000  0x80000   C:\Windows\SysWOW64\uxtheme.dll
    0x0000000010000000  0xdc0000  C:\Windows\SysWOW64\ig4icd32.dll
    0x0000000072220000  0x16000   C:\Windows\SysWOW64\CRYPTSP.dll
    0x00000000721e0000  0x3b000   C:\Windows\SysWOW64\rsaenh.dll
    0x0000000071fc0000  0xe000    C:\Windows\SysWOW64\RpcRtRemote.dll
    0x0000000071e40000  0x17000   C:\Windows\SysWOW64\userenv.dll
    0x0000000071e30000  0xb000    C:\Windows\SysWOW64\profapi.dll
    0x0000000070a00000  0x18000   C:\Qt\Qt5.4.1\5.4\mingw491_32\plugins\imageformats\qdds.dll
    0x0000000003bd0000  0x11000   C:\Qt\Qt5.4.1\5.4\mingw491_32\plugins\imageformats\qgif.dll
    0x000000006c600000  0x15000   C:\Qt\Qt5.4.1\5.4\mingw491_32\plugins\imageformats\qicns.dll
    0x000000006e840000  0x12000   C:\Qt\Qt5.4.1\5.4\mingw491_32\plugins\imageformats\qico.dll
    0x000000006d440000  0x8d000   C:\Qt\Qt5.4.1\5.4\mingw491_32\plugins\imageformats\qjp2.dll
    0x00000000626c0000  0x45000   C:\Qt\Qt5.4.1\5.4\mingw491_32\plugins\imageformats\qjpeg.dll
    0x0000000069240000  0x64000   C:\Qt\Qt5.4.1\5.4\mingw491_32\plugins\imageformats\qmng.dll
    0x0000000000a00000  0x10000   C:\Qt\Qt5.4.1\5.4\mingw491_32\plugins\imageformats\qsvg.dll
    0x0000000003bf0000  0x58000   C:\Qt\Qt5.4.1\5.4\mingw491_32\bin\Qt5Svg.dll
    0x000000006b640000  0x10000   C:\Qt\Qt5.4.1\5.4\mingw491_32\plugins\imageformats\qtga.dll
    0x000000006cf00000  0x72000   C:\Qt\Qt5.4.1\5.4\mingw491_32\plugins\imageformats\qtiff.dll
    0x0000000002bd0000  0x10000   C:\Qt\Qt5.4.1\5.4\mingw491_32\plugins\imageformats\qwbmp.dll
    0x0000000003c50000  0x5f000   C:\Qt\Qt5.4.1\5.4\mingw491_32\plugins\imageformats\qwebp.dll
    0x0000000003220000  0x7000    C:\Program Files (x86)\Internet Download Manager\idmmkb.dll
    0x0000000072010000  0x9000    C:\Windows\SysWOW64\VERSION.dll
    

  • Moderators

    @Hamed said:

    My bad!
    this is the contents of log file :

    That's ok :)

    Alright, final steps:

    1. Close Qt Creator
    2. Launch Planner.exe straight from your folder
    3. When the error dialog appears ("this application requested the runtime to terminate it in an unusual way"), do not close it
    4. Run ListDLLs.exe Planner.exe > output2.log
    5. Compare this with your old log. Do you see any differences?
    6. Post your new log here

    In the meantime, also try @Rondog's link (WinCrashReport)



  • yes they are different :

    ListDLLs v3.1 - List loaded DLLs
    Copyright (C) 1997-2011 Mark Russinovich
    Sysinternals - www.sysinternals.com


    Planner.exe pid: 1280
    Command line: "C:\Users\Hamed\Desktop\planner\Planner.exe"

    Base Size Path
    0x0000000000400000 0x2e5000 C:\Users\Hamed\Desktop\planner\Planner.exe
    0x0000000076d20000 0x1a9000 C:\Windows\SYSTEM32\ntdll.dll
    0x0000000071ee0000 0x3f000 C:\Windows\SYSTEM32\wow64.dll
    0x0000000071e80000 0x5c000 C:\Windows\SYSTEM32\wow64win.dll
    0x0000000071e70000 0x8000 C:\Windows\SYSTEM32\wow64cpu.dll
    0x0000000000400000 0x2e5000 C:\Users\Hamed\Desktop\planner\Planner.exe
    0x0000000076f00000 0x180000 C:\Windows\SysWOW64\ntdll.dll
    0x0000000076430000 0x110000 C:\Windows\syswow64\kernel32.dll
    0x0000000075220000 0x46000 C:\Windows\syswow64\KERNELBASE.dll
    0x0000000068880000 0x4a6000 C:\Users\Hamed\Desktop\planner\Qt5Core.dll
    0x0000000075170000 0xa0000 C:\Windows\syswow64\ADVAPI32.dll
    0x0000000075310000 0xac000 C:\Windows\syswow64\msvcrt.dll
    0x0000000075150000 0x19000 C:\Windows\SysWOW64\sechost.dll
    0x0000000074640000 0xf0000 C:\Windows\syswow64\RPCRT4.dll
    0x00000000745e0000 0x60000 C:\Windows\syswow64\SspiCli.dll
    0x00000000745d0000 0xc000 C:\Windows\syswow64\CRYPTBASE.dll
    0x000000006e940000 0x24000 C:\Users\Hamed\Desktop\planner\libgcc_s_dw2-1.dll
    0x0000000064940000 0x14000 C:\Users\Hamed\Desktop\planner\libwinpthread-1.dll
    0x000000006d890000 0x12000 C:\Windows\SysWOW64\MPR.DLL
    0x0000000074d40000 0x15c000 C:\Windows\syswow64\ole32.dll
    0x0000000075270000 0x90000 C:\Windows\syswow64\GDI32.dll
    0x0000000074870000 0x100000 C:\Windows\syswow64\USER32.dll
    0x0000000074fd0000 0xa000 C:\Windows\syswow64\LPK.dll
    0x0000000074b80000 0x9d000 C:\Windows\syswow64\USP10.dll
    0x0000000075750000 0xc4a000 C:\Windows\syswow64\SHELL32.dll
    0x0000000074fe0000 0x57000 C:\Windows\syswow64\SHLWAPI.dll
    0x0000000074f90000 0x35000 C:\Windows\syswow64\WS2_32.dll
    0x0000000076ed0000 0x6000 C:\Windows\syswow64\NSI.dll
    0x000000006fc40000 0x101000 C:\Users\Hamed\Desktop\planner\libstdc++-6.dll
    0x0000000061a40000 0x2ad000 C:\Users\Hamed\Desktop\planner\icuin53.dll
    0x0000000068f80000 0x1b3000 C:\Users\Hamed\Desktop\planner\icuuc53.dll
    0x0000000066500000 0x1499000 C:\Users\Hamed\Desktop\planner\icudt53.dll
    0x0000000000860000 0x505000 C:\Users\Hamed\Desktop\planner\Qt5Gui.dll
    0x0000000000d70000 0xc8000 C:\Windows\SysWOW64\OPENGL32.DLL
    0x0000000061cf0000 0x22000 C:\Windows\SysWOW64\GLU32.dll
    0x0000000000e40000 0xe7000 C:\Windows\SysWOW64\DDRAW.dll
    0x0000000000020000 0x6000 C:\Windows\SysWOW64\DCIMAN32.dll
    0x00000000755b0000 0x19d000 C:\Windows\syswow64\SETUPAPI.dll
    0x00000000753c0000 0x27000 C:\Windows\syswow64\CFGMGR32.dll
    0x0000000074eb0000 0x8f000 C:\Windows\syswow64\OLEAUT32.dll
    0x0000000074730000 0x12000 C:\Windows\syswow64\DEVOBJ.dll
    0x000000006f6c0000 0x13000 C:\Windows\SysWOW64\dwmapi.dll
    0x00000000003a0000 0x5a000 C:\Users\Hamed\Desktop\planner\Qt5OpenGL.dll
    0x0000000061dc0000 0x633000 C:\Users\Hamed\Desktop\planner\Qt5Widgets.dll
    0x0000000065880000 0x1f000 C:\Users\Hamed\Desktop\planner\Qt5SerialPort.dll
    0x0000000070d40000 0xc14000 C:\Users\Hamed\Desktop\planner\MapGraphics.dll
    0x0000000000f30000 0x4a13000 C:\Users\Hamed\Desktop\planner\Qt5Cored.dll
    0x0000000005950000 0x89c9000 C:\Users\Hamed\Desktop\planner\Qt5Guid.dll
    0x000000000e320000 0x20bc000 C:\Users\Hamed\Desktop\planner\Qt5Networkd.dll
    0x0000000074c20000 0x11d000 C:\Windows\syswow64\CRYPT32.dll
    0x0000000074ea0000 0xc000 C:\Windows\syswow64\MSASN1.dll
    0x000000006f1e0000 0x44000 C:\Windows\SysWOW64\DNSAPI.DLL
    0x00000000103e0000 0x89de000 C:\Users\Hamed\Desktop\planner\Qt5Widgetsd.dll
    0x0000000074b20000 0x60000 C:\Windows\SysWOW64\IMM32.DLL
    0x0000000076570000 0xcc000 C:\Windows\syswow64\MSCTF.dll
    0x0000000071e00000 0x2c000 C:\Windows\SysWOW64\nvinit.dll
    0x0000000000700000 0x6000 C:\Program Files (x86)\NVIDIA Corporation\CoProcManager\detoured.dll
    0x000000006f780000 0x2b000 C:\Program Files (x86)\NVIDIA Corporation\CoProcManager\nvd3d9wrap.dll
    0x000000006f760000 0x1f000 C:\Program Files (x86)\NVIDIA Corporation\CoProcManager\nvdxgiwrap.dll
    0x000000006a880000 0x14e000 C:\Qt\Qt5.4.1\5.4\mingw491_32\plugins\platforms\qwindows.dll
    0x0000000071fd0000 0x32000 C:\Windows\SysWOW64\WINMM.DLL
    0x000000006f6e0000 0x80000 C:\Windows\SysWOW64\uxtheme.dll
    0x000000001aed0000 0xdc0000 C:\Windows\SysWOW64\ig4icd32.dll
    0x0000000018f60000 0x7000 C:\Program Files (x86)\Internet Download Manager\idmmkb.dll
    0x0000000072010000 0x9000 C:\Windows\SysWOW64\VERSION.dll


  • Moderators

    @Hamed said:

    0x0000000068880000 0x4a6000 C:\Users\Hamed\Desktop\planner\Qt5Core.dll
    ...
    0x0000000000f30000 0x4a13000 C:\Users\Hamed\Desktop\planner\Qt5Cored.dll

    Your program is trying to link to both Release and Debug DLLs! (Qt5Core.dll is for Release mode, Qt5Cored.dll is for Debug mode) That's why it crashed. Something went wrong with your build/deployment. Clean your project (Delete all your *.o, *.dll, and *.exe files) and rebuild. Make sure you use Release files only.



  • Now it's work properly!
    I don't know how to thank yo dear @JKSH !
    you spend to much time on this!
    thank you so much! :)


  • Moderators

    @Hamed said:

    Now it's work properly!
    I don't know how to thank yo dear @JKSH !
    you spend to much time on this!
    thank you so much! :)

    You're most welcome :) I'm glad it's working now.

    Happy coding!


Log in to reply
 

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