Topic: FireFox crashes when printing decrypted page

Ubuntu 8.04

FireFox version details:
Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.0.3) Gecko/2008092510 Ubuntu/8.04 (hardy) Firefox/3.0.3


When I use a page on our twiki I decrypt a section.

Then when I try to print to a PDF the FireFox browser crashes.  Pretty sure this happens when trying to print to anything - must be to do with creating the initial PDF.

Thanks for a great tool BTW.

Kevin Bailey

Re: FireFox crashes when printing decrypted page

Ah - sorry about this - it looks like FireFox crashes when I print ANY page.

Last time this was due to FireGPG so that's the reason for the post.

Will post back if it is related to FireGPG or if I find out what's causing the crashes.

Re: FireFox crashes when printing decrypted page

Try do disable FireGPG, we don't know wink

Re: FireFox crashes when printing decrypted page

Nope - me again.

This crash IS happening with any page which has any GPG blocks in it which are picked up by FireGPG.

Sorry about the confusion!

Re: FireFox crashes when printing decrypted page

As suggested - I disabled FireGPG and the crash did not happen - I'll now re-enable FireGPG and try again.

Re: FireFox crashes when printing decrypted page

After re-enabling FireGPG I get the crash again.

There are no messages which come up - FireFox simply closes.  Is there any debugging type tool I can enable - or any logs somewhere which may be of use.  I'd be happy to re-run the problem and try to get some feedback to you.

The other addons installed are:

Adblock Plus
Firebug
FireGestures
Foxmarks Bookmark Sychronizer
It's All Text!
NoScript
Poster
Ubuntu Firefox Modifications
Web Developer

Cheers,

Kevin

Last edited by bailey86 (2008-11-16 16:10:21)

Re: FireFox crashes when printing decrypted page

Ok so it's the FireGPG fault.

Problems : 1) I haven't the problem (do you have a sample page ?) 2) For crash there is no ways to debug, except launch Firefox in a console.

Try :

- Run in a console and copy past last messages after the crash
- Disable all another extexion except FireGPG and try to crash.

What is your os and your firefox's version ?

Regards,

Re: FireFox crashes when printing decrypted page

Running from a console.

First run is without any parameters.

kbailey@scott:~$ firefox
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
Trying to position a sizeless window; caller should have called sizeToContent() or sizeTo(). See bug 75649.
Segmentation fault
kbailey@scott:~$


Tried a run with debugging on - but the debug windows crashes as well

Interestingly - in the following test run I printed to a printer - no problem, 

I then printed to a .ps (postscript) file - no problem.

It was when I tried to print to a PDF when the crash happened.


kbailey@scott:~$ firefox -jsconsole
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
Trying to position a sizeless window; caller should have called sizeToContent() or sizeTo(). See bug 75649.
Trying to position a sizeless window; caller should have called sizeToContent() or sizeTo(). See bug 75649.
Trying to position a sizeless window; caller should have called sizeToContent() or sizeTo(). See bug 75649.
Segmentation fault
kbailey@scott:~$


At least there is a workaround - I can print to .ps and then run ps2pdf on the command line to create the PDF file.


This is the run with all other extensions turned off - the browser still crashed when trying to print to file as a PDF.

kbailey@scott:~$ firefox -jsconsole
Trying to position a sizeless window; caller should have called sizeToContent() or sizeTo(). See bug 75649.
Segmentation fault
kbailey@scott:~$

HTH

Kevin

Re: FireFox crashes when printing decrypted page

cups-pdf ? Because it's what I use and I haven't any crash...

Re: FireFox crashes when printing decrypted page

It looks like cups-pdf is installed.

root@scott:~# dpkg -l cups-pdf
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-f/Unpacked/Failed-cfg/Half-inst/t-aWait/T-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name              Version           Description
+++-=================-=================-==================================================
ii  cups-pdf          2.4.6-4ubuntu2    PDF printer for CUPS
root@scott:~#

Re: FireFox crashes when printing decrypted page

Also,

Ubuntu 8.04

FireFox version details:
Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.0.3) Gecko/2008092510 Ubuntu/8.04 (hardy) Firefox/3.0.3