• [^] # Re: rebuild avec -ggdb

    Posté par (site web personnel) . En réponse au message Où poster ce bug et comment?. Évalué à 1.

    Sortie valgrind:
    ==21397== Memcheck, a memory error detector
    ==21397== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
    ==21397== Using Valgrind-3.10.0 and LibVEX; rerun with -h for copyright info
    ==21397== Command: dmesg
    ==21397==
    ==21397== Invalid write of size 4
    ==21397== at 0x4005194: _dl_start (in /lib/ld-2.19.so)
    ==21397== Address 0xbd8f44cc is not stack'd, malloc'd or (recently) free'd
    ==21397==
    ==21397==
    ==21397== Process terminating with default action of signal 11 (SIGSEGV)
    ==21397== Access not within mapped region at address 0xBD8F44CC
    ==21397== at 0x4005194: _dl_start (in /lib/ld-2.19.so)
    ==21397== If you believe this happened as a result of a stack
    ==21397== overflow in your program's main thread (unlikely but
    ==21397== possible), you can try to increase the size of the
    ==21397== main thread stack using the --main-stacksize= flag.
    ==21397== The main thread stack size used in this run was 8388608.
    ==21397==
    ==21397== HEAP SUMMARY:
    ==21397== in use at exit: 0 bytes in 0 blocks
    ==21397== total heap usage: 0 allocs, 0 frees, 0 bytes allocated
    ==21397==
    ==21397== All heap blocks were freed—no leaks are possible
    ==21397==
    ==21397== For counts of detected and suppressed errors, rerun with: -v
    ==21397== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
    Segmentation fault

    Mon projet libre: https://ultracopier.herman-brule.com/, mon jeu libre: https://catchchallenger.herman-brule.com/