From owner-freebsd-gnome@FreeBSD.ORG Mon Nov 29 01:22:54 2004 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0318F16A4CF for ; Mon, 29 Nov 2004 01:22:54 +0000 (GMT) Received: from gw.catspoiler.org (217-ip-163.nccn.net [209.79.217.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5FD7343D3F for ; Mon, 29 Nov 2004 01:22:53 +0000 (GMT) (envelope-from truckman@FreeBSD.org) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.13.1/8.13.1) with ESMTP id iAT1MYUR008915; Sun, 28 Nov 2004 17:22:46 -0800 (PST) (envelope-from truckman@FreeBSD.org) Message-Id: <200411290122.iAT1MYUR008915@gw.catspoiler.org> Date: Sun, 28 Nov 2004 17:22:34 -0800 (PST) From: Don Lewis To: marcus@marcuscom.com In-Reply-To: <1101610796.49672.9.camel@shumai.marcuscom.com> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT cc: gnome@FreeBSD.org cc: benlutz@datacomm.ch cc: shinjii@virusinfo.rdksupportinc.com Subject: Re: Mozilla crash on Print X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Nov 2004 01:22:54 -0000 On 27 Nov, Joe Marcus Clarke wrote: > On Sat, 2004-11-27 at 15:47 -0800, Don Lewis wrote: >> On 27 Nov, Joe Marcus Clarke wrote: >> > On Sat, 2004-11-27 at 13:40 -0800, Don Lewis wrote: >> >> >> I just got a crash with this Firefox 1.0_3,1 running on 4.10-STABLE. I >> >> am using CUPS. Here's the stack trace: >> >> >> > >> > I'm not sure what more I can do. The crash ends up in CUPS, then in >> > OpenSSL. I have yet to see a stack trace with those components built >> > with debugging symbols. It looks like a CUPS problem to me, but I don't >> > use CUPS, so I don't really have any other ideas except to uninstall it. >> >> I rebuilt the libraries with debugging symbols, but at the moment, I >> can't reproduce the crash. Pointing gdb at the old core file, I get: > > I'm thinking either the stack is corrupt, or you have a different > version of CUPS. I'm looking at the source for 1.2.22, and this trace > doesn't fit. New core dump. The trigger appears to be printing secure web pages (https urls). #0 0x2895f360 in kill () from /usr/lib/libc_r.so.4 No symbol table info available. #1 0x28956770 in raise () from /usr/lib/libc_r.so.4 No symbol table info available. #2 0x8057c6d in nsProfileLock::FatalSignalHandler () No symbol table info available. #3 0x28971d60 in _thread_sig_handler () from /usr/lib/libc_r.so.4 No symbol table info available. #4 0x28971bc3 in _thread_sig_handler () from /usr/lib/libc_r.so.4 No symbol table info available. #5 0xbfbfffac in ?? () No symbol table info available. #6 0x29d6461d in final (ctx=0xbfbfbf30, md=0xbfbfbf40 "") at /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/evp/m_sha1.c:73 ctx = (EVP_MD_CTX *) 0x0 md = (unsigned char *) 0x9c71
#7 0x29d649dc in EVP_DigestFinal_ex (ctx=0xbfbfbf30, md=0xbfbfbf40 "", size=0x0) at /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/evp/digest.c:231 ctx = (EVP_MD_CTX *) 0xbfbfbf40 md = (unsigned char *) 0x9c71
ret = 155430044 #8 0x29d54625 in ssleay_rand_add (buf=0xbfbfc004, num=1024, add=1024) at /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/rand/md_rand.c:276 i = 0 j = 20 k = -1077952508 st_idx = 0 md_c = {0, 0} local_md = '\000' m = {digest = 0x29db35e0, engine = 0x0, flags = 0, md_data = 0x943ac80} do_not_lock = 0 #9 0x29d54757 in ssleay_rand_seed (buf=0xbfbfc004, num=1024) at /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/rand/md_rand.c:318 buf = (void *) 0x9c71 num = 0 #10 0x29d541e9 in RAND_seed (buf=0xbfbfc004, num=1024) at /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/rand/rand_lib.c:144 buf = (void *) 0x0 num = 0 meth = (RAND_METHOD *) 0x9c71 #11 0x29c763d9 in httpInitialize () at http.c:254 curtime = {tv_sec = 1101691035, tv_usec = 853794} i = 1024 data = "²\003\200¹þ_¬u\n{\230ñÖWD-bó°)®OÜåºkÈa\206Gt\235\022ãà\231^?\fUj[øÑ67¤\rÂÓ\020\t\016/<Å\032K(Aæ'Ô}rÃ@y¾\037l5Ê;X±\226\027\004í\"³pén\017\234¥z+\210!F\a4]Ò£ Y\036ÿÌ\025*\e¸\221ö÷dÍ\202\223ÐÉÎïü\205Ú\013è\001¦ç\224=2\203\0009~ß,õ\212û\030qV×Ä­âs0©.Ï\\e:ëHá\006Çô\035\222c`\031Þ¿\214ÕêÛxQ¶·$\215BS\220\211\216¯¼E\232˨Áf§TýòCÀù>\237ìµ"... action = {__sigaction_u = {__sa_handler = 0x1, __sa_sigaction = 0x1}, sa_flags = 0, sa_mask = {__bits = {0, 0, 0, 0}}} #12 0x29c76553 in httpConnectEncrypt (host=0x29c89900 "localhost", port=631, encrypt=HTTP_ENCRYPT_IF_REQUESTED) at http.c:366 encrypt = HTTP_ENCRYPT_IF_REQUESTED i = 685317376 http = (http_t *) 0xbfbfc4ec hostaddr = (struct hostent *) 0x29c73b20 #13 0x29c73bf1 in cupsGetDests (dests=0xbfbfc4ec) at dest.c:221 dests = (cups_dest_t **) 0xbfbfc4ec num_dests = -1077951252 http = (http_t *) 0x29c73b20 #14 0x28e18bf6 in GlobalPrinters::InitializeGlobalPrinters () from /usr/X11R6/lib/firefox/components/libgfx_gtk.so No symbol table info available. #15 0x28e19367 in GlobalPrinters::GetDefaultPrinterName () from /usr/X11R6/lib/firefox/components/libgfx_gtk.so No symbol table info available. #16 0x28e16f59 in nsPrinterEnumeratorGTK::GetDefaultPrinterName () from /usr/X11R6/lib/firefox/components/libgfx_gtk.so No symbol table info available. #17 0x28a70367 in nsPrintOptions::GetDefaultPrinterName () from /usr/X11R6/lib/firefox/libgkgfx.so No symbol table info available. #18 0x281a07a4 in XPTC_InvokeByIndex () from /usr/X11R6/lib/firefox/libxpcom.so No symbol table info available.