Bug #81696 [Opn]: crash on mysqly::query -- mysqli_query
| From: | info at infreschilab dot it | Date: | Wed, 29 Dec 2021 09:37:03 +0000 |
| Subject: | Bug #81696 [Opn]: crash on mysqly::query -- mysqli_query | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-238629@lists.php.net to get a copy of this message | ||
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
+Operating System: Slackware 15 arm
-PHP Version: 8.1.0
+PHP Version: 8.1.1
Block user comment: N
Private report: N
New Comment:
if I compile the package with --enale-debug it does not crash
Previous Comments:
------------------------------------------------------------------------
[2021-12-13 15:17:13] info at infreschilab dot it
new info:
if mariadb accept external connecion and mysqli_connect connect to "127.0.0.1", works
fine. Else if mysqli_connect connect to "localhost", crashes ( malloc(): corrupted top
size ).
Tested on ARM hardware.
------------------------------------------------------------------------
[2021-12-13 09:32:26] info at infreschilab dot it
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)
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
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=81696
--
Edit this bug report at https://bugs.php.net/bug.php?id=81696&edit=1