mercredi 28 février 2018

C++ Crash - Memory corruption

I have an c++ application which crash when i use :

_p_event_translator = shared_ptr<EventTranslator>(new EventTranslator(_id, _p_event_queue, dump_events)); 

i get error : * Error in `/opt/oss/bin/hua_m2000_am': malloc(): memory corruption: 0x0000000000d4ac90 *

I debugged with "gdb" as shown below : enter image description here

I m a beginner in C++, i have some difficulties to understand and resolve the problem.

Thanks so much for your helps ^^

Aucun commentaire:

Enregistrer un commentaire