{"action":"created","issue":{"url":"https://api.github.com/repos/mitsuhiko/flask/issues/1470","labels_url":"https://api.github.com/repos/mitsuhiko/flask/issues/1470/labels{/name}","comments_url":"https://api.github.com/repos/mitsuhiko/flask/issues/1470/comments","events_url":"https://api.github.com/repos/mitsuhiko/flask/issues/1470/events","html_url":"https://github.com/mitsuhiko/flask/issues/1470","id":80355465,"number":1470,"title":"route function quit unexpectedly","user":{"login":"shuokay","id":5029591,"avatar_url":"https://avatars.githubusercontent.com/u/5029591?v=3","gravatar_id":"","url":"https://api.github.com/users/shuokay","html_url":"https://github.com/shuokay","followers_url":"https://api.github.com/users/shuokay/followers","following_url":"https://api.github.com/users/shuokay/following{/other_user}","gists_url":"https://api.github.com/users/shuokay/gists{/gist_id}","starred_url":"https://api.github.com/users/shuokay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shuokay/subscriptions","organizations_url":"https://api.github.com/users/shuokay/orgs","repos_url":"https://api.github.com/users/shuokay/repos","events_url":"https://api.github.com/users/shuokay/events{/privacy}","received_events_url":"https://api.github.com/users/shuokay/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-25T02:47:18Z","updated_at":"2015-05-25T08:03:55Z","closed_at":null,"body":"When I call a python wrapper of C++ code in a flask route function, the flask route function quit unexpectedly. But if I call the wrapper from a normal python script ,everything goes well. Is there any condition that flask route function quit automatically?"},"comment":{"url":"https://api.github.com/repos/mitsuhiko/flask/issues/comments/105160133","html_url":"https://github.com/mitsuhiko/flask/issues/1470#issuecomment-105160133","issue_url":"https://api.github.com/repos/mitsuhiko/flask/issues/1470","id":105160133,"user":{"login":"ThiefMaster","id":179599,"avatar_url":"https://avatars.githubusercontent.com/u/179599?v=3","gravatar_id":"","url":"https://api.github.com/users/ThiefMaster","html_url":"https://github.com/ThiefMaster","followers_url":"https://api.github.com/users/ThiefMaster/followers","following_url":"https://api.github.com/users/ThiefMaster/following{/other_user}","gists_url":"https://api.github.com/users/ThiefMaster/gists{/gist_id}","starred_url":"https://api.github.com/users/ThiefMaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThiefMaster/subscriptions","organizations_url":"https://api.github.com/users/ThiefMaster/orgs","repos_url":"https://api.github.com/users/ThiefMaster/repos","events_url":"https://api.github.com/users/ThiefMaster/events{/privacy}","received_events_url":"https://api.github.com/users/ThiefMaster/received_events","type":"User","site_admin":false},"created_at":"2015-05-25T08:03:55Z","updated_at":"2015-05-25T08:03:55Z","body":"Define \"quit unexpectedly\".\r\n\r\nBut it sounds a lot like your native function is broken. Unlike Python code, bugs in C or C++ code can easily result in undefined behavior and sometimes crash while working in a slighly different environment."}}