I tried upgrading to Wt 3.1.7a and to git, and in both I have a problem in my 
app where clicking on a WSelectionBox or button causes the "Loading..." 
indicator to show on the client and it never comes back.  I updated to the 
latest wtwithqt/lib code in my app and it did not help.  I tried debugging it, 
but I am not entirely sure which thread is hung.  I think it is the one below.

I tried pulling Qt support out of my app and problem is gone.  I would like 
opinions on the following:

 a) any idea what the problem is?
 b) Is Wt with Qt support going to be stable enough for me to rely on? I would 
say this is the third or fourth upgrade where I experience some issue since I 
am relying on Qt. I am using Qt only for QFileSystemWatcher in a separate 
thread to provide my app notifications when the file system updates.  There are 
other ways I can do it, Qt just provided a convenient method.  Since I really 
don't need Qt so I'm thinking to just drop it if it is not going to be stable.

Thanks.

Here is the thread I think is stuck:

(gdb) backtrace
#0  0x00007ffff59ab464 in __lll_lock_wait () from /lib/libpthread.so.0
#1  0x00007ffff59a65d9 in _L_lock_953 () from /lib/libpthread.so.0
#2  0x00007ffff59a63fb in pthread_mutex_lock () from /lib/libpthread.so.0
#3  0x00007ffff7a909a8 in boost::mutex::lock (this=0x7fffec53f240, session=..., 
request=..., response=...) at /usr/include/boost/thread/pthread/mutex.hpp:50
#4  boost::unique_lock<boost::mutex>::lock (this=0x7fffec53f240, session=..., 
request=..., response=...) at /usr/include/boost/thread/locks.hpp:338
#5  unique_lock (this=0x7fffec53f240, session=..., request=..., response=...) 
at /usr/include/boost/thread/locks.hpp:224
#6  Handler (this=0x7fffec53f240, session=..., request=..., response=...) at 
/home/neuropipe/Downloads/wt-3.1.7a/src/web/WebSession.C:535
#7  0x00007ffff7aaf0e9 in Wt::WebController::handleAsyncRequest (this=0x7d0d10, 
request=0xb25e70) at 
/home/neuropipe/Downloads/wt-3.1.7a/src/web/WebController.C:605
#8  0x00007ffff74e828f in http::server::WtReply::consumeRequestBody 
(this=0xae75b0,
    begin=0xb0a79f 
"request=jsupdate&signal=se2&o6a3=&o6d1=&focus=o6d5&tid=o6d5&type=change&scrollX=0&scrollY=0&width=592&height=94&widgetX=-344&widgetY=-207&button=0&ackId=3ertical-align:middle;\"><span
 id=\"o813\"><span i"..., end=0x9a <Address 0x9a out of bounds>,
    state=http::server::Request::Complete) at 
/home/neuropipe/Downloads/wt-3.1.7a/src/http/WtReply.C:175
#9  0x00007ffff74a8f08 in http::server::RequestParser::parseBody (this=<value 
optimized out>, req=..., reply=DWARF-2 expression error: DW_OP_reg operations 
must be used either alone or in conjuction with DW_OP_piece.
) at /home/neuropipe/Downloads/wt-3.1.7a/src/http/RequestParser.C:137
#10 0x00007ffff748d172 in http::server::Connection::handleReadBody 
(this=0xb0a520) at /home/neuropipe/Downloads/wt-3.1.7a/src/http/Connection.C:168
#11 0x00007ffff748e982 in http::server::Connection::handleReadRequest0 
(this=0xb0a520) at /home/neuropipe/Downloads/wt-3.1.7a/src/http/Connection.C:116
#12 0x00007ffff74de1e1 in call<boost::shared_ptr<http::server::Connection>, 
boost::system::error_code const, unsigned long> (base=<value optimized out>) at 
/usr/include/boost/bind/mem_fn_template.hpp:265
#13 operator()<boost::shared_ptr<http::server::Connection> > (base=<value 
optimized out>) at /usr/include/boost/bind/mem_fn_template.hpp:279
#14 operator()<boost::_mfi::mf2<void, http::server::Connection, const 
asio_error_code&, long unsigned int>, 
boost::_bi::list2<boost::system::error_code&, long unsigned int&> > 
(base=<value optimized out>) at /usr/include/boost/bind/bind.hpp:385
#15 operator()<boost::system::error_code, long unsigned int> (base=<value 
optimized out>) at /usr/include/boost/bind/bind_template.hpp:61
#16 boost::asio::detail::binder2<boost::_bi::bind_t<void, 
boost::_mfi::mf2<void, http::server::Connection, boost::system::error_code 
const&, unsigned long>, 
boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server::Connection> 
>, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::system::error_code, 
unsigned long>::operator() (base=<value optimized out>) at 
/usr/include/boost/asio/detail/bind_handler.hpp:96
#17 asio_handler_invoke<boost::asio::detail::binder2<boost::_bi::bind_t<void, 
boost::_mfi::mf2<void, http::server::Connection, asio_error_code const&, 
unsigned long>, 
boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server::Connection> 
>, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::system::error_code, 
unsigned long> > (base=<value optimized out>) at 
/usr/include/boost/asio/handler_invoke_hook.hpp:62
#18 invoke<boost::asio::detail::binder2<boost::_bi::bind_t<void, 
boost::_mfi::mf2<void, http::server::Connection, asio_error_code const&, 
unsigned long>, 
boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server::Connection> 
>, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::system::error_code, 
unsigned long>, boost::_bi::bind_t<void, boost::_mfi::mf2<void, 
http::server::Connection, asio_error_code const&, unsigned long>, 
boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server::Connection> 
>, boost::arg<1> (*)(), boost::arg<2> (*)()> > > (base=<value optimized out>) 
at /usr/include/boost/asio/detail/handler_invoke_helpers.hpp:39
#19 asio_handler_invoke<boost::asio::detail::binder2<boost::_bi::bind_t<void, 
boost::_mfi::mf2<void, http::server::Connection, asio_error_code const&, 
unsigned long>, 
boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server::Connection> 
>, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::system::error_code, 
unsigned long>, boost::_bi::bind_t<void, boost::_mfi::mf2<void, 
http::server::Connection, asio_error_code const&, unsigned long>, 
boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server::Connection> 
>, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::system::error_code, 
unsigned long> (base=<value optimized out>) at 
/usr/include/boost/asio/detail/bind_handler.hpp:130
#20 invoke<boost::asio::detail::binder2<boost::_bi::bind_t<void, 
boost::_mfi::mf2<void, http::server::Connection, asio_error_code const&, 
unsigned long>, 
boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server::Connection> 
>, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::system::error_code, 
unsigned long>, boost::asio::detail::binder2<boost::_bi::bind_t<void, 
boost::_mfi::mf2<void, http::server::Connection, asio_error_code const&, 
unsigned long>, 
boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server::Connection> 
>, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::system::error_code, 
unsigned long> > (base=<value optimized out>) at 
/usr/include/boost/asio/detail/handler_invoke_helpers.hpp:39
#21 
boost::asio::detail::handler_queue::handler_wrapper<boost::asio::detail::binder2<boost::_bi::bind_t<void,
 boost::_mfi::mf2<void, http::server::Connection, boost::system::error_code 
const&, unsigned long>, 
boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server::Connection> 
>, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::system::error_code, 
unsigned long> >::do_call (base=<value optimized out>) at 
/usr/include/boost/asio/detail/handler_queue.hpp:192
#22 0x00007ffff74b48ce in 
boost::asio::detail::task_io_service<boost::asio::detail::epoll_reactor<false> 
>::run(boost::system::error_code&) () from /usr/local/lib/libwthttp.so.26
#23 0x00007ffff74a9a91 in boost::asio::io_service::run (this=0x7d2720) at 
/usr/include/boost/asio/impl/io_service.ipp:58
#24 http::server::Server::run (this=0x7d2720) at 
/home/neuropipe/Downloads/wt-3.1.7a/src/http/Server.C:209
#25 0x00007ffff558eb70 in thread_proxy () from 
/usr/lib/libboost_thread.so.1.40.0
#26 0x00007ffff59a39ca in start_thread () from /lib/libpthread.so.0
#27 0x00007ffff37d670d in clone () from /lib/libc.so.6
#28 0x0000000000000000 in ?? ()


--
Dan Ginsburg / email: [email protected]
Principal Software Architect
Fetal-Neonatal Neuroimaging and Development Science Center
Children's Hospital Boston
300 Longwood Avenue
Boston, MA 02115
Phone: 857-218-5140

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to