Skip to content

Segmention Fault P.2 #85

Discussion options

You must be logged in to vote

Hola, según tu output

==94== All heap blocks were freed -- no leaks are possible
==94==
==94== For lists of detected and suppressed errors, rerun with: -s
==94== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)

No hay errores presentes (al menos al ejecutarlo como ./program input.txt output.txt, ojo, puede ser que ./program input1.txt output.txt no tenga segfault pero ./program input2.txt output.txt sí).

Si al ejecutar tu programa te ocurre un Segmentation Fault, entonces asegúrate de ejecutar Valgrind usando ese mismo comando, por la razón que expuse en el párrafo de arriba.

Saludos!

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@tomastrivino
Comment options

@SantiagoOsorio3
Comment options

Answer selected by tomastrivino
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants