Clion Process finished with exit code -1073741819 (0xC0000005) problem

56 views Asked by At

I reinstalled JetBrains Clion and an error started appearing Process finished with exit code -1073741819 (0xC0000005) when running this code:

#include <iostream>
#include <stdio.h>

using namespace std;

int main() {
    std::cout << "ASD";
}

When debugging, a segfault appears on the line std::cout << "ASD"; The code works correctly when printf is used instead of std::cout. :

#include <iostream>
#include <stdio.h>

using namespace std;

int main() {
    printf("ASD");
}

I'm using bundled MinGW

What could be the problem and how it can be solved?

I tried installing MinGW and using not bundled version, but that didn't work

0

There are 0 answers