{"action":"created","issue":{"url":"https://api.github.com/repos/ipkn/crow/issues/62","labels_url":"https://api.github.com/repos/ipkn/crow/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/ipkn/crow/issues/62/comments","events_url":"https://api.github.com/repos/ipkn/crow/issues/62/events","html_url":"https://github.com/ipkn/crow/issues/62","id":74214718,"number":62,"title":"URL query string parse crash","user":{"login":"typcn","id":8022103,"avatar_url":"https://avatars.githubusercontent.com/u/8022103?v=3","gravatar_id":"","url":"https://api.github.com/users/typcn","html_url":"https://github.com/typcn","followers_url":"https://api.github.com/users/typcn/followers","following_url":"https://api.github.com/users/typcn/following{/other_user}","gists_url":"https://api.github.com/users/typcn/gists{/gist_id}","starred_url":"https://api.github.com/users/typcn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/typcn/subscriptions","organizations_url":"https://api.github.com/users/typcn/orgs","repos_url":"https://api.github.com/users/typcn/repos","events_url":"https://api.github.com/users/typcn/events{/privacy}","received_events_url":"https://api.github.com/users/typcn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-05-08T03:34:53Z","updated_at":"2015-05-09T13:43:36Z","closed_at":null,"body":"I wrote a forum https://leanclub.org using crow , but it crash every 10 minutes , so I use gdb to get the trace \r\n```\r\n(gdb) backtrace\r\n#0  0x00007ffff5b3b528 in _int_free (av=0x7fffc4000020, p=<optimized out>, have_lock=0) at malloc.c:3996\r\n#1  0x000000000057df86 in __gnu_cxx::new_allocator<char*>::deallocate (this=0x7fffe00148c0, __p=0x7fffc4014f20)\r\n    at /usr/include/c++/4.9/ext/new_allocator.h:110\r\n#2  0x000000000057734d in std::allocator_traits<std::allocator<char*> >::deallocate (__a=..., __p=0x7fffc4014f20, __n=256)\r\n    at /usr/include/c++/4.9/bits/alloc_traits.h:383\r\n#3  0x000000000056efbe in std::_Vector_base<char*, std::allocator<char*> >::_M_deallocate (this=0x7fffe00148c0, __p=0x7fffc4014f20, __n=256)\r\n    at /usr/include/c++/4.9/bits/stl_vector.h:178\r\n#4  0x0000000000565fc3 in std::_Vector_base<char*, std::allocator<char*> >::~_Vector_base (this=0x7fffe00148c0, __in_chrg=<optimized out>)\r\n    at /usr/include/c++/4.9/bits/stl_vector.h:160\r\n#5  0x000000000055e5fb in std::vector<char*, std::allocator<char*> >::~vector (this=0x7fffe00148c0, __in_chrg=<optimized out>)\r\n    at /usr/include/c++/4.9/bits/stl_vector.h:425\r\n#6  0x00000000005484da in crow::query_string::~query_string (this=0x7fffe00148b8, __in_chrg=<optimized out>)\r\n    at /home/typcncom_gmail_com/leanclub/include/query_string.h:238\r\n#7  0x000000000057cb1e in crow::HTTPParser<crow::Connection<crow::Crow<>> >::~HTTPParser() (this=0x7fffe0014838, __in_chrg=<optimized out>)\r\n    at /home/typcncom_gmail_com/leanclub/include/parser.h:15\r\n#8  0x00000000005889b2 in crow::Connection<crow::Crow<>>::~Connection() (this=0x7fffe0013810, __in_chrg=<optimized out>)\r\n    at /home/typcncom_gmail_com/leanclub/include/http_connection.h:213\r\n#9  0x0000000000585bcf in crow::Connection<crow::Crow<>>::check_destroy() (this=0x7fffe0013810)\r\n    at /home/typcncom_gmail_com/leanclub/include/http_connection.h:502\r\n#10 0x00000000005823c1 in crow::Connection<crow::Crow<>>::do_read()::{lambda(boost::system::error_code const&, unsigned long)#1}::operator()(boost::system::error_code const&, unsigned long) const (__closure=0x7fffb7fe65a0, ec=..., bytes_transferred=0)\r\n    at /home/typcncom_gmail_com/leanclub/include/http_connection.h:456\r\n#11 0x000000000059349a in boost::asio::detail::binder2<crow::Connection<crow::Crow<>>::do_read()::{lambda(boost::system::error_code const&, unsigned long)#1}, boost::system::error_code, unsigned long>::operator()() (this=0x7fffb7fe65a0) at /usr/include/boost/asio/detail/bind_handler.hpp:127\r\n#12 0x0000000000591ec4 in boost::asio::asio_handler_invoke<boost::asio::detail::binder2<crow::Connection<crow::Crow<>>::do_read()::{lambda(boost::system::error_code const&, unsigned long)#1}, boost::system::error_code, unsigned long> >(boost::asio::detail::binder2<crow::Connection<crow::Crow<>>::do_read()::{lambda(boost::system::error_code const&, unsigned long)#1}, boost::system::error_code, unsigned long>&, ...) (function=...)\r\n    at /usr/include/boost/asio/handler_invoke_hook.hpp:69\r\n#13 0x0000000000590719 in boost_asio_handler_invoke_helpers::invoke<boost::asio::detail::binder2<crow::Connection<crow::Crow<>>::do_read()::{lambda(boost::system::error_code const&, unsigned long)#1}, boost::system::error_code, unsigned long>, {lambda(boost::system::error_code const&, unsigned long)#1}>(boost::asio::detail::binder2<crow::Connection<crow::Crow<>>::do_read()::{lambda(boost::system::error_code const&, unsigned long)#1}, boost::system::error_code, unsigned long>&, {lambda(boost::system::error_code const&, unsigned long)#1}&) (function=..., context=...) at /usr/include/boost/asio/detail/handler_invoke_helpers.hpp:37\r\n---Type <return> to continue, or q <return> to quit---\r\n```"},"comment":{"url":"https://api.github.com/repos/ipkn/crow/issues/comments/100486002","html_url":"https://github.com/ipkn/crow/issues/62#issuecomment-100486002","issue_url":"https://api.github.com/repos/ipkn/crow/issues/62","id":100486002,"user":{"login":"typcn","id":8022103,"avatar_url":"https://avatars.githubusercontent.com/u/8022103?v=3","gravatar_id":"","url":"https://api.github.com/users/typcn","html_url":"https://github.com/typcn","followers_url":"https://api.github.com/users/typcn/followers","following_url":"https://api.github.com/users/typcn/following{/other_user}","gists_url":"https://api.github.com/users/typcn/gists{/gist_id}","starred_url":"https://api.github.com/users/typcn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/typcn/subscriptions","organizations_url":"https://api.github.com/users/typcn/orgs","repos_url":"https://api.github.com/users/typcn/repos","events_url":"https://api.github.com/users/typcn/events{/privacy}","received_events_url":"https://api.github.com/users/typcn/received_events","type":"User","site_admin":false},"created_at":"2015-05-09T13:43:36Z","updated_at":"2015-05-09T13:43:36Z","body":"I think so , when I using different complier to recompile, nginx show 502 page and some visitors leave my website , so reducing the probability of a crash occurs.I'll try to fix it"}}