Bug #81006 [Com]: Segmentation fault 11 on OSX 11

From: Date: Tue, 04 May 2021 20:48:30 +0000
Subject: Bug #81006 [Com]: Segmentation fault 11 on OSX 11
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-233681@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=81006&edit=1

 ID:                 81006
 Comment by:         mehdi dot bounya at gmail dot com
 Reported by:        sulcmil at gmail dot com
 Summary:            Segmentation fault 11 on OSX 11
 Status:             Open
 Type:               Bug
 Package:            *General Issues
 Operating System:   OSX 11.3
 PHP Version:        8.0.5
 Block user comment: N
 Private report:     N

 New Comment:

Facing the same issue when loading fixtures in a postgres database.

https://github.com/hautelook/AliceBundle/issues/540


Previous Comments:
------------------------------------------------------------------------
[2021-05-03 12:20:39] nikic@php.net

Yes, the change has already been reverted from both 7.4 and 8.0, though it's still a while
until the next releases are planned.

The change has also been reverted from ondrej/php just now (see https://github.com/oerdnj/deb.sury.org/issues/1598),
so you may be able to fetch a fixed version from there soon.

------------------------------------------------------------------------
[2021-05-03 11:23:05] mark dot roeling at cordeo dot com

Yes, postgres and Doctrine here as well. 

Links point to probably related issue: https://bugs.php.net/bug.php?id=81002
Seems that the change in pdo_pgsql will be reverted in upcoming 8.0.6 version.

------------------------------------------------------------------------
[2021-05-03 10:57:55] nikic@php.net

Specifically, the strol in the backtrace makes me think that this may be caused by https://github.com/php/php-src/pull/6801. The
involvement of Doctrine also points to something database related.

Due to the referenced change, binding a null value with PDO::PARAM_INT using PDO PgSql can lead to a
segfault.

------------------------------------------------------------------------
[2021-05-03 10:56:42] sulcmil at gmail dot com

Yes, I use Postgres.

------------------------------------------------------------------------
[2021-05-03 10:52:38] nikic@php.net

Do you use postgres?

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=81006


--
Edit this bug report at https://bugs.php.net/bug.php?id=81006&edit=1


Thread (9 messages)

« previous php.bugs (#233681) next »