Skip to content

Generating a Backtrace


Phalcon's v5 distribution is compiled into a C extension loaded on your web server. Because of that, bugs can lead to segmentation faults, causing Phalcon to crash some of your web server processes.

NOTE

This guide applies to the Phalcon v5 C extension. The Phalcon v6 phalcon/phalcon package is pure PHP and does not produce segmentation faults, so a C backtrace is not needed there.

For debugging these segmentation faults a stack trace is required. Creating a stack trace requires a special build of PHP and some steps need to be done to generate a trace that allows the Phalcon team to debug this behavior.

Please follow this guide to understand how to generate the backtrace.

https://bugs.php.net/bugs-generating-backtrace.php

https://bugs.php.net/bugs-generating-backtrace-win32.php