FS#61139 - [roundcubemail] running in multiple problems after last php update to php7.3

Attached to Project: Community Packages
Opened by BAD+MAD (mat_weiss) - Thursday, 20 December 2018, 13:21 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 09 March 2021, 14:59 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

tail -f /var/log/roundcubemail/errors
=====================================

[20-Dec-2018 12:02:27 Europe/Berlin] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 7307218430253539472 bytes) in /usr/share/webapps/roundcubemail/program/lib/Roundcube/rcube_plugin.php on line 151
[20-Dec-2018 13:10:37 Europe/Berlin] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 8243105062447506560 bytes) in /usr/share/webapps/roundcubemail/program/lib/Roundcube/rcube_imap_generic.php on line 678
[20-Dec-2018 13:10:37 Europe/Berlin] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 8243105062447509504 bytes) in /usr/share/webapps/roundcubemail/program/lib/Roundcube/rcube_session.php on line 174
[20-Dec-2018 13:10:37 Europe/Berlin] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 8243105062447509504 bytes) in Unknown on line 0

------------------------------------------------------------

(the error occurs with or without opcache enabled and also with or without apcu enabled)

tail -f /var/log/httpd/error_log
================================

[Thu Dec 20 14:09:10.686207 2018] [core:notice] [pid 32755] AH00052: child pid 26155 exit signal Segmentation fault (11)
zend_mm_heap corrupted
zend_mm_heap corrupted
zend_mm_heap corrupted
zend_mm_heap corrupted
zend_mm_heap corrupted
zend_mm_heap corrupted

------------------------------------------------------------

php -v
======

PHP 7.3.0 (cli) (built: Dec 8 2018 12:11:20) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.0-dev, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.3.0, Copyright (c) 1999-2018, by Zend Technologies

------------------------------------------------------------

php -m
======

[PHP Modules]
apc
apcu
bz2
Core
ctype
curl
date
dom
exif
fileinfo
filter
gd
gettext
hash
iconv
intl
json
libxml
mbstring
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
Phar
posix
readline
Reflection
session
SimpleXML
sodium
SPL
standard
tokenizer
xml
xmlreader
xmlrpc
xmlwriter
Zend OPcache
zip
zlib

[Zend Modules]
Zend OPcache

------------------------------------------------------------

cat /etc/php/conf.d/opcache.ini
===============================

zend_extension=opcache
opcache.enable=1
opcache.enable_cli=1
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=10000
opcache.memory_consumption=192
opcache.interned_strings_buffer=16
opcache.save_comments=1
opcache.revalidate_freq=1
opcache.fast_shutdown=1

------------------------------------------------------------

This task depends upon

Closed by  Sergej Pupykin (sergej)
Tuesday, 09 March 2021, 14:59 GMT
Reason for closing:  Works for me
Additional comments about closing:  and no response
Comment by Christian Weiske (cweiske) - Friday, 28 December 2018, 21:00 GMT
This might be caused by: https://bugs.php.net/bug.php?id=77308 ("Bug #77308: Unbuffered queries memory leak")
Comment by BAD+MAD (mat_weiss) - Wednesday, 30 January 2019, 09:43 GMT
I posted this upstream to "roundcubers"

https://github.com/roundcube/roundcubemail/issues/6606

I got this feedbak:

"zend_mm_heap corrupted" suggests a bug in PHP. I don't think we can help you. I have no problems with PHP 7.3.1 on Ubuntu 18.04 and MySQL 5.7.25.




Can anyone take care of the problem and try to help me?
Comment by Sergej Pupykin (sergej) - Monday, 20 January 2020, 18:09 GMT
can it be reproduced with current versions?

Loading...