glibc detected error

后端 未结 4 1797
青春惊慌失措
青春惊慌失措 2020-12-22 07:01

Can anybody please help me make sense of this error message?

*** glibc detected *** ./kprank_new3_norm: munmap_chunk(): invalid pointer: 0x00000000096912d0 *         


        
4条回答
  •  感情败类
    2020-12-22 07:12

    It appears that code you are writing(?) tries to access memory you don't have rights to.

    ./kprank_new3_norm: munmap_chunk(): invalid pointer: 0x00000000096912d0 ***
    

    And based on your GDB output you are maybe trying to close a file that wasn't open, or maybe already closed due to it not being in scope any more? It's hard for me to say without seeing your code.

提交回复
热议问题