[php-src] Issue #15102: Segmentation fault (core dumped) in ext/pgsql/tests/gh13519.phpt
| From: | petk | Date: | Thu, 25 Jul 2024 00:40:16 +0000 |
| Subject: | [php-src] Issue #15102: Segmentation fault (core dumped) in ext/pgsql/tests/gh13519.phpt | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-247370@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/15102
Author: petk
### Description
The following code:
```sh
./buildconf
./configure --with-pgsql
make
./sapi/cli/php run-tests.php --show-diff ext/pgsql/tests/gh13519.phpt
```
Resulted in this output:
```
========DIFF========
bool(true)
bool(true)
bool(true)
004- bool(false)
005- bool(false)
006- bool(false)
004+ Segmentation fault (core dumped)
005+
006+ Termsig=11
========DONE========
FAIL GH-13519 - PGSQL_CONNECT_FORCE_NEW with persistent connections. [ext/pgsql/tests/gh13519.phpt]
```
But I expected this output instead:
```
PASS GH-13519 - PGSQL_CONNECT_FORCE_NEW with persistent connections. [ext/pgsql/tests/gh13519.phpt]
```
* PostgreSQL 16.3
Unless, I've missed something here.
### PHP Version
PHP 8.4
### Operating System
Ubuntu 24.04