Public bug reported: When using xmonad (with gnome in my case), vncviewer crashes with the failed assertion:
vncviewer: TXScrollbar.cxx:47: void TXScrollbar::set(int, int, int, bool): Assertion `limit_ > 0 && len_ >= 0 && len_ <= limit_' failed. This can be fixed by replacing the assertion in TXScrollbar::set with if (len_ > limit_) len_ = limit_; such that TXScrollbar::set looks like this void TXScrollbar::set(int limit_, int start_, int len_, bool vert) { // This assertion fails under certain window managers. // assert(limit_ > 0 && len_ >= 0 && len_ <= limit_); if (len_ > limit_) len_ = limit_; if (start_ < 0) start_ = 0; if (start_ > limit_ - len_) start_ = limit_ - len_; if (limit[vert] != limit_ || start[vert] != start_ || len[vert] != len_) { limit[vert] = limit_; start[vert] = start_; len[vert] = len_; paint(); } } I hope this patch is helpful. best regards, Brian Amberg [EMAIL PROTECTED]:~/ lsb_release -rd Description: Ubuntu 8.04 Release: 8.04 ** Affects: vnc4 (Ubuntu) Importance: Undecided Status: New -- vncviewer crashes on startup when using xmonad https://bugs.launchpad.net/bugs/281167 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs