Run fine but Debug failed

General questions regarding the usage of CodeLite
coot
CodeLite Enthusiast
Posts: 20
Joined: Thu Jun 15, 2017 1:41 pm
Genuine User: Yes
IDE Question: c++
Contact:

Run fine but Debug failed

Post by coot »

Win10 + codelite10.0.0.5 + Mingw gcc

The program run fine, but when debug, it shows following errors. What will be the problem?

Code: Select all

DEBUG>>~"8 received signal SIGSEGV, Segmentation fault.\n"
8 received signal SIGSEGV, Segmentation fault.
DEBUG>>~"[Switching to Thread 5424.0x27e8]\n"
[Switching to Thread 5424.0x27e8]
DEBUG>>~"0x00007ffeaf62c877 in memmove () from C:\\Windows\\SYSTEM32\\vcruntime140.dll\n"
0x00007ffeaf62c877 in memmove () from C:\Windows\SYSTEM32\vcruntime140.dll
DEBUG>>*stopped,reason="signal-received",signal-name="SIGSEGV",signal-meaning="Segmentation fault",frame={addr="0x00007ffeaf62c877",func="memmove",args=[],from="C:\\Windows\\SYSTEM32\\vcruntime140.dll"},thread-id="8",stopped-threads="all"
Program Received signal SIGSEGV
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Run fine but Debug failed

Post by eranif »

I am not sure...
I wonder why your code is loading "C:\Windows\SYSTEM32\vcruntime140.dll" - isn't this a VisualStudio only library? or am I am wrong?
Make sure you have read the HOW TO POST thread
coot
CodeLite Enthusiast
Posts: 20
Joined: Thu Jun 15, 2017 1:41 pm
Genuine User: Yes
IDE Question: c++
Contact:

Re: Run fine but Debug failed

Post by coot »

:evil: :evil: The issue gone. I can debug now.

maybe next time I met error, I should restart codelite or PC first...
Post Reply