You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by GitBox <gi...@apache.org> on 2019/02/12 22:55:19 UTC

[GitHub] ottobackwards commented on issue #20: METRON-1910: bro plugin segfaults on src/KafkaWriter.cc:72

ottobackwards commented on issue #20: METRON-1910: bro plugin segfaults on src/KafkaWriter.cc:72
URL: https://github.com/apache/metron-bro-plugin-kafka/pull/20#issuecomment-462972595
 
 
   @nickwallen deleting something twice is an error.
   
   ```cpp
   #include <iostream>
   
   int main() {
       std::cout << "Hello, World!" << std::endl;
       char* pfoo = new char[8];
   
       delete pfoo;
   
       delete pfoo;
   
   
       return 0;
   }
   ```
   ```bash
   /Users/ottofowler/ClionProjects/untitled/cmake-build-debug/untitled
   Hello, World!
   untitled(93982,0x1141c15c0) malloc: *** error for object 0x7fc270c02ab0: pointer being freed was not allocated
   untitled(93982,0x1141c15c0) malloc: *** set a breakpoint in malloc_error_break to debug
   
   Process finished with exit code 6
   ```
   
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services