When I run PHPUnit2's own testsuite with a Release_TS build of
PHP 5.1.0-CVS I get a segfault (no backtrace since no symbols) on
shutdown.
When I run the same PHP sources with a Debug_TS build of PHP 5.1.0-CVS I
do not get a segfault but messages like this
[Sat Apr 23 10:31:14 2005] Script: 'Tests/AllTests.php'
during shutdown.
I will try to reproduce this behaviour on Linux now and will report
back if I can get a usable GDB / Valgrind trace.
--
Sebastian Bergmann http://www.sebastian-bergmann.de/
GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69
Hi Sebastian,
You can configure PHP with --enable-debug-pack which will compile release
version of the binaries with external debug symbols.
Edin
----- Original Message -----
From: "Sebastian Bergmann" sb@sebastian-bergmann.de
To: internals@lists.php.net
Sent: Saturday, April 23, 2005 10:36 AM
Subject: [PHP-DEV] Segfault in HEAD with PHPUnit2
When I run PHPUnit2's own testsuite with a Release_TS build of
PHP 5.1.0-CVS I get a segfault (no backtrace since no symbols) on
shutdown.When I run the same PHP sources with a Debug_TS build of PHP 5.1.0-CVS I
do not get a segfault but messages like this[Sat Apr 23 10:31:14 2005] Script: 'Tests/AllTests.php'
during shutdown.
I will try to reproduce this behaviour on Linux now and will report
back if I can get a usable GDB / Valgrind trace.--
Sebastian Bergmann http://www.sebastian-bergmann.de/
GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69
Edin Kadribasic wrote:
You can configure PHP with --enable-debug-pack which will compile
release version of the binaries with external debug symbols.
Thank you for this information. The issue I was experiencing has been
fixed by Marcus in CVS already.
--
Sebastian Bergmann http://www.sebastian-bergmann.de/
GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69