QtCreator crashed and now will not start due to segfault
-
wrote on 9 Aug 2018, 15:19 last edited by
I've deleted those already between installs
-
I've deleted those already between installs
Lifetime Qt Championwrote on 9 Aug 2018, 15:20 last edited by mrjj 8 Sept 2018, 15:22@TMcSquared
and it still crashes ? wow. thats new.
Do you have sessions enabled ?
also , have you tried starting it from a shell (cmd)
to see if anything is written ?also when starting in cmd.
try adding
-noload Welcome -
wrote on 9 Aug 2018, 15:41 last edited by
I get a segmentation fault when I run it from the cmdline both without and with arguments.
-
I get a segmentation fault when I run it from the cmdline both without and with arguments.
wrote on 9 Aug 2018, 15:51 last edited by@TMcSquared
There's, oohh, a 1% chance that if you try running Qt Creator from within a debugger like Visual Studio (if you have that...), when it faults you'll get enough information from the stack trace to hazard a guess as to where it's going wrong... -
wrote on 9 Aug 2018, 16:20 last edited by
I just debugged it and got this: Exception thrown at 0x670E5DA7 (Qt5Core.dll) in qtcreator.exe: 0xC0000005: Access violation reading location 0x7E5B8721.
-
I just debugged it and got this: Exception thrown at 0x670E5DA7 (Qt5Core.dll) in qtcreator.exe: 0xC0000005: Access violation reading location 0x7E5B8721.
Is it possible that the wrong Qt DLLs are loaded? Have you changed the PATH environment variable, for example?
-
wrote on 9 Aug 2018, 16:55 last edited by TMcSquared 8 Sept 2018, 16:59
Hmm I'll try adding it to the PATH xD
EDIT: that didn't work
-
Hmm I'll try adding it to the PATH xD
EDIT: that didn't work
No, that's not what I meant! I meant, have you done before? Or have you installed some program that did?
-
wrote on 9 Aug 2018, 17:00 last edited by
Take a look at qt.conf in the creator/bin directory. If it's corrupted then plugins wont load.
-
wrote on 9 Aug 2018, 17:12 last edited by
It's not corrupted because it's a clean install
-
wrote on 9 Aug 2018, 19:08 last edited by
The try wiping out the creator files under AppData\Roaming\Qtproject
-
wrote on 9 Aug 2018, 19:20 last edited by
already did that.
-
already did that.
@TMcSquared
Best guess is that it gets wrong QtDLLs maybe via
path. -
wrote on 9 Aug 2018, 20:30 last edited by
My PATH variable has zero Qt paths in it. even after a clean install.
-
My PATH variable has zero Qt paths in it. even after a clean install.
@TMcSquared
I have no idea then.
last test
can you start with
qtcreator -noload Welcome -noload QmlDesigner -noload QmlProfiler
from shell and see if still crash ? -
@TMcSquared
I have no idea then.
last test
can you start with
qtcreator -noload Welcome -noload QmlDesigner -noload QmlProfiler
from shell and see if still crash ?wrote on 9 Aug 2018, 20:51 last edited by:O It opened with
qtcreator -noload Welcome -noload QmlDesigner -noload QmlProfiler
-
Hi,
Then it sounds like a graphic driver issue then. Are you sure there wasn't any modification in that regard on your machine ?
-
Hmm I'll try adding it to the PATH xD
EDIT: that didn't work
wrote on 9 Aug 2018, 20:55 last edited by JonB 8 Sept 2018, 20:56@TMcSquared
You could check whether Windows Update snuck in and did anything since it last worked... :) -
wrote on 9 Aug 2018, 21:23 last edited by TMcSquared 8 Sept 2018, 21:24
That's completely possible, thanks for your guy's help!
@SGaist I have no idea, it quit working while I was logged in. -
wrote on 19 Oct 2018, 11:10 last edited by
Hi all. Sorry to revive this topic but this problem has occurred to me as well but on an application I wrote for a client. The application was running fine. Then it crashed (just like @TMcSquared ) and hasn't opened since.
My access violation is in theQtWidgets.dll
module.Any clues? (i don't have the welcome/QmlDesigner/etc modules to disable on load as does qtcreatorI)