Created
November 10, 2011 03:01
-
-
Save naoina/1353985 to your computer and use it in GitHub Desktop.
meinheld segmentation fault
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
u""" | |
環境: | |
Linux 3.1.0 x86_64 | |
Python 2.7.2 | |
meinheld 0.4.13 | |
Flask 0.8 | |
greenlet 0.3.1 | |
gcc 4.6.2 | |
ffmpeg 2011-10-13ビルド (リビジョン不明) | |
実行環境はvirtualenvおよびpipで構築 | |
再現手順: | |
1. アプリケーションの実行: | |
python app.py | |
2. ffmpegを使ってPOSTデータを送信: | |
ffmpeg -i foo.mp3 -f mp3 http://localhost:9001/ | |
ffmpegの入力はmp3に限らない。出力はmp3およびwebmで再現。 | |
""" | |
from flask import Flask | |
from meinheld import server | |
app = Flask(__name__) | |
@app.route("/", methods=['POST']) | |
def index(): | |
return '' | |
if __name__ == '__main__': | |
server.listen(("0.0.0.0", 9001)) | |
server.run(app) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm also have the same error running websocket_chat.py demo: Segmentation fault
Is there any solution for this? After 4 months?