I got the following error message when uploading a new patch version of my managed package:
An unexpected error occurred when uploading your package.
Please contact Salesforce Support and provide the following error code: 1898781269-33015 (1917262905)
I am able to upload the exact same package as a Managed - Beta version, error occurs only when uploading as Managed - Released. I was also able to upload a previous Managed - Released patch from the same org a week or so ago.
Partner support pointed me to this known issue: https://success.salesforce.com/issues_view?id=a1p30000000T0y2AAC. I have not yet tried the suggested workaround of downgrading to API version 16. It seems a pretty drastic step and it may not even be possible with my app.
Before I go that route I'm hoping someone here has a better solution...
[Update]: I worked around the issue the first time by creating a new major release and a clean patch org. But now a similar issue has surfaced there as well, although with a different error code: 310161302-57381 (635022129)
Additional data point: it seems the upload breaks during the Creating a snapshot of package components phase, after all the tests have run. As before, everything works fine when uploading as Managed - Beta, only the Managed - Released update fails