Bug #81696 [Opn]: crash on mysqly::query -- mysqli_query
Edit report at https://bugs.php.net/bug.php?id=81696&edit=1
ID: 81696
Updated by: cmb@php.net
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:
> 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.
Previous Comments:
------------------------------------------------------------------------
[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)
------------------------------------------------------------------------
[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?
------------------------------------------------------------------------
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
Thread (10 messages)