Читаем core dump файлы

Недавно у одного из клиентов было нужно понять почему периодический заваливался asterisk. Для диагностики использовался отличный отладчик gdb, а также core-файлы, которые создавались в папке /tmp при крахе приложения. Просто приведу пример использования:

gdb /usr/sbin/asterisk /tmp/core.pbx.local-2014-03-31T04\:02\:41+0400

После анализа gdb выведет функцию или модуль в котором произошла ошибка.

В моем случае это была ошибка при выходе из функции конвертирования mp3.

18 комментариев к “Читаем core dump файлы

  1. I was more than happy to uncover this page. I need to to thank you for ones time for this particularly fantastic read!! I definitely liked every little bit of it and i also have you saved as a favorite to check out new things on your blog.

  2. Wonderful message. I discover something a lot more tough on different blog sites daily. It will constantly be boosting to read material from various other authors and practice a something from their store. I?d favor to use some with the web content on my blog site whether you don?t mind. Natually I?ll offer you a link on your internet blog site. Thanks for sharing.

  3. When I initially commented I clicked the “Notify me when new comments are added” checkbox and now each time a comment
    is added I get several emails with the same comment. Is there any way you can remove me from that service?
    Thanks a lot!

  4. A remarkable share, I simply offered this onto an associate who was doing a little analysis on this. And he as a matter of fact acquired me morning meal since I discovered it for him. smile. So let me reword that: Thnx for the treat! But yeah Thnkx for investing the moment to discuss this, I really feel strongly regarding it and also enjoy finding out more on this subject. Preferably, as you become competence, would you mind updating your blog with even more information? It is very valuable for me. Large thumb up for this post!

  5. Can I just say what a relief to locate someone who actually understands what theyre speaking about on the net. You certainly understand exactly how to bring a problem to light and make it important. Even more individuals need to read this as well as recognize this side of the tale. I angle believe youre not much more preferred due to the fact that you most definitely have the gift.

  6. When I initially commented I clicked the -Notify me when new remarks are added- checkbox and now each time a remark is included I obtain four emails with the exact same comment. Is there any way you can eliminate me from that service? Thanks!

  7. I?m amazed, I have to say. Truly rarely do I experience a blog site that?s both enlightening and also amusing, and let me tell you, you have actually struck the nail on the head. Your suggestion is impressive; the problem is something that not enough people are speaking smartly around. I am extremely delighted that I stumbled across this in my look for something associating with this.

Оставить ответ

Ваш адрес email не будет опубликован. Обязательные поля помечены *