# Segfault in HEAD with PHPUnit2

- Thread: https://externals.io/message/16059
- Original archive: https://news-web.php.net/php.internals/16059
- Started by Sebastian Bergmann on 2005-04-23T08:36:12+00:00
- Messages: 3
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #16059 — Sebastian Bergmann — 2005-04-23T08:36:12+00:00

URL: https://externals.io/message/16059#16059

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

---

## #16071 — Edin Kadribasic — 2005-04-25T08:35:23+00:00

URL: https://externals.io/message/16059#16071 · In reply to: #16059

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

---

## #16073 — Sebastian Bergmann — 2005-04-25T11:25:34+00:00

URL: https://externals.io/message/16059#16073 · In reply to: #16071

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
