Bug #81696 [Opn]: crash on mysqly::query -- mysqli_query
Edit report at https://bugs.php.net/bug.php?id=81696&edit=1
ID: 81696
User updated by: info at infreschilab dot it
Reported by: info at infreschilab dot it
Summary: crash on mysqly::query -- mysqli_query
Status: Open
Type: Bug
Package: MySQLi related
Operating System: Slackware 15
PHP Version: 8.1.0
Block user comment: N
Private report: N
New Comment:
in the apache log:
malloc(): corrupted top size
[Mon Dec 13 10:28:43.737687 2021] [core:notice] [pid 1149:tid 3069336320] AH00052: child pid 11264
exit signal Abort (6)
Previous Comments:
------------------------------------------------------------------------
[2021-12-04 15:01:29] cmb@php.net
Maybe it is an issue with the official php Slackware package. Did
you report it there?
------------------------------------------------------------------------
[2021-12-04 14:49:07] info at infreschilab dot it
The official php Slackware package is compiled without debugging symbols, but the test in easily to
reproduce. The mysqli driver is unusable.
------------------------------------------------------------------------
[2021-12-03 17:14:42] cmb@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php
for Win32
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
------------------------------------------------------------------------
[2021-12-03 16:41:29] info at infreschilab dot it
Description:
------------
mysqli_query(mysqli $mysql, string $query) crash
Test script:
---------------
$mysqli = new mysqli("localhost", "my_user", "my_password",
"my_db");
$result = $mysqli->query("SELECT * FROM my_table");
Expected result:
----------------
Select queries return a resultset
Actual result:
--------------
Segmentation fault
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=81696&edit=1
Thread (10 messages)