Re: [Cppcms-users] URGENT: strange bug ocurring
Brought to you by:
artyom-beilis
From: Artyom B. <art...@ya...> - 2012-08-01 13:08:07
|
Ok, I reproduced a problem. I'll update you when I'll fix it. It seems to be a bug in some redesigned buffering/gzip code. Also why do you use the development version in the production environment? Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ ----- Original Message ----- > From: "ele...@ex..." <ele...@ex...> > To: cpp...@li... > Cc: Artyom Beilis <art...@ya...> > Sent: Wednesday, August 1, 2012 3:35 PM > Subject: Re: [Cppcms-users] URGENT: strange bug ocurring > > Sorry forgot to attach GDB trace: > > > #0 0x00007f8933c0e817 in __libc_writev (fd=9, vector=<value optimized > out>, count=1) at ../sysdeps/unix/sysv/linux/writev.c:56 > #1 0x00007f8935655707 in booster::aio::stream_socket::writev > (this=0xe7e9a0, b=<value optimized out>) > at /home/sysadmin/cppcms/booster/lib/aio/src/stream_socket.cpp:173 > #2 0x00007f8935655769 in booster::aio::stream_socket::write_some > (this=0x9, buffer=..., e=...) > at /home/sysadmin/cppcms/booster/lib/aio/src/stream_socket.cpp:94 > #3 0x00007f8935c7fab3 in > cppcms::impl::cgi::http::write_some_to_socket(booster::aio::const_buffer > const&, booster::system::error_code&) () > from /usr/local/lib/libcppcms.so.1 > #4 0x00007f8935c8302a in cppcms::impl::cgi::http::write_some(void const*, > unsigned long, booster::system::error_code&) () > from /usr/local/lib/libcppcms.so.1 > #5 0x00007f8935bb88cb in cppcms::impl::cgi::connection::write > (this=0xe7e8d0, data=<value optimized out>, n=16384, e=...) > at /home/sysadmin/cppcms/src/cgi_api.cpp:550 > #6 0x00007f8935bd005e in cppcms::http::details::output_device::write > (this=0xe81ea8, data=<value optimized out>, n=1) > at /home/sysadmin/cppcms/src/http_response.cpp:277 > #7 0x00007f8935bd03e7 in > cppcms::http::details::basic_obuf<cppcms::http::details::output_device>::overflow > (this=0x9, c=99) > at /home/sysadmin/cppcms/src/http_response.cpp:131 > #8 0x00007f89343e7215 in std::basic_streambuf<char, > std::char_traits<char> >::xsputn(char const*, long) () from > /usr/lib/libstdc++.so.6 > #9 0x00007f8935bcd58a in std::basic_streambuf<char, > std::char_traits<char> >::sputn (this=0xe7c6f0) at > /usr/include/c++/4.4/streambuf:427 > #10 cppcms::http::details::gzip_buf::close (this=0xe7c6f0) at > /home/sysadmin/cppcms/src/http_response.cpp:201 > #11 cppcms::http::response::finalize (this=0xe7c6f0) at > /home/sysadmin/cppcms/src/http_response.cpp:380 > #12 0x00007f8935bd340d in cppcms::http::context::complete_response > (this=0xe78a90) at /home/sysadmin/cppcms/src/http_context.cpp:117 > #13 0x00007f8935bd38f1 in cppcms::http::context::dispatch (app=DWARF-2 > expression error: DW_OP_reg operations must be used either alone or in > conjuction with DW_OP_piece. > ) at /home/sysadmin/cppcms/src/http_context.cpp:156 > #14 0x00007f8935bd5173 in operator()<void > (*)(booster::intrusive_ptr<cppcms::application>, > std::basic_string<char, > std::char_traits<char>, std::allocator<char> >, bool), > cppcms_boost::_bi::list0> (this=0xe9b2d0) at > /home/sysadmin/cppcms/cppcms_boost/cppcms_boost/bind/bind.hpp:385 > #15 cppcms_boost::_bi::bind_t<void, void > (*)(booster::intrusive_ptr<cppcms::application>, std::string, bool), > cppcms_boost::_bi::list3<cppcms_boost::_bi::value<booster::intrusive_ptr<cppcms::application> >> , cppcms_boost::_bi::value<std::string>, > cppcms_boost::_bi::value<bool> > >> ::operator() (this=0xe9b2d0) > at > /home/sysadmin/cppcms/cppcms_boost/cppcms_boost/bind/bind_template.hpp:20 > #16 booster::function<void ()()>::callable_impl<void, > cppcms_boost::_bi::bind_t<void, void > (*)(booster::intrusive_ptr<cppcms::application>, std::string, bool), > cppcms_boost::_bi::list3<cppcms_boost::_bi::value<booster::intrusive_ptr<cppcms::application> >> , cppcms_boost::_bi::value<std::string>, > cppcms_boost::_bi::value<bool> > >> >::call() (this=0xe9b2d0) at > /home/sysadmin/cppcms/booster/booster/function.h:168 > #17 0x00007f8935bd6dd5 in booster::function<void ()()>::operator()() const > (this=0xe7a6a0) at /home/sysadmin/cppcms/booster/booster/function.h:168 > #18 cppcms::impl::thread_pool::worker (this=0xe7a6a0) at > /home/sysadmin/cppcms/src/thread_pool.cpp:120 > #19 0x00007f89356cf27d in booster::function<void ()()>::operator()() const > (p=<value optimized out>) > at /home/sysadmin/cppcms/booster/./booster/function.h:168 > #20 booster_thread_func (p=<value optimized out>) at > /home/sysadmin/cppcms/booster/lib/thread/src/pthread.cpp:46 > #21 0x00007f89339308ca in start_thread (arg=<value optimized out>) at > pthread_create.c:300 > #22 0x00007f8933c1592d in clone () at > ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 > #23 0x0000000000000000 in ?? () > > Whether this gives you an idea about what's going on i don't know > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > |