From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/42643 Path: main.gmane.org!not-for-mail From: Rupa Schomaker Newsgroups: gmane.emacs.gnus.general Subject: Bug#131098: w3-el-e21: 100% cpu and no progress (using GNUS/nnslashdot) Date: Sat, 26 Jan 2002 21:09:06 -0800 Sender: owner-ding@hpc.uh.edu Message-ID: Reply-To: Rupa Schomaker , 131098@bugs.debian.org NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1035177858 12948 80.91.224.250 (21 Oct 2002 05:24:18 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 05:24:18 +0000 (UTC) Return-Path: Original-Received: (qmail 25458 invoked from network); 27 Jan 2002 06:47:52 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 27 Jan 2002 06:47:52 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 16Uj5l-0000jw-00; Sun, 27 Jan 2002 00:47:05 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 27 Jan 2002 00:47:00 -0600 (CST) Original-Received: from epithumia.math.uh.edu (epithumia.math.uh.edu [129.7.128.2]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id AAA00912 for ; Sun, 27 Jan 2002 00:46:53 -0600 (CST) Original-Received: (from tibbs@localhost) by epithumia.math.uh.edu (8.11.2/8.11.1) id g0R6krx08695 for ding@hpc.uh.edu; Sun, 27 Jan 2002 00:46:53 -0600 Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id XAA00662 for ; Sat, 26 Jan 2002 23:38:07 -0600 (CST) Original-Received: (qmail 24695 invoked by alias); 27 Jan 2002 05:38:07 -0000 Original-Received: (qmail 24690 invoked from network); 27 Jan 2002 05:38:07 -0000 Original-Received: from master.debian.org (mail@216.234.231.5) by gnus.org with SMTP; 27 Jan 2002 05:38:07 -0000 Original-Received: from debbugs by master.debian.org with local (Exim 3.12 1 (Debian)) id 16Uhha-0006rf-00; Sat, 26 Jan 2002 23:18:02 -0600 X-Loop: owner@bugs.debian.org Original-Sender: rupa@rupa.com X-Debian-PR-Message: report 131098 X-Debian-PR-Package: w3-el-e21 X-Debian-PR-Keywords: Original-Received: via spool by submit@bugs.debian.org id=B.101210816925615 (code B ref -1); Sun, 27 Jan 2002 05:18:01 GMT Original-To: Debian Bug Tracking System Original-Lines: 128 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.1 (i386-debian-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:42643 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:42643 Package: w3-el-e21 Version: 4.0pre.2001.10.27-6 Severity: normal I haven't yet been able to narrow this down 100%, but these are the symptoms. 1) Using current CVS gnus 2) Using nnslashdot and refreshing the group list 3) Using debian's emacs21, w3-el-e21, etc No progress seems to be getting made and the CPU is at 100%. A backtrace at the time: Debugger entered--Lisp error: (quit) url-retrieve-synchronously("http://slashdot.org/slashdot.xml") url-insert-file-contents("http://slashdot.org/slashdot.xml") mm-url-insert-file-contents("http://slashdot.org/slashdot.xml") mm-url-insert("http://slashdot.org/slashdot.xml" t) byte-code("=C6=18=C7=C8=C9!!=19=CA=8Er q=88=CB\n=CC\"=88eb=88m=83=1E=00= =CD=CE!=88=CF=D0=C6=CC#=83=87=00`=CF=D1!}=88eb=88=D2=D3!=88=D4=D5=D6!!=13= =D2=D7!=88=D5=D6!=14=D8=D9\f\"=88=D5=D6\f\"=14=D2=DA!=88=DB=D5=D6!!=15=0B= =DC\f=DDR=16'=DE=0E'=0E(\"=89=16)=83q=00=0E)A=0D=A0=88=82=00=0E'=0D\f=DF = =C6=AF=05=0E(B=16(db=88~=88=82=1E=00,=0E*=0E+Z=E0V=83\f=01=C6=18=C7=C8=C9!!= =1E,=E1=8Er=0E,q=88=CC=1E-=CB=E2=0E.=0E+\"=CC\"=88eb=88=D2=E3=C6=CC#=83=02= =01=D5=D6!=14=D4=D5=E4!!=13=D6y=88=D2=E5=C6=CC#=83=D5=00=DB=D5=D6!!=15=0B= =DC\f=DDR=16'=DE=0E'=0E(\"=89=16)=83=F1=00=0E)A=0D=A0=88=82=B2=00=0E'=0D\f= =DF =C6=AF=05=0E(B=16(=82=B2=00-=0E+=E6\\=16+=82=88=00=C6=87" [default-enab= le-multibyte-characters temp-buffer nnslashdot-backslash-url description si= d articles nil get-buffer-create generate-new-buffer-name " *temp*" ((byte-= code "=C1!=83\n=00=C2!=88=C1=87" [temp-buffer buffer-name kill-buffer] 2)= ) mm-url-insert t error "Couldn't open connection to slashdot" search-forwa= rd "" "" re-search-forward "\\([^<]+\\)" mm-u= rl-decode-entities-string match-string 1 "\\([^<]+\\)" string-ma= tch "sid=3D\\([0-9/]+\\)\\(.shtml\\|$\\)" "\\([^<]+\\)= " string-to-number " (" ")" assoc current-time 0 ((byte-code "=C1!=83\n=00= =C2!=88=C1=87" [temp-buffer buffer-name kill-buffer] 2)) format "article.p= l\\?sid=3D\\([^&]+\\).*\\([^<]+\\)" 2 "\\([0-9]+\\)" 30 gname= nnslashdot-groups elem nnslashdot-group-number number temp-buffer case-fol= d-search nnslashdot-active-url] 5) nnslashdot-request-list("slashdot") gnus-request-list((nnslashdot "slashdot")) gnus-read-active-file-1((nnslashdot "slashdot") nil) gnus-read-active-file() gnus-group-get-new-news(nil) call-interactively(gnus-group-get-new-news) recursive-edit() byte-code("=C6!=88=C7 =88=C8 !=88\n=83?=00=C9ed\"=0BV=834=00eb=88=CA=0B= =A5y=88`=1Cdb=88=CA=0B=A5=0BZy=88\f`|=88)=CBc=88eb=88=CC=CD !=88=CE =88 @= =CF=3D=83K=00=D0=D1=D2\"=88=D3 =88=CC=D4!=88=D2=D5=D2=1D=1E=17=1E=18=CC=D4!= =88=8A=D6 =88,=D5=87" [debugger-buffer debugger-args noninteractive debugge= r-batch-max-lines middlestart buffer-read-only pop-to-buffer debugger-mode = debugger-setup-buffer count-lines 2 "...\n" message buffer-string kill-emac= s debug backtrace-debug 3 t debugger-reenable "" nil recursive-edit standar= d-output inhibit-trace] 3) debug(error (quit)) url-retrieve-synchronously("http://slashdot.org/comments.pl?sid=3D02/01/2= 5/212229&threshold=3D1&commentsort=3D0&mode=3Dflat&startat=3D0") url-insert-file-contents("http://slashdot.org/comments.pl?sid=3D02/01/25/= 212229&threshold=3D1&commentsort=3D0&mode=3Dflat&startat=3D0") mm-url-insert-file-contents("http://slashdot.org/comments.pl?sid=3D02/01/= 25/212229&threshold=3D1&commentsort=3D0&mode=3Dflat&startat=3D0") mm-url-insert("http://slashdot.org/comments.pl?sid=3D02/01/25/212229&thre= shold=3D1&commentsort=3D0&mode=3Dflat&startat=3D0" t) nnslashdot-retrieve-headers-1((1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 = 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 = 43 44 45 46 47 48 49 50 ...) "Coming Soon: Ultra Wide Band (02/01/25/212229= )") byte-code("?=85 =00=C3 \n\"=87" [gnus-nov-is-evil articles group nnslash= dot-retrieve-headers-1] 3) nnslashdot-retrieve-headers((1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18= 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43= 44 45 46 47 48 49 50 ...) "Coming Soon: Ultra Wide Band (02/01/25/212229)"= "slashdot" nil) gnus-retrieve-headers((1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20= 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45= 46 47 48 49 50 ...) "nnslashdot:Coming Soon: Ultra Wide Band (02/01/25/212= 229)" nil) gnus-cache-retrieve-headers((1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18= 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43= 44 45 46 47 48 49 50 ...) "nnslashdot:Coming Soon: Ultra Wide Band (02/01/= 25/212229)" nil) gnus-retrieve-headers((1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20= 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45= 46 47 48 49 50 ...) "nnslashdot:Coming Soon: Ultra Wide Band (02/01/25/212= 229)" nil) gnus-fetch-headers((1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21= 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46= 47 48 49 50 ...)) gnus-select-newsgroup("nnslashdot:Coming Soon: Ultra Wide Band (02/01/25/= 212229)" nil nil) gnus-summary-read-group-1("nnslashdot:Coming Soon: Ultra Wide Band (02/01= /25/212229)" nil nil nil nil nil) gnus-summary-read-group("nnslashdot:Coming Soon: Ultra Wide Band (02/01/2= 5/212229)" nil nil nil nil nil nil) gnus-group-read-group(nil nil nil) gnus-topic-read-group(nil) call-interactively(gnus-topic-read-group) Piece of strace at the time: rt_sigaction(SIGPIPE, {0x814e35c, [], SA_RESTART|0x4000000}, {0x80b3d68, []= , SA_ RESTART|0x4000000}, 8) =3D 0 write(12, "GET /slashdot.xml HTTP/1.1\r\nMIME"..., 693) =3D 693 rt_sigaction(SIGPIPE, {0x80b3d68, [], SA_RESTART|0x4000000}, {0x814e35c, []= , SA_ RESTART|0x4000000}, 8) =3D 0 write(5, "\27\0\2\0\1\0\0\0", 8) =3D 8 read(5, 0xbfffc13c, 32) =3D -1 EAGAIN (Resource temporarily= unavai lable) select(6, [5], NULL, NULL, NULL) =3D 1 (in [5]) --- SIGIO (I/O possible) --- sigreturn() =3D ? (mask now []) read(5, "\1\0\265`\0\0\0\0,\0\0\0\1\0\0\0\0\0\0\0\2\0\0\0\331\31"..., 32) = =3D 32 getpid() =3D 14752 kill(14752, SIGIO) =3D 0 --- SIGIO (I/O possible) --- ioctl(5, 0x541b, [0]) =3D 0 ioctl(4, 0x541b, [0]) =3D 0 sigreturn() =3D ? (mask now []) file descriptor 5 is for X. 12 is the socket for slashdot. This is from the output of: strace -p 2>&1 | grep -v '^gettimeofday' if I don't exclude the gettimeofday call, the screen is filled with them. That appears to be the only syscall made and it looks like a tight loop. The other data appears to only be housekeeping for emacs. Let me know if there is additional info that might be of use. =20=20 -- System Information Debian Release: 3.0 Kernel Version: Linux shakti 2.4.9-xfs-lvm #1 Sun Nov 25 12:51:22 PST 2001 = i686 unknown Versions of the packages w3-el-e21 depends on: ii emacs21 21.1-7 The GNU Emacs editor. ii w3-url-e21 2001.11.08-2 URL library for use by w3-el-e21 --- Begin /etc/emacs21/site-start.d/50w3.el (modified conffile) ;;; Emacs-w3 configuration options (setq load-path (nconc load-path (list (concat "/usr/share/" (symbol-name debian-emacs-fl= avor) "/site-lisp/w3-el")))) (autoload 'w3-preview-this-buffer "w3" "WWW Previewer" t) (autoload 'w3-follow-url-at-point "w3" "Find document at pt" t) (autoload 'w3 "w3" "WWW Browser" t) (autoload 'w3-open-local "w3" "Open local file for WWW browsing" t) (autoload 'w3-fetch "w3" "Open remote file for WWW browsing" t) (autoload 'w3-use-hotlist "w3" "Use shortcuts to view WWW docs" t) (autoload 'w3-show-hotlist "w3" "Use shortcuts to view WWW docs" t) (autoload 'w3-follow-link "w3" "Follow a hypertext link." t) (autoload 'w3-batch-fetch "w3" "Batch retrieval of URLs" t) (autoload 'url-get-url-at-point "url" "Find the url under the cursor" nil) (autoload 'url-file-attributes "url" "File attributes of a URL" nil) (autoload 'url-popup-info "url" "Get info on a URL" t) (autoload 'url-retrieve "url" "Retrieve a URL" nil) (autoload 'url-buffer-visiting "url" "Find buffer visiting a URL." nil) (autoload 'gopher-dispatch-object "gopher" "Fetch gopher dir" t) ;;; End of Emacs-w3 configuration options ;;; The Emacs w3 defaults are to use ssleay. Debian now uses openssl. ;;; Thanks to andreas for reporting this fix. (setq ssl-program-name (expand-file-name (concat "/usr/share/" (symbol-name debian-emacs-flavor) "/site-lisp/w3-el/w3ssl")) ssl-program-arguments '("s_client" "-quiet" "-connect" (concat host ":" service) "-verify" (int-to-string ssl-certificate-verificat= ion-policy) "-CApath" (expand-file-name ssl-certificate-direct= ory)) ssl-view-certificate-program-name ssl-program-name ssl-view-certificate-program-arguments '("x509" "-text" "-inform" "DER")) --- End /etc/emacs21/site-start.d/50w3.el --=20 -rupa