Celery Segmentation Fault

celery, gdb, python

Solution

This might help:

Install python-amqp package and remove python-librabbitmq

On Ubuntu, it appears the latest APT package version of python-librabbitmq is 1.0.3 which is too older than the last release (1.5.1). You may install the latest one by pip instead of apt-get:

sudo pip install -U librabbitmq

Problem

What can I do, when process (celery worker) causes a segmentation fault error? In my case problem raises in celery, but I don't know how to find which module(used in tasks) has a corrupted code. Link to some additional info about problem — https://github.com/ask/celery/issues/690. In other words which command in gdb could give useful info, or other recipes to resolve this problem. Thanks for your answers.

Original source