Project

General

Profile

Actions

Bug #676

closed

WTableView::setColumnHidden()

Added by Zhimin Song almost 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
01/10/2011
Due date:
% Done:

0%

Estimated time:

Description

hi, all

In the treeview-dragdrop, used the setColumnHidden() or hideColumn(), I got the following, tv.wt is treeview-dragdrop.wt.

(and it will be better if TableView can auto ajust column width without scrolling bar when given a fixed table view width)

(ps: it will be great if wt install header files into Wt.., this will enable users to compile diffrent based version more convienictly_*)

8602 Thread 4:

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

8602 at 0x4324A0C: Wt::WTableView::isColumnRendered(int) (WTableView.C:901)

8602 by 0x4327027: Wt::WTableView::setColumnHidden(int, bool) (WTableView.C:849)

8602 by 0x808CCE8: TreeViewDragDrop::fileView() (in /var/www/cx/test/tv/tv.wt)

8602 by 0x808F645: TreeViewDragDrop::createUI() (in /var/www/cx/test/tv/tv.wt)

8602 by 0x808FA2C: TreeViewDragDrop::TreeViewDragDrop(Wt::WEnvironment const&) (in /var/www/cx/test/tv/tv.wt)

8602 by 0x80806A7: createApplication(Wt::WEnvironment const&) (in /var/www/cx/test/tv/tv.wt)

8602 by 0x44174BB: Wt::WebController::doCreateApplication(Wt::WebSession*) (WebController.C:646)

8602 by 0x43F2C5E: Wt::WebSession::start() (WebSession.C:393)

8602 by 0x44019AF: Wt::WebSession::handleRequest(Wt::WebSession::Handler&) (WebSession.C:990)

8602 by 0x441BA3A: Wt::WebController::handleAsyncRequest(Wt::WebRequest*) (WebController.C:609)

8602 by 0x441DC93: Wt::WebController::handleRequest(Wt::WebRequest*) (WebController.C:484)

8602 by 0x462A2D6: Wt::WServer::handleRequest(Wt::WebRequest*) (Server.C:937)

8602

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

8602 at 0x432702A: Wt::WTableView::setColumnHidden(int, bool) (WTableView.C:849)

8602 by 0x808CCE8: TreeViewDragDrop::fileView() (in /var/www/cx/test/tv/tv.wt)

8602 by 0x808F645: TreeViewDragDrop::createUI() (in /var/www/cx/test/tv/tv.wt)

8602 by 0x808FA2C: TreeViewDragDrop::TreeViewDragDrop(Wt::WEnvironment const&) (in /var/www/cx/test/tv/tv.wt)

8602 by 0x80806A7: createApplication(Wt::WEnvironment const&) (in /var/www/cx/test/tv/tv.wt)

8602 by 0x44174BB: Wt::WebController::doCreateApplication(Wt::WebSession*) (WebController.C:646)

8602 by 0x43F2C5E: Wt::WebSession::start() (WebSession.C:393)

8602 by 0x44019AF: Wt::WebSession::handleRequest(Wt::WebSession::Handler&) (WebSession.C:990)

8602 by 0x441BA3A: Wt::WebController::handleAsyncRequest(Wt::WebRequest*) (WebController.C:609)

8602 by 0x441DC93: Wt::WebController::handleRequest(Wt::WebRequest*) (WebController.C:484)

8602 by 0x462A2D6: Wt::WServer::handleRequest(Wt::WebRequest*) (Server.C:937)

8602 by 0x4420076: boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void, boost::_mfi::mf1<void, Wt::WAbstractServer, Wt::WebRequest*, boost::_bi::list2<boost::_bi::value<Wt::WAbstractServer>, boost::_bi::value<Wt::WebRequest*> > >, void>::invoke(boost::detail::function::function_buffer&) (mem_fn_template.hpp:162)

8602

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

8602 at 0x432703B: Wt::WTableView::setColumnHidden(int, bool) (WTableView.C:852)

8602 by 0x808CCE8: TreeViewDragDrop::fileView() (in /var/www/cx/test/tv/tv.wt)

8602 by 0x808F645: TreeViewDragDrop::createUI() (in /var/www/cx/test/tv/tv.wt)

8602 by 0x808FA2C: TreeViewDragDrop::TreeViewDragDrop(Wt::WEnvironment const&) (in /var/www/cx/test/tv/tv.wt)

8602 by 0x80806A7: createApplication(Wt::WEnvironment const&) (in /var/www/cx/test/tv/tv.wt)

8602 by 0x44174BB: Wt::WebController::doCreateApplication(Wt::WebSession*) (WebController.C:646)

8602 by 0x43F2C5E: Wt::WebSession::start() (WebSession.C:393)

8602 by 0x44019AF: Wt::WebSession::handleRequest(Wt::WebSession::Handler&) (WebSession.C:990)

8602 by 0x441BA3A: Wt::WebController::handleAsyncRequest(Wt::WebRequest*) (WebController.C:609)

8602 by 0x441DC93: Wt::WebController::handleRequest(Wt::WebRequest*) (WebController.C:484)

8602 by 0x462A2D6: Wt::WServer::handleRequest(Wt::WebRequest*) (Server.C:937)

8602 by 0x4420076: boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void, boost::_mfi::mf1<void, Wt::WAbstractServer, Wt::WebRequest
, boost::_bi::list2<boost::_bi::value<Wt::WAbstractServer*>, boost::_bi::value<Wt::WebRequest*> > >, void>::invoke(boost::detail::function::function_buffer&) (mem_fn_template.hpp:162)

8602

8602 Invalid read of size 4

8602 at 0x41FE1B2: Wt::WContainerWidget::widget(int) const (WContainerWidget.C:288)

8602 by 0x4327058: Wt::WTableView::setColumnHidden(int, bool) (WTableView.C:855)

8602 by 0x808CCE8: TreeViewDragDrop::fileView() (in /var/www/cx/test/tv/tv.wt)

8602 by 0x808F645: TreeViewDragDrop::createUI() (in /var/www/cx/test/tv/tv.wt)

8602 by 0x808FA2C: TreeViewDragDrop::TreeViewDragDrop(Wt::WEnvironment const&) (in /var/www/cx/test/tv/tv.wt)

8602 by 0x80806A7: createApplication(Wt::WEnvironment const&) (in /var/www/cx/test/tv/tv.wt)

8602 by 0x44174BB: Wt::WebController::doCreateApplication(Wt::WebSession*) (WebController.C:646)

8602 by 0x43F2C5E: Wt::WebSession::start() (WebSession.C:393)

8602 by 0x44019AF: Wt::WebSession::handleRequest(Wt::WebSession::Handler&) (WebSession.C:990)

8602 by 0x441BA3A: Wt::WebController::handleAsyncRequest(Wt::WebRequest*) (WebController.C:609)

8602 by 0x441DC93: Wt::WebController::handleRequest(Wt::WebRequest*) (WebController.C:484)

8602 by 0x462A2D6: Wt::WServer::handleRequest(Wt::WebRequest*) (Server.C:937)

8602 Address 0x14 is not stack'd, malloc'd or (recently) free'd

8602

8602 Process terminating with default action of signal 11 (SIGSEGV)

8602 Access not within mapped region at address 0x14

8602 at 0x41FE1B2: Wt::WContainerWidget::widget(int) const (WContainerWidget.C:288)

8602 by 0x4327058: Wt::WTableView::setColumnHidden(int, bool) (WTableView.C:855)

8602 by 0x808CCE8: TreeViewDragDrop::fileView() (in /var/www/cx/test/tv/tv.wt)

8602 by 0x808F645: TreeViewDragDrop::createUI() (in /var/www/cx/test/tv/tv.wt)

8602 by 0x808FA2C: TreeViewDragDrop::TreeViewDragDrop(Wt::WEnvironment const&) (in /var/www/cx/test/tv/tv.wt)

8602 by 0x80806A7: createApplication(Wt::WEnvironment const&) (in /var/www/cx/test/tv/tv.wt)

8602 by 0x44174BB: Wt::WebController::doCreateApplication(Wt::WebSession*) (WebController.C:646)

8602 by 0x43F2C5E: Wt::WebSession::start() (WebSession.C:393)

8602 by 0x44019AF: Wt::WebSession::handleRequest(Wt::WebSession::Handler&) (WebSession.C:990)

8602 by 0x441BA3A: Wt::WebController::handleAsyncRequest(Wt::WebRequest*) (WebController.C:609)

8602 by 0x441DC93: Wt::WebController::handleRequest(Wt::WebRequest*) (WebController.C:484)

8602 by 0x462A2D6: Wt::WServer::handleRequest(Wt::WebRequest*) (Server.C:937)

Actions #1

Updated by Zhimin Song almost 14 years ago

(Deleted)

Actions #2

Updated by Zhimin Song almost 14 years ago

(Deleted)

Actions #3

Updated by Zhimin Song almost 14 years ago

hey,

This probelm in 3.1.8 is reported by valgrind as following:

9932 Thread 4:

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

9932 at 0x43386EC: Wt::WTableView::isColumnRendered(int) (WTableView.C:815)

9932 by 0x433B769: Wt::WTableView::setColumnHidden(int, bool) (WTableView.C:760)

9932 by 0x808CD98: TreeViewDragDrop::fileView() (in /var/www/cx/test/tv/tv.wt)

9932 by 0x808F6EF: TreeViewDragDrop::createUI() (in /var/www/cx/test/tv/tv.wt)

9932 by 0x808FAD6: TreeViewDragDrop::TreeViewDragDrop(Wt::WEnvironment const&) (in /var/www/cx/test/tv/tv.wt)

9932 by 0x8080787: createApplication(Wt::WEnvironment const&) (in /var/www/cx/test/tv/tv.wt)

9932 by 0x4435E2B: Wt::WebController::doCreateApplication(Wt::WebSession*) (WebController.C:657)

9932 by 0x440DCCE: Wt::WebSession::start() (WebSession.C:402)

9932 by 0x441A661: Wt::WebSession::handleRequest(Wt::WebSession::Handler&) (WebSession.C:1129)

9932 by 0x443BC4A: Wt::WebController::handleAsyncRequest(Wt::WebRequest*) (WebController.C:620)

9932 by 0x443DEA3: Wt::WebController::handleRequest(Wt::WebRequest*) (WebController.C:494)

9932 by 0x4650296: Wt::WServer::handleRequest(Wt::WebRequest*) (Server.C:937)

9932

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

9932 at 0x433B76C: Wt::WTableView::setColumnHidden(int, bool) (WTableView.C:760)

9932 by 0x808CD98: TreeViewDragDrop::fileView() (in /var/www/cx/test/tv/tv.wt)

9932 by 0x808F6EF: TreeViewDragDrop::createUI() (in /var/www/cx/test/tv/tv.wt)

9932 by 0x808FAD6: TreeViewDragDrop::TreeViewDragDrop(Wt::WEnvironment const&) (in /var/www/cx/test/tv/tv.wt)

9932 by 0x8080787: createApplication(Wt::WEnvironment const&) (in /var/www/cx/test/tv/tv.wt)

9932 by 0x4435E2B: Wt::WebController::doCreateApplication(Wt::WebSession*) (WebController.C:657)

9932 by 0x440DCCE: Wt::WebSession::start() (WebSession.C:402)

9932 by 0x441A661: Wt::WebSession::handleRequest(Wt::WebSession::Handler&) (WebSession.C:1129)

9932 by 0x443BC4A: Wt::WebController::handleAsyncRequest(Wt::WebRequest*) (WebController.C:620)

9932 by 0x443DEA3: Wt::WebController::handleRequest(Wt::WebRequest*) (WebController.C:494)

9932 by 0x4650296: Wt::WServer::handleRequest(Wt::WebRequest*) (Server.C:937)

9932 by 0x443ECE6: boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void, boost::_mfi::mf1<void, Wt::WAbstractServer, Wt::WebRequest*, boost::_bi::list2<boost::_bi::value<Wt::WAbstractServer>, boost::_bi::value<Wt::WebRequest*> > >, void>::invoke(boost::detail::function::function_buffer&) (mem_fn_template.hpp:162)

9932

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

9932 at 0x433B77D: Wt::WTableView::setColumnHidden(int, bool) (WTableView.C:763)

9932 by 0x808CD98: TreeViewDragDrop::fileView() (in /var/www/cx/test/tv/tv.wt)

9932 by 0x808F6EF: TreeViewDragDrop::createUI() (in /var/www/cx/test/tv/tv.wt)

9932 by 0x808FAD6: TreeViewDragDrop::TreeViewDragDrop(Wt::WEnvironment const&) (in /var/www/cx/test/tv/tv.wt)

9932 by 0x8080787: createApplication(Wt::WEnvironment const&) (in /var/www/cx/test/tv/tv.wt)

9932 by 0x4435E2B: Wt::WebController::doCreateApplication(Wt::WebSession*) (WebController.C:657)

9932 by 0x440DCCE: Wt::WebSession::start() (WebSession.C:402)

9932 by 0x441A661: Wt::WebSession::handleRequest(Wt::WebSession::Handler&) (WebSession.C:1129)

9932 by 0x443BC4A: Wt::WebController::handleAsyncRequest(Wt::WebRequest*) (WebController.C:620)

9932 by 0x443DEA3: Wt::WebController::handleRequest(Wt::WebRequest*) (WebController.C:494)

9932 by 0x4650296: Wt::WServer::handleRequest(Wt::WebRequest*) (Server.C:937)

9932 by 0x443ECE6: boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void, boost::_mfi::mf1<void, Wt::WAbstractServer, Wt::WebRequest
, boost::_bi::list2<boost::_bi::value<Wt::WAbstractServer*>, boost::_bi::value<Wt::WebRequest*> > >, void>::invoke(boost::detail::function::function_buffer&) (mem_fn_template.hpp:162)

Regards

Zhimin

Actions #4

Updated by Koen Deforche almost 14 years ago

  • Status changed from New to InProgress
  • Assignee set to Koen Deforche
Actions #5

Updated by Koen Deforche over 13 years ago

  • Status changed from InProgress to Resolved

Hey Zhimin,

This has been fixed in latest git.

Regards,

koen

Actions #6

Updated by Koen Deforche over 13 years ago

  • Target version set to 3.1.10
Actions #7

Updated by Koen Deforche over 13 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF