pkgsrc-Users archive

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

Re: printing with firefox3?



You probably need to edit your ~/.gtkrc-2.0 and add

 gtk-print-backends="lpr,file"

as described here

 
http://library.gnome.org/devel/gtk/stable/GtkSettings.html#GtkSettings--gtk-print-backends

I am guessing this is the machine with the cups option enabled ?

Do you happen to have a core dump from one of the other machines (and "thread apply 
all bt") ?

Steven M. Bellovin wrote:
On Mon, 19 Jan 2009 19:31:47 +0200
Yorick Hardy <yorickhardy%gmail.com@localhost> wrote:

Thanks.

Steven M. Bellovin wrote:
I think this is one, but I can generate a fresh dump if you want.
(But I think I have the patch installed everywhere, so I'll have to
build a new, buggy version...)
I am sure you have better things to do :-)
The output below does have (hopefully sufficient) useful information,
so I hope there is no need for you to build the buggy version.

Program terminated with signal 11, Segmentation fault.
#0  0xb9bf2eb7 in __sigpending14 () from /usr/lib/libc.so.12
(gdb) thread apply all bt

Thread 8 (process 80754):
#0  0xb9bf2597 in uuid_from_string () from /usr/lib/libc.so.12
#1  0xbaffa6b3 in save_yourself_cb ()
from /usr/pkg/lib/firefox3/libxul.so #2  0xb9c40490 in
__grscan_files () from /usr/lib/libc.so.12 #3  0xb038a05d in
EVP_sha512 () from /usr/lib/libcrypto.so.4 #4  0xb0364682 in
EVP_DigestFinal_ex () from /usr/lib/libcrypto.so.4 #5  0xb0350251
in RAND_SSLeay () from /usr/lib/libcrypto.so.4 #6  0xb0350430 in
RAND_SSLeay () from /usr/lib/libcrypto.so.4 #7  0xb034fe59 in
RAND_seed () from /usr/lib/libcrypto.so.4 #8  0xb1c9b70c in
httpInitialize () at http.c:1178
#8 is the call to RAND_seed from line 1178 in
  http://svn.easysw.com/public/cups/tags/release-1.3.9/cups/http.c
so CUPS seems to have got in there somewhere.

I can't tell if this resulted in the core dump though.
It would make things easier if it did :-)

I rebuilt cups with that line deleted.  Firefox doesn't crash when I
click print, but it also doesn't give me a choice of lpr for printing,
only 'print to file'....



--
Kind regards,

Yorick Hardy


Home | Main Index | Thread Index | Old Index