Error with Mac OS MAMP and file_mdm_exif

Created on 8 March 2025, 2 days ago

Problem/Motivation

I am using MacOs and MAMP server for local development.

I am getting a 500 server error trying to read exif metadata on any image
the only message in my sever logs is this:

The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug.

its fails here:

$my_file_metadata = $fmdm->uri($uri);
$my_file_metadata->copyUriToTemp();
$value = $my_file_metadata->getMetadata('exif', 'ExposureTime');

this call to getMetadata is where it is breaking. it breaks no matter what key I try to retrieve.

other calls to the metadata manager do work, for example
$my_file_metadata->getSupportedKeys('exif', ['ifds' => TRUE]) does work, and returns the keys.

but the call to getMetadata crashes everything, on any image.

Im using:
Drupal 10.4.4
file_mdm 3.1.x-dev
fileeye/pel 0.11.0

only attempting to use file_mdm_exif data is failing, calls to $my_file_metadata->getMetadata('getimagesize', 'mime'); work fine.

Any suggestions? I have never seen that error before and don't know where to start

πŸ› Bug report
Status

Active

Version

3.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States loze Los Angeles

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024