The process was ended forcefully.
-
Windows10 + Qt 5.10.1 + MSVC 2015 - 32bits
I have a simple qt program, it need use external libraries ( Pylon5).
Yesterday I runned the program(same qt vertion and platform with today), and then it success.
But today when I run it again(I can promise there is no modificationthe in the project files), and I get failure as below:
Why? I have no idea.(You can download the whole project in https://pan.baidu.com/s/1pq_otXTWCrlpGU3BDrKK5Q)
When debug it, shows below;
The kit is :
I try to print some information, so I write qDebug() in main(), you can see it below,and when I run the program again, show nothing........
-
@Limer
I downloaded your project and had the same error as you have, immediately upon running the program, without any debug info provided.I'm using VS2017 Community on Windows 10, and found a post on this forum related to CDB problems like this (immediately after starting a program and no further debug info given) where it was suggested that this was caused by a Windows Update. So, I tried to repair my VS2017 installation using the installer, and sure enough, some updates seemed to be pending (the VS installer prompted directly for it to be updated first). The "Repair" hanged on Microsoft.VisualCcp.Redist.14, so I killed the repair rebooted the computer. Lo and behold, there were some Win10 updates pending too it seems.
After relaunching the VS Installer, I was prompted this time for a VS2017 update instead.
After installing that update, your program ran fine (I use the x64 libraries of Pylon).So, try to update your VS installation (assuming you use VS) and check if your system has some Windows Updates pending (in which case you should reboot to install them).
-
@Diracsbracket said in The process was ended forcefully.:
it was suggested that this was caused by a Windows Update
Hah I knew it! I guessed windows update for breaking it and sure enough, good ole MS strikes again.
-
@ambershark said in The process was ended forcefully.:
Hah I knew it! I guessed windows update for breaking it and sure enough, good ole MS strikes again.
You guessed right immediately! I just saw your post above^^.
-
@ambershark @Diracsbracket Thank you for your warm answer, I'll try it right away.
-
@Diracsbracket Sorry, I update the windows(and restart pc several times), and update visual studio 2017 community to 15.6.3,but it doesn't work......sad.....
-
@Limer
I never used the Pylon before, so I also installed the latest version of it today in order to try out your program. Maybe also update Pylon and use the new .lib files of it in your Qt project? Also, I used the x64 version, but that's probably not an issue. The Qt version I tried it with is Qt 5.10.0. -
@Limer I wonder if it's mixing dlls from somewhere on your system?
You could try using listdlls from sysinternals to see what dlls your application is using. Or try isolating it by running in a cmd with your path environment empty and copying in just the dlls you know you would need for your app.
-
@Diracsbracket My project has the newest pylon , I download it on 2018/03/19.
-
@ambershark I tried my company computer(windows 7), and it success...........................................I think it's my own pc windows10's problem.........I don't know what the problem is, and I'm afraid there will be other strange mistakes in the future. At least I can go on working now.(I want to reinstall my own pc now.............)
-
@Limer You don't need to reinstall everything. It's just a bad dll hiding somewhere.
Use process explorer:
https://docs.microsoft.com/en-us/sysinternals/downloads/process-exploreror listdlls:
https://docs.microsoft.com/en-us/sysinternals/downloads/listdllsAnd find out where the bad dll is. Then fix that issue and you should be back to normal on your win10 computer.
Or just be cool like me and switch to linux. ;)
-
@ambershark Thank you for your help.
And, if there is Visual Studio Linux vertion in the future, I will definitely switch to linux. HaHaHa................
-
@Limer said in The process was ended forcefully.:
I think it's my own pc windows10's problem
I also noticed that you also have the 64bit Qt kit installed for VS2017. Could you give it one last try and build the 64bit version of your program (also edit the library path in your .pro file to x64)?