photos icon indicating copy to clipboard operation
photos copied to clipboard

[Bug]: Error during scan: exif_read_data(): Process tag(x0000=UndefinedTag): Illegal format code 0x0000, suppose BYTE

Open andreaskoelsch opened this issue 1 year ago • 0 comments

⚠️ This issue respects the following points: ⚠️

Bug description

I have a few photos which cause an error when running occ files:scan --generate-metadata --path="user/files/testimages/" -v. The errors read as follows with different offsets.

Error during scan: exif_read_data(): Process tag(x0000=UndefinedTag): Illegal format code 0x0000, suppose BYTE
Error during scan: exif_read_data(): Process tag(x0000=UndefinedTag): Illegal pointer offset(x8520000 + xFFAA = x852FFAA > x60B4DC)

The files themselves seem okay. I can show them and everything seems fine. However, the error messages are annoying. How can I debug this issue?

Steps to reproduce

  1. Upload image to Nextcloud
  2. run occ files:scan --generate-metadata --path="user/files/testimages/" -v
  3. See error

Expected behavior

No error

Installation method

Community Manual installation with Archive

Nextcloud Server version

28

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.2

Web server

Nginx

Database engine version

MariaDB

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

  • [X] Default user-backend (database)
  • [ ] LDAP/ Active Directory
  • [ ] SSO - SAML
  • [ ] Other

Configuration report

No response

List of activated Apps

No response

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

I'm happy to share a file which produces the error

andreaskoelsch avatar Apr 06 '24 14:04 andreaskoelsch