Different docker images to reproduce memory leaks or segmentation faults in php modules
- imagick : reproduction of segfault : Imagick/imagick#156
- mongo: reproduction of segmentation faults using the mongodb driver: mongodb/mongo-php-driver#209
All docker images have the debug symbols installed, including valgrind for debugging purposes
Testing
imagick extension
Issue: Imagick/imagick#156
docker-compose up imagickwheezy
docker exec -i -t imagickwheezy bash
valgrind --leak-check=full /usr/bin/php -S localhost:8085
CM-c
same for jessie
docker-compose up imagickjessie
docker exec -i -t imagickjessie bash
valgrind --leak-check=full /usr/bin/php -S localhost:8085
CM-c
mongodb extension
Issue: mongodb/mongo-php-driver#209 (comment)
docker-compose up mongowheezy
docker exec -i -t mongowheezy bash
valgrind --leak-check=full /usr/bin/php -S localhost:8085
CM-c
same for jessie
docker-compose up mongojessie
docker exec -i -t mongojessie bash
valgrind --leak-check=full /usr/bin/php -S localhost:8085
CM-c