https://bugzilla.wikimedia.org/show_bug.cgi?id=54989

       Web browser: ---
            Bug ID: 54989
           Summary: TiffHandler broken under hhvm?
           Product: MediaWiki
           Version: 1.22-git
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: File management
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Haven't managed to diagnose exactly what's going wrong here, but wanted to file
a bug for tracking.

Currently on hhvm, TiffTest::testTiffMetadataExtraction() is failing. The call
to getMetadata() is returning ExifBitmapHandler::BROKEN_FILE for the test file.
The failure ends up looking like:

$ hhvm phpunit.php includes/media/TiffTest.php 
PHPUnit 3.7.23 by Sebastian Bergmann.

Configuration read from /www/mediawiki/core/tests/phpunit/suite.xml

.E.

Time: 106 ms, Memory: 7.91Mb

There was 1 error:

1) TiffTest::testTiffMetadataExtraction
Unable to unserialize: [-1]. Expected ':' but got '1'.

/www/mediawiki/core/tests/phpunit/includes/media/TiffTest.php:29
/www/mediawiki/core/tests/phpunit/MediaWikiTestCase.php:116
/www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:80
/www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:64

FAILURES!
Tests: 3, Assertions: 2, Errors: 1.

Current hhvm info:
$ hhvm --version
HipHop VM v2.1.0-dev (rel)
Compiler: heads/master-0-g5e0cd6a795a31c28adce6739e1d021635a0f8dbd
Repo schema: d1d216e056958e39b9aec248c8e310b70d536466

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to