PHP error when opening attachments in WebApp



  • Hi there,

    everytime I am opening an email attachment in WebApp the apache2 error.log logs an error.

    Example for PDF-Attachment (endless IDs shortened for better readability):

    [Fri Feb 22 17:59:33.032636 2019] [proxy_fcgi:error] [pid 8519:tid 140330498238208] [client y.y.y.y:43442] AH01071: Got error 'PHP message: array (\n  'store' => 'xxx',\n  'entryid' => 'zzz',\n  'dialog_attachments' => 'EIOyClCElpIYISzYZb3DRnatqyk3YVMm',\n  'load' => 'download_attachment',\n  'attachNum' => \n  array (\n    0 => '0',\n  ),\n  'contentDispositionType' => 'inline',\n  'filename' => 'document.pdf',\n)\n'
    

    Example for JPG-Attachment:

    [Fri Feb 22 17:58:47.812313 2019] [proxy_fcgi:error] [pid 8518:tid 140329734895360] [client y.y.y.y:43402] AH01071: Got error 'PHP message: array (\n  'store' => 'xxx',\n  'entryid' => 'zzz',\n  'dialog_attachments' => 'cBjl3JSb1MB8AbedGQXU7snEooRr7IUX',\n  'load' => 'download_attachment',\n  'attachNum' => \n  array (\n    0 => '2',\n  ),\n  'contentDispositionType' => 'inline',\n)\n'
    

    Attachments can be opened and viewed in WebApp. This happens for all users. It does not happen if email is downloaded via IMAP or Z-Push.

    WebApp:
    3.5.2.2146+87.1
    Kopano Core:
    8.7.0
    PHP:
    7.2.15

    Just wondering if this could have any impact on stable operation. Does anybody also experience these errors?


  • Kopano

    Hi @genesis74 -

    just to clarify - you see these error messages but everything works properly?

    Regards, Bob



  • Hi @bhuisman,

    as far as I can see, yes, I can open the attachments and there is no malfunction visible from the user’s point of view.



  • With php-fpm a talloc-warning is logged :

    [26-Feb-2019 10:29:35] WARNING: [pool postler.tadao.an] child 25035 said into stderr: "NOTICE: PHP message: array ("
    [26-Feb-2019 10:29:35] WARNING: [pool postler.tadao.an] child 25035 said into stderr: "  'store' => 'xxxxxxxxxxx',"
    [26-Feb-2019 10:29:35] WARNING: [pool postler.tadao.an] child 25035 said into stderr: "  'entryid' => 'xxxxxxxxxxx',"
    [26-Feb-2019 10:29:35] WARNING: [pool postler.tadao.an] child 25035 said into stderr: "  'dialog_attachments' => '32xxxxE1IixxxxN2hXjNQKoNVbixxufZ',"
    [26-Feb-2019 10:29:35] WARNING: [pool postler.tadao.an] child 25035 said into stderr: "  'load' => 'download_attachment',"
    [26-Feb-2019 10:29:35] WARNING: [pool postler.tadao.an] child 25035 said into stderr: "  'attachNum' => "
    [26-Feb-2019 10:29:35] WARNING: [pool postler.tadao.an] child 25035 said into stderr: "  array ("
    [26-Feb-2019 10:29:35] WARNING: [pool postler.tadao.an] child 25035 said into stderr: "    0 => '0',"
    [26-Feb-2019 10:29:35] WARNING: [pool postler.tadao.an] child 25035 said into stderr: "  ),"
    [26-Feb-2019 10:29:35] WARNING: [pool postler.tadao.an] child 25035 said into stderr: "  'contentDispositionType' => 'inline',"
    [26-Feb-2019 10:29:35] WARNING: [pool postler.tadao.an] child 25035 said into stderr: ")"
    [26-Feb-2019 10:32:22] WARNING: [pool postler.tadao.an] child 25035 said into stderr: "no talloc stackframe around, leaking memory"
    

    Don’t observe any obvious problems with attachment-downloads or -previews, either.
    ++umgfoin.



  • i have the same warning on ubuntu 18.04 but at webapp are no problems.


Log in to reply