Bug #81696 [Com]: crash on mysqly::query -- mysqli_query
| From: | gallwageborg at gmail dot com | Date: | Wed, 11 Jan 2023 11:51:54 +0000 |
| Subject: | Bug #81696 [Com]: crash on mysqly::query -- mysqli_query | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-243407@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
Comment by: gallwageborg at gmail dot com
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 arm
PHP Version: 8.1.1
Block user comment: N
Private report: N
New Comment:
Thankful for the little by little useful exercise. Has conclusively the ordinary impact from this
vlog. (https://www.dg-paystub.com/)github.com
Previous Comments:
------------------------------------------------------------------------
[2021-12-29 13:13:51] cmb@php.net
> Tested on ARM hardware.
Ah! So this *might* be ARM specific.
Thanks also for the further info. A stack backtrace might still
be helpful to see where sysmalloc assertion violation stems from.
------------------------------------------------------------------------
[2021-12-29 12:16:08] info at infreschilab dot it
php-cgi: malloc.c:2539: sysmalloc: Assertion `(old_top == initial_top (av) && old_size == 0)
|| ((unsigned long) (old_size) >= MINSIZE && prev_inuse (old_top) && ((unsigned
long) old_end & (pagesize - 1)) == 0)' failed.
------------------------------------------------------------------------
[2021-12-29 09:37:03] info at infreschilab dot it
if I compile the package with --enale-debug it does not crash
------------------------------------------------------------------------
[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)
------------------------------------------------------------------------
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