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

Bug#302236: konqueror: crash on the "back" button click when it is auto-opening a pdf



Package: konqueror
Version: 4:3.3.2-1
Severity: normal

In the process of my work I download a large number of articles from
scientific journal sites. Konqueror reliably crashes if I click on the "back"
button while it is auto-loading a pdf file linked from the article download
page. However, the crash happens after a certain time of konqueror usage and
with several tabs open, which I cannot replicate. I just know it will crash,
but can't predict how soon. This will make debugging difficult unless I build
kdebase with debugging symbols, which is not going to be easy I guess. So,
this bug caused work loss for me a number of times, but I'll set the severity
to normal due to the difficulty of replication.

The pdf is usually loaded with JavaScript like this:

	function loadPDF() {
	   setPDFLoadedFlag();
	   // Scan through all links on page looking for the one that
	   // matches the PDF download.  Why do we do this arcane trick
	   // instead of just duplicating the URL?  Because of a
	   // situation where the page is being proxied and passed through
	   // a link rewriter, which can't handle JavaScript.  This
	   // bit of code, by determining the autoload URL at runtime,
	   // picks up the rewritten URL and uses that.
	   // (mferber 11/19/03)
	   for (i = 0; i < document.links.length; i++) {
	      link = document.links[i];
	      path = link.pathname;
              if ((path.length >= id.length + 4
                    && path.substring(path.length - id.length - 4) == id + ".pdf")
                  ||
                  (path.length >= mjid.length + 4
                    && path.substring(path.length - mjid.length - 4) == mjid + ".pdf"))
	      {
                 // found match
                 window.location = link.href;
                 break;
	      }
	   }
	}




-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.11-20050303-mrb319
Locale: LANG=en_US, LC_CTYPE=en_US.ISO8859-15 (charmap=ISO-8859-15)

Versions of packages konqueror depends on:
ii  kcontrol             4:3.3.2-1           KDE Control Center
ii  kdebase-kio-plugins  4:3.3.2-1           KDE I/O Slaves
ii  kdelibs4             4:3.3.2-4.0.2       KDE core libraries
ii  kdesktop             4:3.3.2-1           KDE Desktop
ii  kfind                4:3.3.2-1           KDE File Find Utility
ii  libart-2.0-2         2.3.17-1            Library of functions for 2D graphi
ii  libc6                2.3.2.ds1-20        GNU C Library: Shared libraries an
ii  libfam0c102          2.7.0-6             client library to control the FAM 
ii  libgcc1              1:3.4.3-12          GCC support library
ii  libice6              4.3.0.dfsg.1-12.0.1 Inter-Client Exchange library
ii  libidn11             0.5.13-1.0          GNU libidn library, implementation
ii  libjpeg62            6b-10               The Independent JPEG Group's JPEG 
ii  libkonq4             4:3.3.2-1           Core libraries for KDE's file mana
ii  libpcre3             5.0-1               Perl 5 Compatible Regular Expressi
ii  libpng12-0           1.2.8rel-1          PNG library - runtime
ii  libqt3c102-mt        3:3.3.3-8           Qt GUI Library (Threaded runtime v
ii  libsm6               4.3.0.dfsg.1-12.0.1 X Window System Session Management
ii  libstdc++5           1:3.3.5-12          The GNU Standard C++ Library v3
ii  libx11-6             4.3.0.dfsg.1-12.0.1 X Window System protocol client li
ii  libxext6             4.3.0.dfsg.1-12.0.1 X Window System miscellaneous exte
ii  libxrender1          0.8.3-7             X Rendering Extension client libra
ii  xlibs                4.3.0.dfsg.1-12     X Keyboard Extension (XKB) configu
ii  zlib1g               1:1.2.2-4           compression library - runtime

-- no debconf information



Reply to: