Broken with endian issues on PowerPC in trusty

Bug #1377561 reported by Doug Brown on 2014-10-05
This bug affects 1 person
Affects Status Importance Assigned to Milestone
uwsgi (Ubuntu)

Bug Description

The version of uwsgi in trusty ( suffers from an endian bug that causes it to fail on PowerPC because PowerPC is big-endian. For example, if an incoming request passed on from nginx with uwsgi_pass is 661 bytes, I get a message like this in the log:

invalid request block size: 38146 (max 4096)...skip

I know this is an endian issue, because 661 is 0x0295 in hex, and 38146 is 0x9502 in hex. Installing a newer version of uwsgi from pip fixes it (and confirms in the log that the request is actually 661 bytes). It would probably be good to fix it in Ubuntu's distribution too. The upstream fix appears to have been added in 1.9.18:
- fixed uwsgi native protocol support on big endian machines

Ubuntu Release: Ubuntu 14.04.1 LTS
Package Version:

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers