PDA

View Full Version : Qt Creator QtCreator falls on start project



kkk777kkk
30th May 2011, 21:25
Compiled project and start it in creator and then it fall with such error (if you know tell me please how to mean such error codes)


exited with code -1073741515

And if it run under debugger we see such output:


sStarting debugger 'CdbEngine' for ABI 'x86-windows-msvc2008-pe-32bit'...
Start parameters: 'PageStore' mode: 1
ABI: x86-windows-msvc2008-pe-32bit
Executable: C:\Qt\pagestore\PageStore\debug\PageStore.exe
Directory: C:\Qt\pagestore\PageStore
Debugger: C:\Program Files\Debugging Tools For Windows (x64)\cdb.exe
Project: C:\Qt\pagestore\PageStore (built: C:\Qt\pagestore\PageStore)
Qt: C:\Qt\4.7.2
QML server: 127.0.0.1:0

Debugger settings:
UseAlternatingRowColours: false (default: false)
UseMessageBoxForSignals: true (default: true)
AutoQuit: false (default: false)
LogTimeStamps: false (default: false)
VerboseLog: false (default: false)
CloseBuffersOnExit: false (default: false)
SwitchModeOnExit: false (default: false)
UseDebuggingHelper: true (default: true)
UseCodeModel: true (default: true)
ShowThreadNames: false (default: false)
UseToolTips: false (default: false)
UseToolTipsInLocalsView: false (default: false)
UseToolTipsInBreakpointsView: false (default: false)
UseAddressInBreakpointsView: false (default: false)
UseAddressInStackView: false (default: false)
RegisterForPostMortem: false (default: false)
LoadGdbInit: true (default: true)
ScriptFile: (default: )
WatchdogTimeout: 20 (default: 20)
TargetAsync: false (default: false)
MaximalStackDepth: 20 (default: 20)
AlwaysAdjustStackColumnWidths: false (default: false)
ShowStandardNamespace: true (default: true)
ShowQtNamespace: true (default: true)
SortStructMembers: true (default: true)
AutoDerefPointers: true (default: true)
AlwaysAdjustLocalsColumnWidths: false (default: false)
ListSourceFiles: false (default: false)
SkipKnownFrames: false (default: false)
EnableReverseDebugging: false (default: false)
AllPluginBreakpoints: true (default: true)
SelectedPluginBreakpoints: false (default: false)
AdjustBreakpointLocations: true (default: true)
AlwaysAdjustBreakpointsColumnWidths: false (default: false)
NoPluginBreakpoints: false (default: false)
SelectedPluginBreakpointsPattern: .* (default: .*)
BreakOnThrow: false (default: false)
BreakOnCatch: false (default: false)
AlwaysAdjustRegistersColumnWidths: false (default: false)
AlwaysAdjustSnapshotsColumnWidths: false (default: false)
AlwaysAdjustThreadsColumnWidths: false (default: false)
AlwaysAdjustModulesColumnWidths: false (default: false)
State changed from DebuggerNotReady(0) to EngineSetupRequested(1).
QUEUE: SETUP ENGINE
CALL: SETUP ENGINE
Launching C:\Program Files\Debugging Tools For Windows (x64)\cdb.exe -qtcreatorcdbext.dll -lines -G -c .idle_cmd !qtcreatorcdbext.idle -y symsrv*symsrv.dll*C:\Users\moroz-k\AppData\Local\Temp\symbolcache*http://msdl.microsoft.com/download/symbols C:\Qt\pagestore\PageStore\debug\PageStore.exe
using C:\Qt\qtcreator-2.2.0\lib\qtcreatorcdbext64\qtcreatorcdbext.dll of 30 March 09:30:34.
C:\Program Files\Debugging Tools For Windows (x64)\cdb.exe running as 4988
Microsoft (R) Windows Debugger Version 6.12.0002.633 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.
CommandLine: C:\Qt\pagestore\PageStore\debug\PageStore.exe
Symbol search path is: symsrv*symsrv.dll*C:\Users\moroz-k\AppData\Local\Temp\symbolcache*http://msdl.microsoft.com/download/symbols
Executable search path is:
ModLoad: 00000000`00400000 00000000`00b47000 PageStore.exe
ModLoad: 00000000`77c20000 00000000`77dc9000 ntdll.dll
ModLoad: 00000000`77e00000 00000000`77f80000 ntdll32.dll
ModLoad: 00000000`74120000 00000000`7415f000 C:\Windows\SYSTEM32\wow64.dll
ModLoad: 00000000`740c0000 00000000`7411c000 C:\Windows\SYSTEM32\wow64win.dll
ModLoad: 00000000`740b0000 00000000`740b8000 C:\Windows\SYSTEM32\wow64cpu.dll
(ea4.12c0): Break instruction exception - code 80000003 (first chance)
ntdll!LdrpDoDebuggerBreak+0x30:
00000000`77cccb60 cc int 3
cdb: Reading initial command '.idle_cmd !qtcreatorcdbext.idle'
Execute when idle: !qtcreatorcdbext.idle
0:000>
<l+t
<l+s
NOTE: ENGINE SETUP OK
State changed from EngineSetupRequested(1) to EngineSetupOk(3).
QUEUE: SETUP INFERIOR
State changed from EngineSetupOk(3) to InferiorSetupRequested(4).
QUEUE: SETUP INFERIOR
CALL: SETUP INFERIOR
<sxn 0x4000001f
<!qtcreatorcdbext.pid -t 0
Source options are 1:
1/t - Step/trace by source line
Source options are 5:
1/t - Step/trace by source line
4/s - List source code at prompt
Qt Creator CDB extension version 0.1 64 bit built Mar 30 2011.
Inferior pid: 3748.
NOTE: INFERIOR SETUP OK
State changed from InferiorSetupRequested(4) to InferiorSetupOk(6).
State changed from InferiorSetupOk(6) to EngineRunRequested(7).
QUEUE: RUN ENGINE
CALL: RUN ENGINE
<g
NOTE: ENGINE RUN AND INFERIOR RUN OK
State changed from EngineRunRequested(7) to InferiorRunOk(11).
ModLoad: 00000000`77540000 00000000`7765f000 WOW64_IMAGE_SECTION
ModLoad: 00000000`77380000 00000000`77490000 WOW64_IMAGE_SECTION
ModLoad: 00000000`77540000 00000000`7765f000 NOT_AN_IMAGE
ModLoad: 00000000`77910000 00000000`77a0a000 NOT_AN_IMAGE
ModLoad: 00000000`77380000 00000000`77490000 C:\Windows\syswow64\kernel32.dll
ModLoad: 00000000`75590000 00000000`755d6000 C:\Windows\syswow64\KERNELBASE.dll
Process exited (3221225781)
Process crashed
CDB crashed
NOTE: ENGINE SPONTANEOUS SHUTDOWN
State changed BY FORCE from InferiorRunOk(11) to EngineShutdownOk(22).
State changed from EngineShutdownOk(22) to DebuggerFinished(23).
QUEUE: FINISH DEBUGGER
NOTE: FINISH DEBUGGER
HANDLE RUNCONTROL FINISHED
Debugger finished.

I see that some trouble is in dlls loading but do not understand what to do next. Do you know where is problem? Or can you tell me what steps should i go?
As i see it loaded "C:\Windows\syswow64\KERNELBASE.dll" and after it next loading library cause crash... or maybe this "C:\Windows\syswow64\KERNELBASE.dll" cause it.

qt 4.7.2, msvc2008 compiler, QtCReator 2.2

wysota
30th May 2011, 22:28
if you know tell me please how to mean such error codes
Convert the number to hexadecimal and type the result (omitting the part consisting of all 'F' chars) into MSDN. Your error is C0000135 -- "DLL not found".

kkk777kkk
31st May 2011, 06:19
thanks!
but how to understand what library was not found or where is list of libraries to load?

wysota
31st May 2011, 06:32
Refer to MSDN please, this is a typical WIndows error so you can solve it using typical Windows means.

stampede
31st May 2011, 07:21
@kkk777kkk: There is useful command line app, Err.exe, which will lookup the error values, given hex or decimal error code:
Err.exe (http://www.microsoft.com/downloads/en/details.aspx?familyid=be596899-7bb8-4208-b7fc-09e02a13696c&displaylang=en)
In order to search for your exit code -1073741515, you'll need only to type:


Err.exe -1073741515

List of possible errors will be displayed:


# for decimal -1073741515 / hex 0xc0000135 :
STATUS_DLL_NOT_FOUND ntstatus.h
# {Unable To Locate Component}
# This application has failed to start because %hs was not
# found. Re-installing the application may fix this problem.
# for hex 0x1 / decimal 1 :

There are more results, because using decimal code is ambiguous for this tool. If you want exact match, use hex representation.

kkk777kkk
31st May 2011, 09:29
great thanks.
it was my fault because this project came to me not much time ago and earlier projects wasnt so hard. My projects had third party libs but it was enough to add paths to .pro file and not to put libraries near .exe to load project in QtCreator. Maybe i missed something and need to add something else to make it such a way in this project?