News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Derick Rethans' Blog:
PHP's segmentation faults GDB-fu
October 08, 2008 @ 09:32:09

Derick Rethans has shared a quick tip for locating a code crashing kind of problem with your application when something like XDebug isn't around.

However, because we as PHP developers are lazy, provide a few GDB tricks to make this easier. First of all, it's only really going to work if you haven't stripped the symbols from your PHP and Apache binaries. Secondly, you still need to have the PHP source lying around somewhere.

He suggests using GDB to run the backtraces and create a file to help you track down the infinite recursion problem that could be giving you issues.

0 comments voice your opinion now!
segfault gdb infinite recursion source backtrace


blog comments powered by Disqus

Similar Posts

Hari KT's Blog: Is there a design flaw for the Components or Packages made by Symfony2 and ZF2

William Candillon's Blog: PHP source code analysis: PHPCompiler versus Yaxx

Sara Goleman\'s Blog: What the heck is TSRMLS_CC anyway?

Zumba Engineering Blog: Incorporating Mongounit into Multi-datasource Models with Traits

Pádraic Brady's Blog: PHP OpenID 2.0 library for PEAR Updates


Community Events











Don't see your event here?
Let us know!


introduction package framework composer language symfony2 release podcast component facebook code security hack threedevsandamaybe install opinion hhvm unittest application series

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework