php 7.08 exif thumbnail failing in 16.04 and earlier

Bug #1617636 reported by Charles Berry
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
php5 (Ubuntu)
Won't Fix
Undecided
Unassigned
Trusty
Won't Fix
Undecided
Unassigned
php7.0 (Ubuntu)
Won't Fix
Undecided
Unassigned
Xenial
Won't Fix
Undecided
Unassigned

Bug Description

php 7.0.8 exif_thumbnail bug using Zend OPcache v7.0.8-0ubuntu0.16.04.2.

This may be fixed in php 7.0.10. See php bug report https://bugs.php.net/bug.php?id=72819

Can we get 7.0.10 into 16.04?

Paul White (paulw2u)
affects: ubuntu → php7.0 (Ubuntu)
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

I Subscribed the Server Team, but most important nacc who did the php7 work to consider your request.

Revision history for this message
Charles Berry (crberry) wrote :

The bug showed up in a PHP 5 version on 14.04 after an Ubuntu update also.. sorry I did not note which version that was. I decided to upgrade to 16.04 expecting the issue to go away.

Revision history for this message
Nish Aravamudan (nacc) wrote :

Thanks for reporting this bug! I will take a look at the upstream bug and try to see if we can get this fixed in both php5 (14.04) and php7.0 (16.04/16.10).

Thanks,
Nish

no longer affects: php7.0 (Ubuntu Trusty)
no longer affects: php5 (Ubuntu Xenial)
Changed in php5 (Ubuntu):
assignee: nobody → Nish Aravamudan (nacc)
Changed in php5 (Ubuntu Trusty):
assignee: nobody → Nish Aravamudan (nacc)
Changed in php7.0 (Ubuntu):
assignee: nobody → Nish Aravamudan (nacc)
Changed in php7.0 (Ubuntu Xenial):
assignee: nobody → Nish Aravamudan (nacc)
Changed in php5 (Ubuntu):
status: New → Triaged
Changed in php7.0 (Ubuntu):
status: New → Triaged
Changed in php5 (Ubuntu Trusty):
status: New → Triaged
Changed in php7.0 (Ubuntu Xenial):
status: New → Triaged
Revision history for this message
Nish Aravamudan (nacc) wrote :

7.0.15 is now in 16.04+, can you verify if the issue is resolved?

Changed in php7.0 (Ubuntu Xenial):
assignee: Nish Aravamudan (nacc) → nobody
Changed in php7.0 (Ubuntu):
assignee: Nish Aravamudan (nacc) → nobody
status: Triaged → Incomplete
Changed in php7.0 (Ubuntu Xenial):
status: Triaged → Incomplete
Revision history for this message
Charles Berry (crberry) wrote :

per your email request.. I still am getting the bug... Need more config information?

---- attributes of image file ----

-rwxrwxrwx 1 root root 2839434 Mar 31 2013 IMG_4741.JPG*

---- source php script ----

<?php
$file='IMG_4741.JPG';
$image = exif_thumbnail($file, $width, $height, $type);
echo "length is :" . strlen($image);
?>

---- output of running the script ----

php phpBug.php

PHP Warning: exif_thumbnail(IMG_4741.JPG): IFD data bad offset: 0xFFFFFCF2 length 0x0ED8 in /home/crberry/familyarchive/php/phpBug.php on line 3
length is :0

----

php -v

PHP 7.0.15-0ubuntu0.16.04.4 (cli) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
    with Zend OPcache v7.0.15-0ubuntu0.16.04.4, Copyright (c) 1999-2017, by Zend Technologies

----

uname -a

Linux crberry-ThinkPad-R50e 4.4.0-66-generic #87-Ubuntu SMP Fri Mar 3 15:27:09 UTC 2017 i686 i686 i686 GNU/Linux

Revision history for this message
Nish Aravamudan (nacc) wrote : Re: [Bug 1617636] Re: php 7.08 exif thumbnail failing in 16.04 and earlier

Charles,

It looks like you have pinged the upstream developers in the bug
referenced in the original report. I think that's the best approach
for now, unfortunately :/

-Nish

Revision history for this message
Bryce Harrington (bryce) wrote :

Standard support has ended for Trusty and Xenial unfortunately, but it looks like this issue was addressed by upstream and the fix should now be included in Ubuntu 18.04 and newer.

Changed in php5 (Ubuntu):
assignee: Nish Aravamudan (nacc) → nobody
Changed in php5 (Ubuntu Trusty):
assignee: Nish Aravamudan (nacc) → nobody
status: Triaged → Won't Fix
Changed in php7.0 (Ubuntu):
status: Incomplete → Won't Fix
Changed in php7.0 (Ubuntu Xenial):
status: Incomplete → Won't Fix
Changed in php5 (Ubuntu):
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.