php 8.1 segmentation fault
Hi everyone, I installed the new php 8.1 from Slackware arm extra packages, but it seems buggy to me, it crashes on mysqli_query() when connected to local database.
Pat reintroduced the 8.0 on x86, but only 8.1 is left on arm. Can anyone help me? |
Quote:
|
ok I compiled it, I would have liked an official package :-D
|
Quote:
|
thanks, merry Christmas to you too
|
here is the crash:
Code:
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. |
Quote:
Does php 8.0 work when you compiled it? I hadn't got around to adding php 8.0 to /extra yet but I'll put it in the queue. |
Code:
$mysqli = new mysqli("localhost", "my_user", "my_password", "my_db"); //very important that the host is set to localhost With the 8.0 version work fine. I have reported the problem also in the php site: https://bugs.php.net/bug.php?id=81696 |
Quote:
Code:
mozes@mojo:~/ac/source/n/php/tests# ./php81-fail.php Quote:
|
I tested on AArch64 as well, and it fails with php 8.0 and 8.1
Code:
mozes@bladswede:~/ac/source/n/php/tests# ./php81-fail.php Code:
mozes@bladswede:~/ac/source/n/php/tests# ./php81-fail.php http://ftp.slackware.com/pub/slackwa...t/extra/php80/ PHP 8.0 is building on 32bit ARM now so I'll have a look at that in the next few days. |
Quote:
The official script includes '--enable-maintainer-zts --with-xmlrpc=shared --with-expat' build options where the GitHub script doesn't. |
All times are GMT -5. The time now is 10:45 PM. |