Project

General

Profile

Wt::WValidate

Added by Roman Meshkevich over 13 years ago

Good day.

layout~~addWidget(this>line_edit, 1);

this->int_valid = new Wt::WIntValidator(1, 10000);

this
int_valid>setMandatory(true);

this
line_edit>setValidator(this->int_valid);

this
line_edit~~>setText(Wt::WString(boost::lexical_caststd::string(this->ban_info.ban_days),Wt::UTF8));

I draw this form widget in Wt::WDialog::container. When i run this code in release mode,i've got a boost assertion fail (in boost library) -

vap_server: /usr/include/boost/range/iterator_range.hpp:281: IteratorT boost::iterator_range::end() const [with IteratorT = _gnu_cxx::_normal_iterator<const char*, std::basic_string<char, std::char_traits, std::allocator > >]: Assertion `!is_singular()' failed.

But when i run it in debug mode - i've ok)

Can you help me?

(I have boost version 1.4.0 wt 3.1.4)


Replies (9)

RE: Wt::WValidate - Added by Koen Deforche over 13 years ago

Hey Roman,

Can you also get a strack trace for this error from gdb ?

That should give some meaningful results if you build with RelWithDebInfo (which hopefully still reproduces the problem).

Regards,

koen

RE: Wt::WValidate - Added by Roman Meshkevich over 13 years ago

Hm ... this is full log (version = RelWithDebInfo).

log.txt (3.27 KB) log.txt

RE: Wt::WValidate - Added by Koen Deforche over 13 years ago

Hey Roman,

Can you run from within gdb and produce a stracktrace ?

$ gdb ./myapp.wt

(gdb) catch throw
(gdb) run

 ... reproduce problem, this will break the debugger

(gdb) bt

Regards,

koen

RE: Wt::WValidate - Added by Roman Meshkevich over 13 years ago

Hey Koen,

I compiled library in release mode. And this problem disappeared.

At the evening will reproduce the problem and make a stack trace as much as possible.

Thank you for help.

Regards,

Roman

RE: Wt::WValidate - Added by Víctor López almost 13 years ago

I'm having the same assertion problem.

Here's the valgrind output:

192.168.1.199 - - [2011-Jun-06 22:47:14.608328] "GET / HTTP/1.1" 200 1672

[2011-Jun-06 22:47:17.510488] 12851 [/ hdumiHnT2VD7FA9a] [warn] "WContainerWidget::addWidget(): reparenting widget"

[2011-Jun-06 22:47:17.707476] 12851 [/ hdumiHnT2VD7FA9a] [warn] "WContainerWidget::addWidget(): reparenting widget"

12851 Thread 8:

12851 Conditional jump or move depends on uninitialised value(s)

12851 at 0x817548B: _gnu_cxx::_normal_iterator<char const*, std::string> std::_*find_if<gnu_cxx::normal_iterator<char const, std::string>, boost::algorithm::detail::is_any_ofF >(_*gnu_cxx::_normal_iterator<char const*, std::string>,gnu_cxx::_normal_iterator<char const*, std::string>, boost::algorithm::detail::is_any_ofF, std::random_access_iterator_tag) (in /mnt_flash/bin/WReemCommander)

12851 by 0x817679C: boost::detail::function::function_obj_invoker2<boost::algorithm::detail::token_finderF<boost::algorithm::detail::is_any_ofF >, boost::iterator_range<_*gnu_cxx::normal_iterator<char const
, std::string> >, _*gnu_cxx::_normal_iterator<char const*, std::string>,gnu_cxx::normal_iterator<char const, std::string> >::invoke(boost::detail::function::function_buffer&, _*gnu_cxx::_normal_iterator<char const*, std::string>,gnu_cxx::_normal_iterator<char const*, std::string>) (in /mnt_flash/bin/WReemCommander)

12851 by 0x817815E: boost::algorithm::split_iterator<_gnu_cxx::_normal_iterator<char const*, std::string> >::increment() (in /mnt_flash/bin/WReemCommander)

12851 by 0x43877A6: std::set<std::string, std::lessstd::string, std::allocatorstd::string >& boost::algorithm::iter_split<std::set<std::string, std::lessstd::string, std::allocatorstd::string >, std::string const, boost::algorithm::detail::token_finderF<boost::algorithm::detail::is_any_ofF > >(std::set<std::string, std::lessstd::string, std::allocatorstd::string >&, std::string const&, boost::algorithm::detail::token_finderF<boost::algorithm::detail::is_any_ofF >) (find_iterator.hpp:262)

12851 by 0x4387121: Wt::Utils::split(std::set<std::string, std::lessstd::string, std::allocatorstd::string >&, std::string const&, char const*, bool) (split.hpp:149)

12851 by 0x4330F7B: Wt::WWebWidget::addStyleClass(Wt::WString const&, bool) (WWebWidget.C:696)

12851 by 0x433CE0D: Wt::WWidget::addStyleClass(char const*, bool) (WWidget.C:147)

12851 by 0x4163F4D: Wt::WAbstractItemView::createHeaderWidget(Wt::WApplication*, int) (WAbstractItemView.C:962)

12851 by 0x4306E79: Wt::WTreeView::rerenderHeader() (WTreeView.C:1442)

12851 by 0x430DFE4: Wt::WTreeView::render(Wt::WFlagsWt::RenderFlag) (WTreeView.C:1388)

12851 by 0x433D0F4: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:305)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x42ADFEA: Wt::WStackedWidget::createDomElement(Wt::WApplication*) (WStackedWidget.C:76)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x42ADFEA: Wt::WStackedWidget::createDomElement(Wt::WApplication*) (WStackedWidget.C:76)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x43B5F9A: Wt::WebRenderer::serveMainAjax(Wt::WebResponse&) (WebRenderer.C:712)

12851 by 0x43B8619: Wt::WebRenderer::serveMainscript(Wt::WebResponse&) (WebRenderer.C:639)

12851 by 0x43BA88B: Wt::WebRenderer::serveResponse(Wt::WebResponse&) (WebRenderer.C:192)

12851 by 0x439B256: Wt::WebSession::serveResponse(Wt::WebSession::Handler&) (WebSession.C:1823)

12851 by 0x439E0F1: Wt::WebSession::render(Wt::WebSession::Handler&) (WebSession.C:1781)

12851 by 0x43A63DF: Wt::WebSession::notify(Wt::WEvent const&) (WebSession.C:1498)

12851 by 0x4182536: Wt::WApplication::notify(Wt::WEvent const&) (WApplication.C:1365)

12851 by 0x43A2CF4: Wt::WebSession::handleRequest(Wt::WebSession::Handler&) (WebSession.C:1163)

12851 by 0x43C073B: Wt::WebController::handleAsyncRequest(Wt::WebRequest*) (WebController.C:620)

12851

12851 Conditional jump or move depends on uninitialised value(s)

12851 at 0x817568E: _gnu_cxx::_normal_iterator<char const*, std::string> std::_*find_if<gnu_cxx::normal_iterator<char const, std::string>, boost::algorithm::detail::is_any_ofF >(_*gnu_cxx::_normal_iterator<char const*, std::string>,gnu_cxx::_normal_iterator<char const*, std::string>, boost::algorithm::detail::is_any_ofF, std::random_access_iterator_tag) (in /mnt_flash/bin/WReemCommander)

12851 by 0x817679C: boost::detail::function::function_obj_invoker2<boost::algorithm::detail::token_finderF<boost::algorithm::detail::is_any_ofF >, boost::iterator_range<_*gnu_cxx::normal_iterator<char const
, std::string> >, _*gnu_cxx::_normal_iterator<char const*, std::string>,gnu_cxx::normal_iterator<char const, std::string> >::invoke(boost::detail::function::function_buffer&, _*gnu_cxx::_normal_iterator<char const*, std::string>,gnu_cxx::_normal_iterator<char const*, std::string>) (in /mnt_flash/bin/WReemCommander)

12851 by 0x817815E: boost::algorithm::split_iterator<_gnu_cxx::_normal_iterator<char const*, std::string> >::increment() (in /mnt_flash/bin/WReemCommander)

12851 by 0x43877A6: std::set<std::string, std::lessstd::string, std::allocatorstd::string >& boost::algorithm::iter_split<std::set<std::string, std::lessstd::string, std::allocatorstd::string >, std::string const, boost::algorithm::detail::token_finderF<boost::algorithm::detail::is_any_ofF > >(std::set<std::string, std::lessstd::string, std::allocatorstd::string >&, std::string const&, boost::algorithm::detail::token_finderF<boost::algorithm::detail::is_any_ofF >) (find_iterator.hpp:262)

12851 by 0x4387121: Wt::Utils::split(std::set<std::string, std::lessstd::string, std::allocatorstd::string >&, std::string const&, char const*, bool) (split.hpp:149)

12851 by 0x4330F7B: Wt::WWebWidget::addStyleClass(Wt::WString const&, bool) (WWebWidget.C:696)

12851 by 0x433CE0D: Wt::WWidget::addStyleClass(char const*, bool) (WWidget.C:147)

12851 by 0x4163F4D: Wt::WAbstractItemView::createHeaderWidget(Wt::WApplication*, int) (WAbstractItemView.C:962)

12851 by 0x4306E79: Wt::WTreeView::rerenderHeader() (WTreeView.C:1442)

12851 by 0x430DFE4: Wt::WTreeView::render(Wt::WFlagsWt::RenderFlag) (WTreeView.C:1388)

12851 by 0x433D0F4: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:305)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x42ADFEA: Wt::WStackedWidget::createDomElement(Wt::WApplication*) (WStackedWidget.C:76)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x42ADFEA: Wt::WStackedWidget::createDomElement(Wt::WApplication*) (WStackedWidget.C:76)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x43B5F9A: Wt::WebRenderer::serveMainAjax(Wt::WebResponse&) (WebRenderer.C:712)

12851 by 0x43B8619: Wt::WebRenderer::serveMainscript(Wt::WebResponse&) (WebRenderer.C:639)

12851 by 0x43BA88B: Wt::WebRenderer::serveResponse(Wt::WebResponse&) (WebRenderer.C:192)

12851 by 0x439B256: Wt::WebSession::serveResponse(Wt::WebSession::Handler&) (WebSession.C:1823)

12851 by 0x439E0F1: Wt::WebSession::render(Wt::WebSession::Handler&) (WebSession.C:1781)

12851 by 0x43A63DF: Wt::WebSession::notify(Wt::WEvent const&) (WebSession.C:1498)

12851 by 0x4182536: Wt::WApplication::notify(Wt::WEvent const&) (WApplication.C:1365)

12851 by 0x43A2CF4: Wt::WebSession::handleRequest(Wt::WebSession::Handler&) (WebSession.C:1163)

12851 by 0x43C073B: Wt::WebController::handleAsyncRequest(Wt::WebRequest*) (WebController.C:620)

12851

12851 Conditional jump or move depends on uninitialised value(s)

12851 at 0x8175693: _gnu_cxx::_normal_iterator<char const*, std::string> std::_*find_if<gnu_cxx::normal_iterator<char const, std::string>, boost::algorithm::detail::is_any_ofF >(_*gnu_cxx::_normal_iterator<char const*, std::string>,gnu_cxx::_normal_iterator<char const*, std::string>, boost::algorithm::detail::is_any_ofF, std::random_access_iterator_tag) (in /mnt_flash/bin/WReemCommander)

12851 by 0x817679C: boost::detail::function::function_obj_invoker2<boost::algorithm::detail::token_finderF<boost::algorithm::detail::is_any_ofF >, boost::iterator_range<_*gnu_cxx::normal_iterator<char const
, std::string> >, _*gnu_cxx::_normal_iterator<char const*, std::string>,gnu_cxx::normal_iterator<char const, std::string> >::invoke(boost::detail::function::function_buffer&, _*gnu_cxx::_normal_iterator<char const*, std::string>,gnu_cxx::_normal_iterator<char const*, std::string>) (in /mnt_flash/bin/WReemCommander)

12851 by 0x817815E: boost::algorithm::split_iterator<_gnu_cxx::_normal_iterator<char const*, std::string> >::increment() (in /mnt_flash/bin/WReemCommander)

12851 by 0x43877A6: std::set<std::string, std::lessstd::string, std::allocatorstd::string >& boost::algorithm::iter_split<std::set<std::string, std::lessstd::string, std::allocatorstd::string >, std::string const, boost::algorithm::detail::token_finderF<boost::algorithm::detail::is_any_ofF > >(std::set<std::string, std::lessstd::string, std::allocatorstd::string >&, std::string const&, boost::algorithm::detail::token_finderF<boost::algorithm::detail::is_any_ofF >) (find_iterator.hpp:262)

12851 by 0x4387121: Wt::Utils::split(std::set<std::string, std::lessstd::string, std::allocatorstd::string >&, std::string const&, char const*, bool) (split.hpp:149)

12851 by 0x4330F7B: Wt::WWebWidget::addStyleClass(Wt::WString const&, bool) (WWebWidget.C:696)

12851 by 0x433CE0D: Wt::WWidget::addStyleClass(char const*, bool) (WWidget.C:147)

12851 by 0x4163F4D: Wt::WAbstractItemView::createHeaderWidget(Wt::WApplication*, int) (WAbstractItemView.C:962)

12851 by 0x4306E79: Wt::WTreeView::rerenderHeader() (WTreeView.C:1442)

12851 by 0x430DFE4: Wt::WTreeView::render(Wt::WFlagsWt::RenderFlag) (WTreeView.C:1388)

12851 by 0x433D0F4: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:305)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x42ADFEA: Wt::WStackedWidget::createDomElement(Wt::WApplication*) (WStackedWidget.C:76)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x42ADFEA: Wt::WStackedWidget::createDomElement(Wt::WApplication*) (WStackedWidget.C:76)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x43B5F9A: Wt::WebRenderer::serveMainAjax(Wt::WebResponse&) (WebRenderer.C:712)

12851 by 0x43B8619: Wt::WebRenderer::serveMainscript(Wt::WebResponse&) (WebRenderer.C:639)

12851 by 0x43BA88B: Wt::WebRenderer::serveResponse(Wt::WebResponse&) (WebRenderer.C:192)

12851 by 0x439B256: Wt::WebSession::serveResponse(Wt::WebSession::Handler&) (WebSession.C:1823)

12851 by 0x439E0F1: Wt::WebSession::render(Wt::WebSession::Handler&) (WebSession.C:1781)

12851 by 0x43A63DF: Wt::WebSession::notify(Wt::WEvent const&) (WebSession.C:1498)

12851 by 0x4182536: Wt::WApplication::notify(Wt::WEvent const&) (WApplication.C:1365)

12851 by 0x43A2CF4: Wt::WebSession::handleRequest(Wt::WebSession::Handler&) (WebSession.C:1163)

12851 by 0x43C073B: Wt::WebController::handleAsyncRequest(Wt::WebRequest*) (WebController.C:620)

12851

12851 Conditional jump or move depends on uninitialised value(s)

12851 at 0x817569C: _gnu_cxx::_normal_iterator<char const*, std::string> std::_*find_if<gnu_cxx::normal_iterator<char const, std::string>, boost::algorithm::detail::is_any_ofF >(_*gnu_cxx::_normal_iterator<char const*, std::string>,gnu_cxx::_normal_iterator<char const*, std::string>, boost::algorithm::detail::is_any_ofF, std::random_access_iterator_tag) (in /mnt_flash/bin/WReemCommander)

12851 by 0x817679C: boost::detail::function::function_obj_invoker2<boost::algorithm::detail::token_finderF<boost::algorithm::detail::is_any_ofF >, boost::iterator_range<_*gnu_cxx::normal_iterator<char const
, std::string> >, _*gnu_cxx::_normal_iterator<char const*, std::string>,gnu_cxx::normal_iterator<char const, std::string> >::invoke(boost::detail::function::function_buffer&, _*gnu_cxx::_normal_iterator<char const*, std::string>,gnu_cxx::_normal_iterator<char const*, std::string>) (in /mnt_flash/bin/WReemCommander)

12851 by 0x817815E: boost::algorithm::split_iterator<_gnu_cxx::_normal_iterator<char const*, std::string> >::increment() (in /mnt_flash/bin/WReemCommander)

12851 by 0x43877A6: std::set<std::string, std::lessstd::string, std::allocatorstd::string >& boost::algorithm::iter_split<std::set<std::string, std::lessstd::string, std::allocatorstd::string >, std::string const, boost::algorithm::detail::token_finderF<boost::algorithm::detail::is_any_ofF > >(std::set<std::string, std::lessstd::string, std::allocatorstd::string >&, std::string const&, boost::algorithm::detail::token_finderF<boost::algorithm::detail::is_any_ofF >) (find_iterator.hpp:262)

12851 by 0x4387121: Wt::Utils::split(std::set<std::string, std::lessstd::string, std::allocatorstd::string >&, std::string const&, char const*, bool) (split.hpp:149)

12851 by 0x4330F7B: Wt::WWebWidget::addStyleClass(Wt::WString const&, bool) (WWebWidget.C:696)

12851 by 0x433CE0D: Wt::WWidget::addStyleClass(char const*, bool) (WWidget.C:147)

12851 by 0x4163F4D: Wt::WAbstractItemView::createHeaderWidget(Wt::WApplication*, int) (WAbstractItemView.C:962)

12851 by 0x4306E79: Wt::WTreeView::rerenderHeader() (WTreeView.C:1442)

12851 by 0x430DFE4: Wt::WTreeView::render(Wt::WFlagsWt::RenderFlag) (WTreeView.C:1388)

12851 by 0x433D0F4: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:305)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x42ADFEA: Wt::WStackedWidget::createDomElement(Wt::WApplication*) (WStackedWidget.C:76)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x42ADFEA: Wt::WStackedWidget::createDomElement(Wt::WApplication*) (WStackedWidget.C:76)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x43B5F9A: Wt::WebRenderer::serveMainAjax(Wt::WebResponse&) (WebRenderer.C:712)

12851 by 0x43B8619: Wt::WebRenderer::serveMainscript(Wt::WebResponse&) (WebRenderer.C:639)

12851 by 0x43BA88B: Wt::WebRenderer::serveResponse(Wt::WebResponse&) (WebRenderer.C:192)

12851 by 0x439B256: Wt::WebSession::serveResponse(Wt::WebSession::Handler&) (WebSession.C:1823)

12851 by 0x439E0F1: Wt::WebSession::render(Wt::WebSession::Handler&) (WebSession.C:1781)

12851 by 0x43A63DF: Wt::WebSession::notify(Wt::WEvent const&) (WebSession.C:1498)

12851 by 0x4182536: Wt::WApplication::notify(Wt::WEvent const&) (WApplication.C:1365)

12851 by 0x43A2CF4: Wt::WebSession::handleRequest(Wt::WebSession::Handler&) (WebSession.C:1163)

12851 by 0x43C073B: Wt::WebController::handleAsyncRequest(Wt::WebRequest*) (WebController.C:620)

12851

WReemCommander: /usr/include/boost/range/iterator_range.hpp:281: IteratorT boost::iterator_range::end() const [with IteratorT = _gnu_cxx::_normal_iterator<const char*, std::basic_string<char, std::char_traits, std::allocator > >]: Assertion `!is_singular()' failed.

>

I tried to run it from gdb but this only happens when compiled in release mode.

If I can provide any more information just tell me.

RE: Wt::WValidate - Added by Víctor López almost 13 years ago

Damn, quote didn't like valgrind output.

Here it is again, I can't edit the other post.

192.168.1.199 - - [2011-Jun-06 22:47:14.608328] "GET / HTTP/1.1" 200 1672

[2011-Jun-06 22:47:17.510488] 12851 [/ hdumiHnT2VD7FA9a] [warn] "WContainerWidget::addWidget(): reparenting widget"

[2011-Jun-06 22:47:17.707476] 12851 [/ hdumiHnT2VD7FA9a] [warn] "WContainerWidget::addWidget(): reparenting widget"

12851 Thread 8:

12851 Conditional jump or move depends on uninitialised value(s)

12851 at 0x817548B: _gnu_cxx::_normal_iterator<char const*, std::string> std::_*find_if<gnu_cxx::normal_iterator<char const, std::string>, boost::algorithm::detail::is_any_ofF >(_*gnu_cxx::_normal_iterator<char const*, std::string>,gnu_cxx::_normal_iterator<char const*, std::string>, boost::algorithm::detail::is_any_ofF, std::random_access_iterator_tag) (in /mnt_flash/bin/WReemCommander)

12851 by 0x817679C: boost::detail::function::function_obj_invoker2<boost::algorithm::detail::token_finderF<boost::algorithm::detail::is_any_ofF >, boost::iterator_range<_*gnu_cxx::normal_iterator<char const
, std::string> >, _*gnu_cxx::_normal_iterator<char const*, std::string>,gnu_cxx::normal_iterator<char const, std::string> >::invoke(boost::detail::function::function_buffer&, _*gnu_cxx::_normal_iterator<char const*, std::string>,gnu_cxx::_normal_iterator<char const*, std::string>) (in /mnt_flash/bin/WReemCommander)

12851 by 0x817815E: boost::algorithm::split_iterator<_gnu_cxx::_normal_iterator<char const*, std::string> >::increment() (in /mnt_flash/bin/WReemCommander)

12851 by 0x43877A6: std::set<std::string, std::lessstd::string, std::allocatorstd::string >& boost::algorithm::iter_split<std::set<std::string, std::lessstd::string, std::allocatorstd::string >, std::string const, boost::algorithm::detail::token_finderF<boost::algorithm::detail::is_any_ofF > >(std::set<std::string, std::lessstd::string, std::allocatorstd::string >&, std::string const&, boost::algorithm::detail::token_finderF<boost::algorithm::detail::is_any_ofF >) (find_iterator.hpp:262)

12851 by 0x4387121: Wt::Utils::split(std::set<std::string, std::lessstd::string, std::allocatorstd::string >&, std::string const&, char const*, bool) (split.hpp:149)

12851 by 0x4330F7B: Wt::WWebWidget::addStyleClass(Wt::WString const&, bool) (WWebWidget.C:696)

12851 by 0x433CE0D: Wt::WWidget::addStyleClass(char const*, bool) (WWidget.C:147)

12851 by 0x4163F4D: Wt::WAbstractItemView::createHeaderWidget(Wt::WApplication*, int) (WAbstractItemView.C:962)

12851 by 0x4306E79: Wt::WTreeView::rerenderHeader() (WTreeView.C:1442)

12851 by 0x430DFE4: Wt::WTreeView::render(Wt::WFlagsWt::RenderFlag) (WTreeView.C:1388)

12851 by 0x433D0F4: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:305)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x42ADFEA: Wt::WStackedWidget::createDomElement(Wt::WApplication*) (WStackedWidget.C:76)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x42ADFEA: Wt::WStackedWidget::createDomElement(Wt::WApplication*) (WStackedWidget.C:76)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x43B5F9A: Wt::WebRenderer::serveMainAjax(Wt::WebResponse&) (WebRenderer.C:712)

12851 by 0x43B8619: Wt::WebRenderer::serveMainscript(Wt::WebResponse&) (WebRenderer.C:639)

12851 by 0x43BA88B: Wt::WebRenderer::serveResponse(Wt::WebResponse&) (WebRenderer.C:192)

12851 by 0x439B256: Wt::WebSession::serveResponse(Wt::WebSession::Handler&) (WebSession.C:1823)

12851 by 0x439E0F1: Wt::WebSession::render(Wt::WebSession::Handler&) (WebSession.C:1781)

12851 by 0x43A63DF: Wt::WebSession::notify(Wt::WEvent const&) (WebSession.C:1498)

12851 by 0x4182536: Wt::WApplication::notify(Wt::WEvent const&) (WApplication.C:1365)

12851 by 0x43A2CF4: Wt::WebSession::handleRequest(Wt::WebSession::Handler&) (WebSession.C:1163)

12851 by 0x43C073B: Wt::WebController::handleAsyncRequest(Wt::WebRequest*) (WebController.C:620)

12851

12851 Conditional jump or move depends on uninitialised value(s)

12851 at 0x817568E: _gnu_cxx::_normal_iterator<char const*, std::string> std::_*find_if<gnu_cxx::normal_iterator<char const, std::string>, boost::algorithm::detail::is_any_ofF >(_*gnu_cxx::_normal_iterator<char const*, std::string>,gnu_cxx::_normal_iterator<char const*, std::string>, boost::algorithm::detail::is_any_ofF, std::random_access_iterator_tag) (in /mnt_flash/bin/WReemCommander)

12851 by 0x817679C: boost::detail::function::function_obj_invoker2<boost::algorithm::detail::token_finderF<boost::algorithm::detail::is_any_ofF >, boost::iterator_range<_*gnu_cxx::normal_iterator<char const
, std::string> >, _*gnu_cxx::_normal_iterator<char const*, std::string>,gnu_cxx::normal_iterator<char const, std::string> >::invoke(boost::detail::function::function_buffer&, _*gnu_cxx::_normal_iterator<char const*, std::string>,gnu_cxx::_normal_iterator<char const*, std::string>) (in /mnt_flash/bin/WReemCommander)

12851 by 0x817815E: boost::algorithm::split_iterator<_gnu_cxx::_normal_iterator<char const*, std::string> >::increment() (in /mnt_flash/bin/WReemCommander)

12851 by 0x43877A6: std::set<std::string, std::lessstd::string, std::allocatorstd::string >& boost::algorithm::iter_split<std::set<std::string, std::lessstd::string, std::allocatorstd::string >, std::string const, boost::algorithm::detail::token_finderF<boost::algorithm::detail::is_any_ofF > >(std::set<std::string, std::lessstd::string, std::allocatorstd::string >&, std::string const&, boost::algorithm::detail::token_finderF<boost::algorithm::detail::is_any_ofF >) (find_iterator.hpp:262)

12851 by 0x4387121: Wt::Utils::split(std::set<std::string, std::lessstd::string, std::allocatorstd::string >&, std::string const&, char const*, bool) (split.hpp:149)

12851 by 0x4330F7B: Wt::WWebWidget::addStyleClass(Wt::WString const&, bool) (WWebWidget.C:696)

12851 by 0x433CE0D: Wt::WWidget::addStyleClass(char const*, bool) (WWidget.C:147)

12851 by 0x4163F4D: Wt::WAbstractItemView::createHeaderWidget(Wt::WApplication*, int) (WAbstractItemView.C:962)

12851 by 0x4306E79: Wt::WTreeView::rerenderHeader() (WTreeView.C:1442)

12851 by 0x430DFE4: Wt::WTreeView::render(Wt::WFlagsWt::RenderFlag) (WTreeView.C:1388)

12851 by 0x433D0F4: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:305)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x42ADFEA: Wt::WStackedWidget::createDomElement(Wt::WApplication*) (WStackedWidget.C:76)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x42ADFEA: Wt::WStackedWidget::createDomElement(Wt::WApplication*) (WStackedWidget.C:76)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x43B5F9A: Wt::WebRenderer::serveMainAjax(Wt::WebResponse&) (WebRenderer.C:712)

12851 by 0x43B8619: Wt::WebRenderer::serveMainscript(Wt::WebResponse&) (WebRenderer.C:639)

12851 by 0x43BA88B: Wt::WebRenderer::serveResponse(Wt::WebResponse&) (WebRenderer.C:192)

12851 by 0x439B256: Wt::WebSession::serveResponse(Wt::WebSession::Handler&) (WebSession.C:1823)

12851 by 0x439E0F1: Wt::WebSession::render(Wt::WebSession::Handler&) (WebSession.C:1781)

12851 by 0x43A63DF: Wt::WebSession::notify(Wt::WEvent const&) (WebSession.C:1498)

12851 by 0x4182536: Wt::WApplication::notify(Wt::WEvent const&) (WApplication.C:1365)

12851 by 0x43A2CF4: Wt::WebSession::handleRequest(Wt::WebSession::Handler&) (WebSession.C:1163)

12851 by 0x43C073B: Wt::WebController::handleAsyncRequest(Wt::WebRequest*) (WebController.C:620)

12851

12851 Conditional jump or move depends on uninitialised value(s)

12851 at 0x8175693: _gnu_cxx::_normal_iterator<char const*, std::string> std::_*find_if<gnu_cxx::normal_iterator<char const, std::string>, boost::algorithm::detail::is_any_ofF >(_*gnu_cxx::_normal_iterator<char const*, std::string>,gnu_cxx::_normal_iterator<char const*, std::string>, boost::algorithm::detail::is_any_ofF, std::random_access_iterator_tag) (in /mnt_flash/bin/WReemCommander)

12851 by 0x817679C: boost::detail::function::function_obj_invoker2<boost::algorithm::detail::token_finderF<boost::algorithm::detail::is_any_ofF >, boost::iterator_range<_*gnu_cxx::normal_iterator<char const
, std::string> >, _*gnu_cxx::_normal_iterator<char const*, std::string>,gnu_cxx::normal_iterator<char const, std::string> >::invoke(boost::detail::function::function_buffer&, _*gnu_cxx::_normal_iterator<char const*, std::string>,gnu_cxx::_normal_iterator<char const*, std::string>) (in /mnt_flash/bin/WReemCommander)

12851 by 0x817815E: boost::algorithm::split_iterator<_gnu_cxx::_normal_iterator<char const*, std::string> >::increment() (in /mnt_flash/bin/WReemCommander)

12851 by 0x43877A6: std::set<std::string, std::lessstd::string, std::allocatorstd::string >& boost::algorithm::iter_split<std::set<std::string, std::lessstd::string, std::allocatorstd::string >, std::string const, boost::algorithm::detail::token_finderF<boost::algorithm::detail::is_any_ofF > >(std::set<std::string, std::lessstd::string, std::allocatorstd::string >&, std::string const&, boost::algorithm::detail::token_finderF<boost::algorithm::detail::is_any_ofF >) (find_iterator.hpp:262)

12851 by 0x4387121: Wt::Utils::split(std::set<std::string, std::lessstd::string, std::allocatorstd::string >&, std::string const&, char const*, bool) (split.hpp:149)

12851 by 0x4330F7B: Wt::WWebWidget::addStyleClass(Wt::WString const&, bool) (WWebWidget.C:696)

12851 by 0x433CE0D: Wt::WWidget::addStyleClass(char const*, bool) (WWidget.C:147)

12851 by 0x4163F4D: Wt::WAbstractItemView::createHeaderWidget(Wt::WApplication*, int) (WAbstractItemView.C:962)

12851 by 0x4306E79: Wt::WTreeView::rerenderHeader() (WTreeView.C:1442)

12851 by 0x430DFE4: Wt::WTreeView::render(Wt::WFlagsWt::RenderFlag) (WTreeView.C:1388)

12851 by 0x433D0F4: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:305)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x42ADFEA: Wt::WStackedWidget::createDomElement(Wt::WApplication*) (WStackedWidget.C:76)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x42ADFEA: Wt::WStackedWidget::createDomElement(Wt::WApplication*) (WStackedWidget.C:76)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x43B5F9A: Wt::WebRenderer::serveMainAjax(Wt::WebResponse&) (WebRenderer.C:712)

12851 by 0x43B8619: Wt::WebRenderer::serveMainscript(Wt::WebResponse&) (WebRenderer.C:639)

12851 by 0x43BA88B: Wt::WebRenderer::serveResponse(Wt::WebResponse&) (WebRenderer.C:192)

12851 by 0x439B256: Wt::WebSession::serveResponse(Wt::WebSession::Handler&) (WebSession.C:1823)

12851 by 0x439E0F1: Wt::WebSession::render(Wt::WebSession::Handler&) (WebSession.C:1781)

12851 by 0x43A63DF: Wt::WebSession::notify(Wt::WEvent const&) (WebSession.C:1498)

12851 by 0x4182536: Wt::WApplication::notify(Wt::WEvent const&) (WApplication.C:1365)

12851 by 0x43A2CF4: Wt::WebSession::handleRequest(Wt::WebSession::Handler&) (WebSession.C:1163)

12851 by 0x43C073B: Wt::WebController::handleAsyncRequest(Wt::WebRequest*) (WebController.C:620)

12851

12851 Conditional jump or move depends on uninitialised value(s)

12851 at 0x817569C: _gnu_cxx::_normal_iterator<char const*, std::string> std::_*find_if<gnu_cxx::normal_iterator<char const, std::string>, boost::algorithm::detail::is_any_ofF >(_*gnu_cxx::_normal_iterator<char const*, std::string>,gnu_cxx::_normal_iterator<char const*, std::string>, boost::algorithm::detail::is_any_ofF, std::random_access_iterator_tag) (in /mnt_flash/bin/WReemCommander)

12851 by 0x817679C: boost::detail::function::function_obj_invoker2<boost::algorithm::detail::token_finderF<boost::algorithm::detail::is_any_ofF >, boost::iterator_range<_*gnu_cxx::normal_iterator<char const
, std::string> >, _*gnu_cxx::_normal_iterator<char const*, std::string>,gnu_cxx::normal_iterator<char const, std::string> >::invoke(boost::detail::function::function_buffer&, _*gnu_cxx::_normal_iterator<char const*, std::string>,gnu_cxx::_normal_iterator<char const*, std::string>) (in /mnt_flash/bin/WReemCommander)

12851 by 0x817815E: boost::algorithm::split_iterator<_gnu_cxx::_normal_iterator<char const*, std::string> >::increment() (in /mnt_flash/bin/WReemCommander)

12851 by 0x43877A6: std::set<std::string, std::lessstd::string, std::allocatorstd::string >& boost::algorithm::iter_split<std::set<std::string, std::lessstd::string, std::allocatorstd::string >, std::string const, boost::algorithm::detail::token_finderF<boost::algorithm::detail::is_any_ofF > >(std::set<std::string, std::lessstd::string, std::allocatorstd::string >&, std::string const&, boost::algorithm::detail::token_finderF<boost::algorithm::detail::is_any_ofF >) (find_iterator.hpp:262)

12851 by 0x4387121: Wt::Utils::split(std::set<std::string, std::lessstd::string, std::allocatorstd::string >&, std::string const&, char const*, bool) (split.hpp:149)

12851 by 0x4330F7B: Wt::WWebWidget::addStyleClass(Wt::WString const&, bool) (WWebWidget.C:696)

12851 by 0x433CE0D: Wt::WWidget::addStyleClass(char const*, bool) (WWidget.C:147)

12851 by 0x4163F4D: Wt::WAbstractItemView::createHeaderWidget(Wt::WApplication*, int) (WAbstractItemView.C:962)

12851 by 0x4306E79: Wt::WTreeView::rerenderHeader() (WTreeView.C:1442)

12851 by 0x430DFE4: Wt::WTreeView::render(Wt::WFlagsWt::RenderFlag) (WTreeView.C:1388)

12851 by 0x433D0F4: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:305)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x42ADFEA: Wt::WStackedWidget::createDomElement(Wt::WApplication*) (WStackedWidget.C:76)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x42ADFEA: Wt::WStackedWidget::createDomElement(Wt::WApplication*) (WStackedWidget.C:76)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x41D72AC: Wt::WContainerWidget::createDomChildren(Wt::DomElement&, Wt::WApplication*) (WContainerWidget.C:759)

12851 by 0x41D79BB: Wt::WContainerWidget::createDomElement(Wt::WApplication*) (WContainerWidget.C:692)

12851 by 0x432868E: Wt::WWebWidget::createActualElement(Wt::WApplication*) (WWebWidget.C:1717)

12851 by 0x433D10B: Wt::WWidget::createSDomElement(Wt::WApplication*) (WWidget.C:306)

12851 by 0x43B5F9A: Wt::WebRenderer::serveMainAjax(Wt::WebResponse&) (WebRenderer.C:712)

12851 by 0x43B8619: Wt::WebRenderer::serveMainscript(Wt::WebResponse&) (WebRenderer.C:639)

12851 by 0x43BA88B: Wt::WebRenderer::serveResponse(Wt::WebResponse&) (WebRenderer.C:192)

12851 by 0x439B256: Wt::WebSession::serveResponse(Wt::WebSession::Handler&) (WebSession.C:1823)

12851 by 0x439E0F1: Wt::WebSession::render(Wt::WebSession::Handler&) (WebSession.C:1781)

12851 by 0x43A63DF: Wt::WebSession::notify(Wt::WEvent const&) (WebSession.C:1498)

12851 by 0x4182536: Wt::WApplication::notify(Wt::WEvent const&) (WApplication.C:1365)

12851 by 0x43A2CF4: Wt::WebSession::handleRequest(Wt::WebSession::Handler&) (WebSession.C:1163)

12851 by 0x43C073B: Wt::WebController::handleAsyncRequest(Wt::WebRequest*) (WebController.C:620)

12851

WReemCommander: /usr/include/boost/range/iterator_range.hpp:281: IteratorT boost::iterator_range::end() const [with IteratorT = _gnu_cxx::_normal_iterator<const char*, std::basic_string<char, std::char_traits, std::allocator > >]: Assertion `!is_singular()' failed.

RE: Wt::WValidate - Added by Wim Dumon almost 13 years ago

Victor,

Looking at the valgrind trace, I suspect it may be a bug in boost::split. What version of boost are you using?

BR,

Wim.

RE: Wt::WValidate - Added by Víctor López almost 13 years ago

Hi, I'm using boost 1.40.0

RE: Wt::WValidate - Added by Koen Deforche almost 13 years ago

Hey,

It is somewhat suspicious that it occurs while rendering the header of a WTreeView...

If you can easily reproduce this, can you apply the following patch to WWebWidget.C which might provide a hint of what input causes boost::split to fail ?

(the lines may be off, this is against my git copy):

--- a/src/Wt/WWebWidget.C
+++ b/src/Wt/WWebWidget.C
@@ -696,6 +696,9 @@ void WWebWidget::addStyleClass(const WT_USTRING& styleClass, bool force)
     lookImpl_ = new LookImpl();

   std::string currentClass = lookImpl_->styleClass_.toUTF8();
+
+  std::cerr << "addStyleClass() : '" << currentClass << "'" << std::endl;
+
   std::set<std::string> classes;
   Utils::split(classes, currentClass, " ", true);

Regards,

koen

    (1-9/9)