I tried upgrading to Wt 3.1.3 and my (previously working) application crashes
with the following stack trace:
Wt::WWidget::jsRef (this=0x0) at
/chb/users/ginsburg/Downloads/wt-3.1.3/src/Wt/WWidget.C:183
183 return "$('#" + id() + "').get(0)";
(gdb) backtrace
#0 Wt::WWidget::jsRef (this=0x0) at
/chb/users/ginsburg/Downloads/wt-3.1.3/src/Wt/WWidget.C:183
#1 0x00007ffff7a41e6c in Wt::WTreeView::defineJavaScript (this=0x7fc090) at
/chb/users/ginsburg/Downloads/wt-3.1.3/src/Wt/WTreeView.C:1194
#2 0x00007ffff7a4d8e2 in Wt::WTreeView::render (this=0x7fc090, flags=DWARF-2
expression error: DW_OP_reg operations must be used either alone or in
conjuction with DW_OP_piece.
) at /chb/users/ginsburg/Downloads/wt-3.1.3/src/Wt/WTreeView.C:1494
#3 0x00007ffff7a78a9e in Wt::WWidget::createSDomElement (this=0x7fc090,
app=0x7ed720) at /chb/users/ginsburg/Downloads/wt-3.1.3/src/Wt/WWidget.C:265
#4 0x00007ffff78eaa79 in Wt::StdWidgetItemImpl::createDomElement (this=<value
optimized out>, fitWidth=<value optimized out>, fitHeight=<value optimized
out>, app=<value optimized out>) at
/chb/users/ginsburg/Downloads/wt-3.1.3/src/Wt/StdWidgetItemImpl.C:56
#5 0x00007ffff78e7d88 in Wt::StdGridLayoutImpl::createDomElement (this=<value
optimized out>, fitWidth=<value optimized out>, fitHeight=<value optimized
out>, app=<value optimized out>) at
/chb/users/ginsburg/Downloads/wt-3.1.3/src/Wt/StdGridLayoutImpl.C:441
#6 0x00007ffff7957b49 in Wt::WContainerWidget::createDomChildren
(this=0x7f5240, parent=..., app=0x7ed720) at
/chb/users/ginsburg/Downloads/wt-3.1.3/src/Wt/WContainerWidget.C:644
#7 0x00007ffff7958119 in Wt::WContainerWidget::createDomElement
(this=0x7f5240, app=0x7ed720) at
/chb/users/ginsburg/Downloads/wt-3.1.3/src/Wt/WContainerWidget.C:632
#8 0x00007ffff7a78ab5 in Wt::WWidget::createSDomElement (this=0x7f5240,
app=0x7ed720) at /chb/users/ginsburg/Downloads/wt-3.1.3/src/Wt/WWidget.C:266
#9 0x00007ffff78eaa79 in Wt::StdWidgetItemImpl::createDomElement (this=<value
optimized out>, fitWidth=<value optimized out>, fitHeight=<value optimized
out>, app=<value optimized out>) at
/chb/users/ginsburg/Downloads/wt-3.1.3/src/Wt/StdWidgetItemImpl.C:56
#10 0x00007ffff78e7d88 in Wt::StdGridLayoutImpl::createDomElement (this=<value
optimized out>, fitWidth=<value optimized out>, fitHeight=<value optimized
out>, app=<value optimized out>) at
/chb/users/ginsburg/Downloads/wt-3.1.3/src/Wt/StdGridLayoutImpl.C:441
#11 0x00007ffff7957b49 in Wt::WContainerWidget::createDomChildren
(this=0x7f4cc0, parent=..., app=0x7ed720) at
/chb/users/ginsburg/Downloads/wt-3.1.3/src/Wt/WContainerWidget.C:644
#12 0x00007ffff7958119 in Wt::WContainerWidget::createDomElement
(this=0x7f4cc0, app=0x7ed720) at
/chb/users/ginsburg/Downloads/wt-3.1.3/src/Wt/WContainerWidget.C:632
#13 0x00007ffff7a78ab5 in Wt::WWidget::createSDomElement (this=0x7f4cc0,
app=0x7ed720) at /chb/users/ginsburg/Downloads/wt-3.1.3/src/Wt/WWidget.C:266
#14 0x00007ffff7957c68 in Wt::WContainerWidget::createDomChildren
(this=0x7fffe8063370, parent=..., app=0x7ed720) at
/chb/users/ginsburg/Downloads/wt-3.1.3/src/Wt/WContainerWidget.C:691
#15 0x00007ffff7958119 in Wt::WContainerWidget::createDomElement
(this=0x7fffe8063370, app=0x7ed720) at
/chb/users/ginsburg/Downloads/wt-3.1.3/src/Wt/WContainerWidget.C:632
#16 0x00007ffff7a78ab5 in Wt::WWidget::createSDomElement (this=0x7fffe8063370,
app=0x7ed720) at /chb/users/ginsburg/Downloads/wt-3.1.3/src/Wt/WWidget.C:266
#17 0x00007ffff78eaa79 in Wt::StdWidgetItemImpl::createDomElement (this=<value
optimized out>, fitWidth=<value optimized out>, fitHeight=<value optimized
out>, app=<value optimized out>) at
/chb/users/ginsburg/Downloads/wt-3.1.3/src/Wt/StdWidgetItemImpl.C:56
#18 0x00007ffff78e7d88 in Wt::StdGridLayoutImpl::createDomElement (this=<value
optimized out>, fitWidth=<value optimized out>, fitHeight=<value optimized
out>, app=<value optimized out>) at
/chb/users/ginsburg/Downloads/wt-3.1.3/src/Wt/StdGridLayoutImpl.C:441
#19 0x00007ffff7957b49 in Wt::WContainerWidget::createDomChildren
(this=0x7f4a40, parent=..., app=0x7ed720) at
/chb/users/ginsburg/Downloads/wt-3.1.3/src/Wt/WContainerWidget.C:644
#20 0x00007ffff7958119 in Wt::WContainerWidget::createDomElement
(this=0x7f4a40, app=0x7ed720) at
/chb/users/ginsburg/Downloads/wt-3.1.3/src/Wt/WContainerWidget.C:632
#21 0x00007ffff7a78ab5 in Wt::WWidget::createSDomElement (this=0x7f4a40,
app=0x7ed720) at /chb/users/ginsburg/Downloads/wt-3.1.3/src/Wt/WWidget.C:266
#22 0x00007ffff7957c68 in Wt::WContainerWidget::createDomChildren
(this=0x7fffe81d2fc0, parent=..., app=0x7ed720) at
/chb/users/ginsburg/Downloads/wt-3.1.3/src/Wt/WContainerWidget.C:691
#23 0x00007ffff7958119 in Wt::WContainerWidget::createDomElement
(this=0x7fffe81d2fc0, app=0x7ed720) at
/chb/users/ginsburg/Downloads/wt-3.1.3/src/Wt/WContainerWidget.C:632
#24 0x00007ffff7a78ab5 in Wt::WWidget::createSDomElement (this=0x7fffe81d2fc0,
app=0x7ed720) at /chb/users/ginsburg/Downloads/wt-3.1.3/src/Wt/WWidget.C:266
#25 0x00007ffff7957c68 in Wt::WContainerWidget::createDomChildren
(this=0x7f3ff0, parent=..., app=0x7ed720) at
/chb/users/ginsburg/Downloads/wt-3.1.3/src/Wt/WContainerWidget.C:691
#26 0x00007ffff7958119 in Wt::WContainerWidget::createDomElement
(this=0x7f3ff0, app=0x7ed720) at
/chb/users/ginsburg/Downloads/wt-3.1.3/src/Wt/WContainerWidget.C:632
#27 0x00007ffff7a78ab5 in Wt::WWidget::createSDomElement (this=0x7f3ff0,
app=0x7ed720) at /chb/users/ginsburg/Downloads/wt-3.1.3/src/Wt/WWidget.C:266
#28 0x00007ffff7957c68 in Wt::WContainerWidget::createDomChildren
(this=0x7f3ed0, parent=..., app=0x7ed720) at
/chb/users/ginsburg/Downloads/wt-3.1.3/src/Wt/WContainerWidget.C:691
#29 0x00007ffff7958119 in Wt::WContainerWidget::createDomElement
(this=0x7f3ed0, app=0x7ed720) at
/chb/users/ginsburg/Downloads/wt-3.1.3/src/Wt/WContainerWidget.C:632
#30 0x00007ffff7a78ab5 in Wt::WWidget::createSDomElement (this=0x7f3dc0,
app=0x7ed720) at /chb/users/ginsburg/Downloads/wt-3.1.3/src/Wt/WWidget.C:266
#31 0x00007ffff78eaa79 in Wt::StdWidgetItemImpl::createDomElement (this=<value
optimized out>, fitWidth=<value optimized out>, fitHeight=<value optimized
out>, app=<value optimized out>) at
/chb/users/ginsburg/Downloads/wt-3.1.3/src/Wt/StdWidgetItemImpl.C:56
#32 0x00007ffff78e7d88 in Wt::StdGridLayoutImpl::createDomElement (this=<value
optimized out>, fitWidth=<value optimized out>, fitHeight=<value optimized
out>, app=<value optimized out>) at
/chb/users/ginsburg/Downloads/wt-3.1.3/src/Wt/StdGridLayoutImpl.C:441
#33 0x00007ffff7957b49 in Wt::WContainerWidget::createDomChildren
(this=0x7fffe81d7e80, parent=..., app=0x7ed720) at
/chb/users/ginsburg/Downloads/wt-3.1.3/src/Wt/WContainerWidget.C:644
#34 0x00007ffff7958119 in Wt::WContainerWidget::createDomElement
(this=0x7fffe81d7e80, app=0x7ed720) at
/chb/users/ginsburg/Downloads/wt-3.1.3/src/Wt/WContainerWidget.C:632
#35 0x00007ffff7a78ab5 in Wt::WWidget::createSDomElement (this=0x7fffe81d7e80,
app=0x7ed720) at /chb/users/ginsburg/Downloads/wt-3.1.3/src/Wt/WWidget.C:266
#36 0x00007ffff7957200 in Wt::WContainerWidget::updateDom (this=0x7fffe8240f10,
element=..., all=<value optimized out>) at
/chb/users/ginsburg/Downloads/wt-3.1.3/src/Wt/WContainerWidget.C:507
#37 0x00007ffff7955aef in Wt::WContainerWidget::getDomChanges
(this=0x7fffe8240f10, result=..., app=0x7ed720) at
/chb/users/ginsburg/Downloads/wt-3.1.3/src/Wt/WContainerWidget.C:621
#38 0x00007ffff7a6bddc in Wt::WWebWidget::getSDomChanges (this=0x7fffe8240f10,
result=..., app=0x7ed720) at
/chb/users/ginsburg/Downloads/wt-3.1.3/src/Wt/WWebWidget.C:1419
#39 0x00007ffff7ac40bd in Wt::WebRenderer::collectChanges (this=0x7eb6e0,
changes=<value optimized out>) at
/chb/users/ginsburg/Downloads/wt-3.1.3/src/web/WebRenderer.C:1000
#40 0x00007ffff7ac595c in Wt::WebRenderer::collectJS (this=0x7fffe2ff0040,
js=0x7eb768) at
/chb/users/ginsburg/Downloads/wt-3.1.3/src/web/WebRenderer.C:1090
#41 0x00007ffff7ac64df in Wt::WebRenderer::collectJavaScriptUpdate
(this=0x7eb6e0, out=...) at
/chb/users/ginsburg/Downloads/wt-3.1.3/src/web/WebRenderer.C:1013
#42 0x00007ffff7acaca8 in Wt::WebRenderer::collectJavaScript (this=0x7eb6e0) at
/chb/users/ginsburg/Downloads/wt-3.1.3/src/web/WebRenderer.C:371
#43 0x00007ffff7acd68b in Wt::WebRenderer::serveJavaScriptUpdate
(this=0x7eb6e0, response=...) at
/chb/users/ginsburg/Downloads/wt-3.1.3/src/web/WebRenderer.C:316
#44 0x00007ffff7ab80e1 in Wt::WebSession::serveResponse (this=<value optimized
out>, handler=..., responseType=Wt::WebRenderer::Script) at
/chb/users/ginsburg/Downloads/wt-3.1.3/src/web/WebSession.C:1355
#45 0x00007ffff7abb74e in Wt::WebSession::render (this=0x7eb690, handler=...,
responseType=Wt::WebRenderer::Update) at
/chb/users/ginsburg/Downloads/wt-3.1.3/src/web/WebSession.C:1328
#46 0x00007ffff7abc5b0 in Wt::WebSession::notify (this=0x7eb690, event=...) at
/chb/users/ginsburg/Downloads/wt-3.1.3/src/web/WebSession.C:1297
#47 0x00000000004f92da in Wt::DispatchThread::doEvent (this=0x7fffe8242e30) at
/chb/users/ginsburg/workspace2/trunk/www/wt/src/pl_gui/lib/DispatchThread.C:150
#48 0x00000000004fa011 in Wt::DispatchObject::qt_metacall (this=0x7f6410,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value
optimized out>) at
/chb/users/ginsburg/workspace2/trunk/www/wt/build/src/pl_gui/lib/moccedDispatchThread.C:70
---Type <return> to continue, or q <return> to quit---
#49 0x00007ffff60db0f9 in QObject::event(QEvent*) () from
/usr/lib/libQtCore.so.4
#50 0x00007ffff60cbc2c in QCoreApplication::notifyInternal(QObject*, QEvent*)
() from /usr/lib/libQtCore.so.4
#51 0x00007ffff60cc80a in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () from /usr/lib/libQtCore.so.4
#52 0x00007ffff60f4533 in ?? () from /usr/lib/libQtCore.so.4
#53 0x00007ffff2726bce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#54 0x00007ffff272a598 in ?? () from /lib/libglib-2.0.so.0
#55 0x00007ffff272a6c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#56 0x00007ffff60f41a6 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQtCore.so.4
#57 0x00007ffff60ca532 in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQtCore.so.4
#58 0x00007ffff60ca904 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQtCore.so.4
#59 0x00007ffff5fe26cb in QThread::exec() () from /usr/lib/libQtCore.so.4
#60 0x00000000004f9457 in Wt::DispatchThread::run (this=0x7fffe8242e30) at
/chb/users/ginsburg/workspace2/trunk/www/wt/src/pl_gui/lib/DispatchThread.C:69
#61 0x00007ffff5fe5445 in ?? () from /usr/lib/libQtCore.so.4
#62 0x00007ffff5d71a04 in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#63 0x00007ffff3bdf80d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#64 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
------------------------------------------------------------------------------
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest