[SOLVED] Application crash inside of QtCreator
I have a problem with my application. (ssl+gsoap)
I test situation when network is unreacheable. Test results are different in Creator enviroment and it real enviroment.
When application running inside Creator everything is OK.
When application running from Program Files in generates spontaneously chashes with "msvcr100.dll" in the call stack.
I analyse my application with dep. walker it does not shows any dependency problem (except of missing MSVS redistributive package).
How I can debug such sitiation?
Did you deploy the application following the "windows deployment guide":https://qt-project.org/doc/qt-5.0/qtdoc/deployment-windows.html ? Also is openssl somewhere findable for your application ?
Ok, I'll check my package, thank you.
I have an another one question, how I can see full patchs of all loaded dll's while I run my executable?
Dependency walker shows the following:
bq. I analyse my application with dep. walker it does not shows any dependency problem (except of missing MSVS redistributive package).
be sure if your app starts and runs then it finds and loads all requested dlls against was linked, otherwise it won't even start
I think your crash has different reason
what do you mean by running in QtCreator, in debug mode?
bq. I think your crash has different reason
Your are absolutely right! Cracher orrures spontanely sometimes.
bq. what do you mean by running in QtCreator, in debug mode?
No, without debug. I run release revsion in Creator and without of them.
I'll try to make Dependency walker happy by adding required dll this evening and come back with results.
Thank you for reply.
I found the very very very strange dependency!
Crashes occur if I run my application from Program Files directory
But after the cope application dir to tmp crash is absent!
Writing to file in system dir (I write application log to Program Files) is not allowed in win7/8 and application crashed.
You should write such files in the user application data path. Have a look at QStandardPaths (Qt 5) or QDesktopServices (Qt 4)