I hit a 500 whilst submitting a diff:
Uploading 14 files... Uploaded 'schema.ser' (new). Uploaded 'schema.ser' (old). Uploaded 'icon-16x16.png' (new). Uploaded 'icon-32x32.png' (new). Uploaded 'icon-64x64.png' (new). Uploaded '100cases.png' (new). Uploaded 'logo.png' (new). Uploaded 'powered.png' (new). Uploaded '1000passes.png' (new). Uploaded 'img.png' (new). Failed to upload new binary 'favicon.ico'. [HTTP/500] Internal Server Error {"result":"PHID-FILE-rber7fflyor2ubh27nxf","error_code":null,"error_info":null} Continue? [Y/n] Y
On the server, I saw this in the error logs:
[30-Mar-2015 11:14:20 Australia/Sydney] [2015-03-30 11:14:20] ERROR 2: imagecreatefromstring(): Couldn't create GD Image Stream out of Data at [/usr/src/phabricator/src/applications/files/storage/PhabricatorFile.php:951] [30-Mar-2015 11:14:20 Australia/Sydney] arcanist(head=master, ref.master=e79032fec289), phabricator(head=master, ref.master=9005ce4e9ff0), phlab(head=master, ref.master=87eadcb22404), phutil(head=master, ref.master=7df0fc1297f9) [30-Mar-2015 11:14:20 Australia/Sydney] #0 imagecreatefromstring(string) called at [<phabricator>/src/applications/files/storage/PhabricatorFile.php:951] [30-Mar-2015 11:14:20 Australia/Sydney] #1 PhabricatorFile::updateDimensions(boolean) called at [<phabricator>/src/applications/files/storage/PhabricatorFile.php:372] [30-Mar-2015 11:14:20 Australia/Sydney] #2 PhabricatorFile::buildFromFileData(string, array) called at [<phabricator>/src/applications/files/storage/PhabricatorFile.php:390] [30-Mar-2015 11:14:20 Australia/Sydney] #3 PhabricatorFile::newFromFileData(string, array) called at [<phabricator>/src/applications/files/conduit/FileUploadConduitAPIMethod.php:49] [30-Mar-2015 11:14:20 Australia/Sydney] #4 FileUploadConduitAPIMethod::execute(ConduitAPIRequest) called at [<phabricator>/src/applications/conduit/method/ConduitAPIMethod.php:65] [30-Mar-2015 11:14:20 Australia/Sydney] #5 ConduitAPIMethod::executeMethod(ConduitAPIRequest) called at [<phabricator>/src/applications/conduit/call/ConduitCall.php:134] [30-Mar-2015 11:14:20 Australia/Sydney] #6 ConduitCall::executeMethod() called at [<phabricator>/src/applications/conduit/call/ConduitCall.php:84] [30-Mar-2015 11:14:20 Australia/Sydney] #7 ConduitCall::execute() called at [<phabricator>/src/applications/conduit/controller/PhabricatorConduitAPIController.php:88] [30-Mar-2015 11:14:20 Australia/Sydney] #8 PhabricatorConduitAPIController::processRequest() called at [<phabricator>/src/aphront/AphrontController.php:33] [30-Mar-2015 11:14:20 Australia/Sydney] #9 AphrontController::handleRequest(AphrontRequest) called at [<phabricator>/src/aphront/configuration/AphrontApplicationConfiguration.php:196] [30-Mar-2015 11:14:20 Australia/Sydney] #10 AphrontApplicationConfiguration::processRequest(AphrontRequest, PhutilDeferredLog, AphrontPHPHTTPSink) called at [<phabricator>/src/aphront/configuration/AphrontApplicationConfiguration.php:121] [30-Mar-2015 11:14:20 Australia/Sydney] #11 AphrontApplicationConfiguration::runHTTPRequest(AphrontPHPHTTPSink) called at [<phabricator>/webroot/index.php:19]