App crashes with enabled WebSockets
Added by Steve Forman over 5 years ago
Hi guys!
I'm currently using wt-3.3.11 with WQAplication. When i enable WebSockets in the config, my app crashes after start with the following warning:
"Wt: attachThread(): no thread is holding this application's lock ?"
Backtrace:
1 Wt::WebSession::notify(Wt::WEvent const&) 0x7ffff3aed2fa
2 Wt::DispatchThread::doEvent() 0x7ffff42eaba3
3 QObject::event(QEvent *) 0x7ffff5c938ce
4 QCoreApplication::notifyInternal(QObject *, QEvent *) 0x7ffff5c7a8ad
5 QCoreApplicationPrivate::sendPostedEvents(QObject *, int, QThreadData *) 0x7ffff5c7da95
6 postEventSourceDispatch(_GSource *, int ( *)(void *), void *) 0x7ffff5ca9c5e
7 g_main_context_dispatch 0x7fffef755969
8 g_main_context_iterate.isra.22 0x7fffef755cc8
9 g_main_context_iteration 0x7fffef755d7c
10 QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) 0x7ffff5ca93de
11 QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) 0x7ffff5c7933f
12 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) 0x7ffff5c7968d
13 QThread::exec() 0x7ffff5b6dc7f
14 Wt::DispatchThread::run() 0x7ffff42eb011
15 QThreadPrivate::start(void *) 0x7ffff5b705cf
16 start_thread 0x7ffff170be25
17 clone 0x7ffff1a1ebad
What is going wrong? Thanks in advance!
Replies (1)
RE: App crashes with enabled WebSockets - Added by Steve Forman over 5 years ago
It's reproduces only on Centos 7, on Centos 6 there is no segfaults