Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

326
Visualizações
"Illegal Instruction (core dumped)" occuring in valgrind

No matter what the program is, valgrind gives nearly the same output :

Illegal Instruction (core dumped).

Even in this underlying program it shows the same

#include<stdio.h>

void fun(int *i)
{
    printf(" %d \n",*i);
}

int main()
{
    int j=90;
    fun(&j);
    return 0;
}
over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

Your valgrind is broken, or is not compatible with your C library.

To confirm this, first see if you can run the valgrind binary at all:

valgrind --help

(if that fails, maybe the binary is corrupt or is for a different architecture)

Then try within something you didn't write:

valgrind /bin/true

(if that fails, perhaps it's not compatible with your C library)

Assuming one or more of those fails, you will need to reinstall valgrind and try again.

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda