From owner-freebsd-questions@FreeBSD.ORG Tue Dec 7 18:07:26 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B158116A4CE for ; Tue, 7 Dec 2004 18:07:26 +0000 (GMT) Received: from mail-relay4.mirrorimage.net (mail-relay4.mirrorimage.net [209.58.140.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D08243D46 for ; Tue, 7 Dec 2004 18:07:26 +0000 (GMT) (envelope-from FreeBSD@keyslapper.org) Received: from localhost (unknown [10.10.4.59]) by mail-relay4.mirrorimage.net (Postfix) with SMTP id 7B65769489 for ; Tue, 7 Dec 2004 13:07:25 -0500 (EST) Received: by localhost (sSMTP sendmail emulation); Tue, 7 Dec 2004 13:09:20 -0500 Date: Tue, 7 Dec 2004 13:09:20 -0500 From: Louis LeBlanc To: freebsd-questions@FreeBSD.org Message-ID: <20041207180920.GA14469@keyslapper.org> Mail-Followup-To: freebsd-questions@FreeBSD.org References: <20041207163732.GA3544@keyslapper.org> <41B5DD19.5090302@FreeBSD.org> <20041207173641.GA4043@keyslapper.org> <41B5ECB7.8040507@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <41B5ECB7.8040507@FreeBSD.org> User-Agent: Mutt/1.5.6i Subject: Re: Firefox 1.0 cores while printing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Dec 2004 18:07:26 -0000 On 12/07/04 12:47 PM, Joe Marcus Clarke sat at the `puter and typed: > Louis LeBlanc wrote: > | On 12/07/04 11:40 AM, Joe Marcus Clarke sat at the `puter and typed: > | > |>Louis LeBlanc wrote: > |>| Am I the only one that has problems printing with firefox? > |>| > |>| Other than this one problem, it's my favorite browser, hands down. > |>| > |>| Here's what I have: > |>| > |>| Relevant ports: > |>| firefox-1.0_3,1 > |>| firefox-remote-20040803 > |>| flashplugin-firefox-0.4.12 > |>| cups-base-1.1.22.0 > |>| cups-lpr-1.1.22.0 > |>| > |>| The problem occurs on FreeBSD 4.10 Release and 5.3 Release with > |>| xorg-6.7.0_1 and on 4.10 Release with XFree86-4.3.0,1. > |>| > |>| I have the TabBrowser preferenced 1.1.1 extension installed, and the > |>| Noia 2.0 Extreme theme (2.79) installed. > |>| > |>| It does NOT happen with Mozilla. > |>| It always leaves a firefox-bin.core file behind - caused by a segfault. > |>| It happens with any page I try to print, not just complex pages. > |>| > |>| I cannot find anything directly relevant at firefox central, but bug > |>| #268660 seems similar: > |>| https://bugzilla.mozilla.org/show_bug.cgi?id=268660 > |>| > |>| The details say that cupsd is not running, but it is on my system. > |> > |>See my recent post to freebsd-gnome@. > | > | > | I assume you mean this one: > | http://www.freebsd.org/cgi/getmsg.cgi?fetch=84710+0+current/freebsd-gnome > | in which you mention a conflict between NSS in Firefox and OpenSSL in > | Cupsd. Wouldn't that mean that Mozilla would crash too? > > No. Mozilla doesn't yet load libcups. I think mozilla-devel does, though. > > | > | Regardless, if I understood your conclusions, you suggested rebuilding > | cups-base using GnuTLS instead of OpenSSL - right? > > Yes. I've done it here, and it works perfectly in Firefox. > > | > | I'm not quite sure how to tell the port to omit OpenSSL. According to > | the config options from the cups source package, it defaults to both, > | but I don't see options within the CUPS port to do this. I'm assuming > | this is the reason you copied the cups port maintainer. > | > | In the meantime, I've added the following line to the makefile in > | /usr/ports/print/cups-base: > | CONFIGURE_ARGS+= --disable-openssl --enable-gnutls > > This is correct. > > | > | According to the output from 'make configure' it is now finding the > | gnutls libs, so I rebuilt and reinstalled cups-base. > | > | cupsd is now linking as follows: > | # ldd /usr/local/sbin/cupsd > | /usr/local/sbin/cupsd: > | libz.so.2 => /usr/lib/libz.so.2 (0x280a0000) > | libgnutls.so.12 => /usr/local/lib/libgnutls.so.12 (0x280ad000) > | libtasn1.so.2 => /usr/local/lib/libtasn1.so.2 (0x2810b000) > | libgcrypt.so.12 => /usr/local/lib/libgcrypt.so.12 (0x2811b000) > | libgpg-error.so.1 => /usr/local/lib/libgpg-error.so.1 (0x28166000) > | libcups.so.2 => /usr/local/lib/libcups.so.2 (0x2816a000) > | libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x28186000) > | libc.so.4 => /usr/lib/libc.so.4 (0x2819f000) > | libgnugetopt.so.1 => /usr/local/lib/libgnugetopt.so.1 (0x28238000) > | libintl.so.6 => /usr/local/lib/libintl.so.6 (0x2823b000) > | libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x28244000) > | > | No change in behavior. It is still linking to libgcrypt and > | /usr/lib/libcript.so.2, but I don't know if any of these are the > | problem. > > This looks okay. The bottom line is that libcups.so.2 should no longer > be linked to libcrypto and libssl. It really doesn't matter what cupsd > is linked to. Got it. There appear to be a couple problems here. I had to go and set the PRINTER variable to the correct printer. Now it seems to be printing fine. Thanks for the pointer! Lou -- Louis LeBlanc FreeBSD@keyslapper.org Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ԿԬ I object to intellect without discipline; I object to power without constructive purpose. -- Spock, "The Squire of Gothos", stardate 2124.5