[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#482317: libxt6: scroll list overflow in gv



Package: libxt6
Version: 1:1.0.2-2
Severity: important


I found the problem while viewing large documents vith gv, and I am not
very knowledgeable in X terminology, so I apologise, that I will
describe the problem in terms of gv:

The problem is that large enough (over 1638 pages) .ps files will cause
the page number scroll list in gv behave erroneously and can also make X
crash.  After the X crash, I am able to log in from other computer, kill
X server process, and then my desktop and X will restart.  Being able to
crash X made me think that this bug might be also rates ad critical, but
1638 page files are not very common...

The problem appears while viewing documents with more that 1638 pages.
I am able to repeat the behaviour by creating a file having enough pages
and trying to select page number 1639 in the scroll list.  (I can
provide a small perl script to create latex file of desired size, and
then feeding the file to latex -> dvips -> gv.)

The pagenumber scrollbar is OK (all page numbers are visible) if the
document has 1638 or less pages, but turns blind, when the document has
1639 or more pages.  I can uncover the page numbers 1-1638 by mousing
over them, though, and I can then click those numbers to jump to desided
page.

The crash seems to happen, when the pagenumber scrollbar window wants to
higlight page number 1639 (which is not visible).  I can view the
contents of that page, and beyond, if I keep the scroll list positioned
so that number 1639 is outside the visble part of the scroll list.

Crash will happen if I try to choose that point in scroll list by mouse,
or when i sroll up/down by keyboard commands (PageUp/PageDown) AND that
position in scrollbar window should be visible.  It will not crash if
the point of page number 1639 is outside scrollbar window, or if I
scroll up/down on other pages even if their numbers should be in the
scroll list window.

Crash will not happen, if I jump directly to last page (by keyboard
End-key), and then scroll up (by keyboard PageUp).  This way I am able
to see the contents of all pages, even when there are more than 1639
pages in the document.

Feel free to request more information about this, if needed.

I made already another bug report to gv maintainers about this same
problem.

Blaming Xt for the erroneous behaviour, and making two separate bug
reports, is the result of discussing about this problem with one of gv
maintainers.

	-juha

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-486
Locale: LANG=fi_FI@euro, LC_CTYPE=fi_FI@euro (charmap=ISO-8859-15)

Versions of packages libxt6 depends on:
ii  libc6                  2.3.6.ds1-13etch5 GNU C Library: Shared libraries
ii  libice6                1:1.0.1-2         X11 Inter-Client Exchange library
ii  libsm6                 1:1.0.1-3         X11 Session Management library
ii  libx11-6               2:1.0.3-7         X11 client-side library
ii  x11-common             1:7.1.0-19        X Window System (X.Org) infrastruc

libxt6 recommends no packages.

-- debconf information:
  libxt6/migrate_app_defaults_dir: true



Reply to: