Skip to content

getimagesizefromstring() : Corrupt JPEG data #2235

Closed

Description

Describe the bug
Since NC28 upgrade, log file is flooded with this error (about 10 times per minute) :
getimagesizefromstring(): Corrupt JPEG data: 1 extraneous bytes before marker at /[NC path]/apps/photos/lib/Listener/SizeMetadataProvider.php#56

I ignored it before seeing long mariaDB queries generating heavy CPU load.

To Reproduce
Steps to reproduce the behavior:

  1. Get NC 27 and Photos app fully working
  2. Upgrade NC from 27 to 28.0.1
  3. See repeated errors in log, and see CPU load and iowait >20%
  4. Disable Photos app => back to normal

Expected behavior

  • No error in log
  • Acceptable CPU load and IOwait

Server log
getimagesizefromstring(): Corrupt JPEG data: 1 extraneous bytes before marker at /[NC path]/apps/photos/lib/Listener/SizeMetadataProvider.php#56

Additional context

  • Debian Bookworm
  • NC 28.0.1
  • MariaDB 11.2.2
  • PHP 8.2.14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending approval or rejection. This issue is pending approval.bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions