Closed Bug 516459 Opened 15 years ago Closed 13 years ago

Firefox crashes every second time i try to print a webpage [@ gtk_print_backend_error_quark]

Categories

(Core :: Printing: Output, defect)

x86
OpenBSD
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 573039

People

(Reporter: info, Unassigned)

Details

(Keywords: crash)

Crash Data

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (X11; U; OpenBSD i386; de-DE; rv:1.9.0.6) Gecko/2009030117 Firefox/3.0.6
Build Identifier: Mozilla/5.0 (X11; U; OpenBSD i386; de-DE; rv:1.9.0.6) Gecko/2009030117 Firefox/3.0.6

My Firefox crashes every second time i try to print a webpage in a session. It looks like the Bug 348605, but It's not a Mac. I run Firefox on OpenBSD.

Reproducible: Always

Steps to Reproduce:
1. print a webpage
2. print a other (or the same webpage again)
3. Firefox crashes
Actual Results:  
Firefox crashes reproducible every second time

Expected Results:  
print the webpage
A few questions:
 (A) Does this happen with the special webpage "about:blank"? (If you print about:blank twice in a row, do you crash?)  

 (B) What action are you using to print? (i.e. "File | Print" twice in a row? Or via Print Preview and then pressing "Print" in that?)

 (C) What model printer are you printing to?

 (D) Does the problem happen if you print to a file instead of to physical paper? (I'm not sure what the Firefox printing UI is like on OpenBSD, so I don't know how to print to a file there -- but there should be some way.)
(A) yes, also with about:blank

(B) I use File -> Print. The Print Preview has no Print button in my Firefox.

(C) HP Laserjet 1200

(D) It happens, if the Print dialog window opens. I can't select Print to file, because Firefox crashes before the window opens.

My printing Backend is Cups. OpenBSD has Unix-lpd printing support in the base system and optional cups as a package. I use the Cups package.
(In reply to comment #2)
> (D) It happens, if the Print dialog window opens. I can't select Print to file,
> because Firefox crashes before the window opens.

Do you know what version of GTK2 you have?  I'm guessing (and have gotten "pretty sure" confirmation in IRC) that Firefox builds on OpenBSD use GTK... and if so, this sounds a lot like bug 422916 / https://bugzilla.novell.com/show_bug.cgi?id=374554
It's Version 2.14.7
Hm, then that means this is not the issue I suspected in comment 3.  (*That* issue was fixed in gtk2 version 2.10.13, as noted in bug 422916 comment 28.)
I can confirm this still happen with ffx 3.6.3/gtk+ 2.18.6 or 2.20.1 on OpenBSD-current.

Will build a debug ffx build to get a decent trace.. in the meantime, why not changing status to CONFIRMED ?
landry: we don't like to confirm bugs w/o stack traces.

https://developer.mozilla.org/En/How_to_get_a_stacktrace_for_a_bug_report#Linux

hopefully most of the instructions apply to your openbsd (i'm aware they aren't the same, we just need you to use your favorite debugger and install symbols for the entire stack firefox, gtk, ...).
Attached file Crash stacktrace
Here's a first bt full stacktrace, i'm now rebuilding gtk with debug syms to get the deepest part.
Keywords: crash
Summary: Firefox crashes every second time i try to print a webpage → Firefox crashes every second time i try to print a webpage [@ gtk_print_backend_error_quark]
Fwiw, this was a dupe of https://bugzilla.mozilla.org/show_bug.cgi?id=573039, and https://bug573039.bugzilla.mozilla.org/attachment.cgi?id=499233 fixed the issue.

Can someone set the status to resolved duplicate ?
Done.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Crash Signature: [@ gtk_print_backend_error_quark]
You need to log in before you can comment on or make changes to this bug.