Bug #80730 [Com]: Random segfault PDO fetch_value
Edit report at https://bugs.php.net/bug.php?id=80730&edit=1
ID: 80730
Comment by: standus at post dot cz
Reported by: ricardo dot branco at covermg dot com
Summary: Random segfault PDO fetch_value
Status: Open
Type: Bug
Package: PDO MySQL
Operating System: Centos 7
PHP Version: 7.4.15
Block user comment: N
Private report: N
New Comment:
I'm probably on the trail of that problem.
From phpinfo I see:
On problematic CentOS 7.x:
PDO Driver for MySQL enabled
Client API version mysqlnd 5.0.12-dev - 20150407 - $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $
Which is very very old.
On my develop machine (it works well) is:
PDO Driver for MySQL enabled
Client API version mysqlnd 7.4.6
Another test look onCentOS good when I use:
PDO::ATTR_EMULATE_PREPARES = true;
Previous Comments:
------------------------------------------------------------------------
[2021-04-20 04:37:30] standus at post dot cz
I replaced PDo with mysqli library and its same problem.
It look like some middleware centos library between php and madiadb is wrong.
------------------------------------------------------------------------
[2021-04-16 08:57:47] standus at post dot cz
Somebody has similar problem too.
https://laracasts.com/discuss/channels/laravel/pdo-hangs-on-executing-query-on-heavy-queue-system-timeout-does-not-work
------------------------------------------------------------------------
[2021-04-15 07:37:01] standus at post dot cz
On PHP 8.x its same problem.
------------------------------------------------------------------------
[2021-04-14 20:55:01] standus at post dot cz
I have very similar big problem which I reported here.
https://jira.mariadb.org/browse/MDEV-25414
------------------------------------------------------------------------
[2021-02-16 14:51:28] nikic@php.net
A crash in _emalloc usually indicates that some kind of memory corruption happened at an earlier
point in time -- hard to guess where it comes from though.
If this is a standalone script, running it through "USE_ZEND_ALLOC=0 valgrind php
script.php" usually provides more actionable information.
------------------------------------------------------------------------
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=80730
--
Edit this bug report at https://bugs.php.net/bug.php?id=80730&edit=1
Thread (5 messages)