Bug 139783 - Printing (specific) web page hangs konqueror silently
Summary: Printing (specific) web page hangs konqueror silently
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: khtml printing (show other bugs)
Version: 3.5
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-08 18:11 UTC by Joan Tur
Modified: 2008-04-20 19:11 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joan Tur 2007-01-08 18:11:09 UTC
Version:           3.5.5 (using KDE 3.5.5, Kubuntu (edgy) 4:3.5.5-0ubuntu3)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.17.13-ubuntu1-617i

I'm trying to print http://www.angelfire.com/co/cubo/resumen.html, so I press the print button once the page is loaded, then ok...

... a new window opens: "Printing status - konqueror", showing the following content: "S'està imprimint el document: http://www.angelfire.com/co/cubo/resumen.html
S'estan generant les dades d'impressió: pàgina 1" ("The document is being printed: http://www.angelfire.com/co/cubo/resumen.html.  Generating printing data: page 1"),

... then konqueror crashes with no warning nor error.  The "Printing status - konqueror" windows still remains, but nothing is being printed.
Comment 1 Tommi Tervo 2007-01-09 08:14:52 UTC
Cannot reproduce (printed to file). Kubuntu breezy, svn 620k.
Do you see any debug output if you start konqueror from xterm/konsole?
Comment 2 Joan Tur 2007-01-09 16:08:30 UTC
Yes, there's some output from konsole:

-----
quini@quinilg:~$ konqueror
X Error: BadDevice, invalid or uninitialized input device 168
  Major opcode:  145
  Minor opcode:  3
  Resource id:  0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 168
  Major opcode:  145
  Minor opcode:  3
  Resource id:  0x0
Failed to open device
Segmentation fault
-----

Hope that helps  ;)
Comment 3 Kurt Pfeifle 2007-01-11 02:19:20 UTC
Confirmed. My Konqueror hangs when trying to print the page. Memory uses goes up forever; I killed it when it surpassed 800 MBytes in fear it would freeze all the machine.

SUSE-10.0 RPMs of KDE 3.5.5 here.

That URL has a lot of JavaScript embedded, plus at least one Shockwave/Flash file.

Also, it does not validate (13 errors): http://validator.w3.org/check?uri=http%3A%2F%2Fwww.angelfire.com%2Fco%2Fcubo%2Fresumen.html

Does Firefox print it? Opera?
Comment 4 Joan Tur 2007-01-11 22:07:07 UTC
Yes, both firefox and opera can print it:

quini@quinilg:~$ apt-show-versions |grep opera
opera/etch uptodate 9.10-20061214.6
quini@quinilg:~$ apt-show-versions |grep firefox/edgy
firefox/edgy uptodate 2.0.0.1+0dfsg-0ubuntu0.6.10
Comment 5 Michael Leupold 2008-04-20 13:11:42 UTC
I can no longer reproduce this on 3.5.9 as well as on trunk r798768.
Comment 6 Joan Tur 2008-04-20 19:11:31 UTC
Hi.

Yes, I cannot reproduce under Kubuntu 7.10 & Kde 3.5.9 either.  I'm marking it as resolved.  Thanks.