Skip to content

Relatório Valgrind - Memory leak #1

@drbeco

Description

@drbeco
resign
==8885== 
==8885== Process terminating with default action of signal 8 (SIGFPE)
==8885==  Integer divide by zero at address 0x4033103B8
==8885==    at 0x40BF8F: randommove (in /home/beco/Documents/fontes/cpp/xadrez/xadreco/xadrecogit/xadreco)
==8885==    by 0x406860: compjoga (in /home/beco/Documents/fontes/cpp/xadrez/xadreco/xadrecogit/xadreco)
==8885==    by 0x4015C3: main (in /home/beco/Documents/fontes/cpp/xadrez/xadreco/xadrecogit/xadreco)
==8885== 
==8885== HEAP SUMMARY:
==8885==     in use at exit: 868,864 bytes in 17,763 blocks
==8885==   total heap usage: 809,343 allocs, 791,580 frees, 71,342,860 bytes allocated
==8885== 
==8885== LEAK SUMMARY:
==8885==    definitely lost: 827,904 bytes in 17,248 blocks
==8885==    indirectly lost: 21,936 bytes in 457 blocks
==8885==      possibly lost: 0 bytes in 0 blocks
==8885==    still reachable: 19,024 bytes in 58 blocks
==8885==         suppressed: 0 bytes in 0 blocks
==8885== Rerun with --leak-check=full to see details of leaked memory
==8885== 
==8885== For counts of detected and suppressed errors, rerun with: -v
==8885== Use --track-origins=yes to see where uninitialised values come from
==8885== ERROR SUMMARY: 3608 errors from 2 contexts (suppressed: 4 from 4)
Floating point exception

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions