From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/59493 Path: main.gmane.org!not-for-mail From: Steinar Bang Newsgroups: gmane.emacs.gnus.general Subject: XEmacs hangs in rfc2047-encode-string (Was: XEmacs, Gnus and mm-coding-system priorities.) Date: Fri, 31 Dec 2004 10:01:40 +0100 Organization: Probably a good idea Message-ID: <87is6ilu2z.fsf_-_@dod.no> References: <16816.39575.977351.530618.dm0@vm.parhasard.net> <16820.62708.663703.64580.z25zdq@parhasard.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1104483966 13924 80.91.229.6 (31 Dec 2004 09:06:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 31 Dec 2004 09:06:06 +0000 (UTC) Original-X-From: ding-owner+M8033@lists.math.uh.edu Fri Dec 31 10:05:58 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CkIjO-0001e3-00 for ; Fri, 31 Dec 2004 10:05:58 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1CkIfa-0004ev-00; Fri, 31 Dec 2004 03:02:02 -0600 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1CkIfR-0004ep-00 for ding@lists.math.uh.edu; Fri, 31 Dec 2004 03:01:53 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1CkIfL-0005r4-DT for ding@lists.math.uh.edu; Fri, 31 Dec 2004 03:01:47 -0600 Original-Received: from main.gmane.org ([80.91.224.249]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1CkIfJ-0005mu-00 for ; Fri, 31 Dec 2004 10:01:45 +0100 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CkIfJ-00026o-00 for ; Fri, 31 Dec 2004 10:01:45 +0100 Original-Received: from cm-84.118.190.174.chello.no ([84.118.190.174]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 31 Dec 2004 10:01:45 +0100 Original-Received: from sb by cm-84.118.190.174.chello.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 31 Dec 2004 10:01:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-To: ding@gnus.org Original-Lines: 151 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.118.190.174.chello.no Mail-Copies-To: never User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:MAljS4N3PFMZZHre1CMxFoYCzPk= Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: main.gmane.org gmane.emacs.gnus.general:59493 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:59493 >>>>> Katsumi Yamaoka : > P.S. > I found another problem, although it is not related to this > subject. The following form causes an error in XEmacs, but > Emacs works. > (rfc2047-encode-string (string > (make-char 'latin-iso8859-1 95) > (make-char 'japanese-jisx0208 38 66))) > The occasion using mixture text of Latin and Japanese is few, > though. After "apt-get dist-upgrade" upgraded XEmacs on my debian system yesterday, Gnus in XEmacs started hanging when fetching headers. XEmacs is completely dead, and doesn't respond to `C-g'.=20=20 When I kill the XEmacs process, I get a backtrace in the terminal window I started XEmacs from.=20 All backtraces has shown it being stuck in rfc2047-parse-and-decode, but the actual headers being processed have been different, so I think it's just using a lot of time, rather than being completely stuck. When this happened after the upgrade yesterday, it happened on ISO-8859-1 decoded headers. I did a CVS update, and byte compile on gnus, and that seemed to fix it. But today it happened again. One difference since yesterday, is that I have removed mule-ucs, since it is incompatible with the nXML XML mode. The debian package version number is xemacs21 21.4.16-1 The backtrace from killing a stuck XEmacs process follows: Lisp backtrace follows: string-match("=3D\\?\\([^][- ()<>@,;:*\\\"/?.=3D]+\\)\\(?:\\*[^?]+\\)?\\?= \\(B\\|Q\\)\\?\\([!->@-~ ]*\\)\\?=3D" "=3D?windows-1251?B?0ODn8ODh7vLq8yDw5= err4Ozt+/Ug6CBQUiDq7u325e/26OkgLy8g4e7p?=3D") # bind (word) rfc2047-parse-and-decode("=3D?windows-1251?B?0ODn8ODh7vLq8yDw5err4Ozt+/Ug= 6CBQUiDq7u325e/26OkgLy8g4e7p?=3D") # (unwind-protect ...) # (unwind-protect ...) # bind (case-fold-search b e start end) # (unwind-protect ...) # (unwind-protect ...) # bind (temp-buffer m string) mail-decode-encoded-word-string("=3D?windows-1251?B?0ODn8ODh7vLq8yDw5err4= Ozt+/Ug6CBQUiDq7u325e/26OkgLy8g4e7p?=3D =3D?windows-1251?B?6ugg6CDi7vDu4uDy= +yDoIPfg8fLuIPP17uTo6+gg8yDs5e3/IOjnIOPr?=3D =3D?windows-1251?B?4Ocg4iA=3D?= =3D") byte-code("..." [x gnus-decode-encoded-word-function string eol search-fo= rward " " move mm-subst-char-in-string ?\r ?- ?\n t] 8) # (condition-case ... . ((error x))) # bind (x) # (unwind-protect ...) # bind (eol buffer header references in-reply-to number dependencies forc= e-new) byte-code("..." [id number eol id-dep references header read point-at-eol= nil ((widen)) (byte-code " `=C4=C5 =C6#=AB=A4`S=AA=A1 {=A9!?=C7=C8=C9=C7=CA=C9\n=CB$=CB$)=A7" [x gnus-decode-encoded-wo= rd-function string eol search-forward " " move mm-subst-char-in-string ?\r= ?- ?\n t] 8) ((error x)) (byte-code " `=C4=C5 = =C6#=AB=A4`S=AA=A1 = {=A9!?=C7=C8=C9=C7=CA=C9\n=CB$=CB$)=A7" [x gnus-decode-encoded-word= -function string eol search-forward " " move mm-subst-char-in-string ?\r ?-= ?\n t] 8) ((error x)) search-forward " " move string-match "^<[^>]+>$" = format "fake+none+%s+%d" "fake+none+%s+%s" int-to-string ?\t 0 (byte-code "= =C0p!=A7" [read] 2) ((error)) 1 (byte-code "=C0p!=A7" [read] 2) ((error)) l= ooking-at "Xref: " (?\n nil) "^\\([^ :]+\\): " intern match-string vector "= " 9 In-Reply-To 5 gnus-extract-message-id-from-in-reply-to 4 boundp t nnmai= l-message-id 8 zerop gnus-split-references "\\(<[^<]+>\\)[ ]*\\'" intern-s= oft "none" ids sequence ref-dep dependencies ref n force-new in-reply-to st= ring num out parent-id allp ref-header replaced gnus-newsgroup-name nnheade= r-fake-message-id extra xref lines chars date from subject gnus-alter-heade= r-function headers cur buffer x gnus-summary-ignore-duplicates] 16) # (condition-case ... . ((error (byte-code "=C0=C1=C2=C3e`\"#=A8=C4y=A7" = ... 6)))) # (unwind-protect ...) # bind (mail-parse-charset mail-parse-ignored-charsets cur dependencies a= llp number headers header also-fetch-heads group dependencies force-new seq= uence) gnus-get-newsgroup-headers-xover((4772 4857 4862 4864 5430 5434 5436 5438= 5443 5445 5460 5461 5473 5475 5480 5482 5494 5507 5508 5516 5517 5524 5529= 5530 5531 5532 5534 5548 5549 5550 5555 5564 5795 5798 5800 5801 5809 6309= 6310 6371 6382 6383 6923 6925 6934 6937 6943 6979 6984 6985 6986 6990 7004= 7007 7009 7012 7015 7020 7022 7023 7085 7108 7110 7112 7130 7131 7133 7134= 7135 7140 7173 7174 7175 7178 7179 7180 7182 7185 7192 7193 7213 7214 7220= 7331 7691 7736 7750 7756 7759 7762 7763 7774 7787 7796 7800 7805 7816 7843= 7844 7846 7872 7897 7900 7906 7917 7919 7927 7940 7957 7991 7992 8001 8018= 8020 8029 8051 8057 8063 8065 8082 8083 8085 8092 8093 8094 8105 8109 8111= 8112 8115 8116 8144 8146 8147 8148 8161 8193 8239 8259 8260 8292 8332 8362= 8365 8366 8367 8368 8369 8373 8390 8404 8409 8417 8422 8426 8429 8432 8436= 8440 8451 8458 8459 8463 8474 8479 8480 8487 8490 8491 8495 8500 8505 8514= 8526 8531 8536 8597 8599 8600 8601 8608 8617 8628 8638 8643 8644 8662 8665= 8705 8732 8733 8742 8749 8758 8771 8772 8773 8786 8792 8794 8795 8796 8798= 8800 8802 8814 8816 8817 8821 8822 8824 8825 8829 8833 8844 8849 8870 8871= 8874 8876 8877 8909 8910 8912 8916 8918 8923 8927 8931 8935 8936 8945 8953= 8955 8976 8978 8981 8986 9002 9012 9019 9028 9029 9032 9038 9046 9049 9069= 9070 9072 9074 9076 9079 9099 9105 9124 9135 9150 9164 9238 9333 9360 9361= 9551 9560 9588 9593 9621 9625 9645 9646 10038 10076 10078 10092 10132 1017= 0 10176 10219 10228 10237 10244 10247 10273 10941 10947 10960 10975 10985 1= 0995 10996 11001 11002 11003 11004 11012 11017 11018 11023 11024 11026 1102= 7 11029 11030 11042 11053 11056 11058 11059 11061 11062 11066 11068 11069 1= 1070 11071 11072 11076 11082 11085 11089 11090 11101 11206 11207 11208 1121= 9 11228 11229 11243 11247 11248 11259 11269 11269 11290 11292 11294 11295 1= 1296 11297 11325 11330 11331 11334 11335 11336 11337 11338 11339 11340 1134= 1 11342 11343 11344 11345 11346 11347 11348 11349 11350 11351 11352 11353 1= 1354 11355 11356 11357 11358 11359 11360 11361 11362 11363 11364 11365 1136= 6 11367 11368 11369 11370 11371 11372 11373 11374 11375 11376 11377 11378 1= 1379 11380 11381 11382 11383 11384 11385 11386 11387 11388 11389 11390 1139= 1 11392 11393 11394 11395 11396 11397 11398 11399 11400 11401 11402 11403 1= 1404 11405 11406 11407 11408 11409 11410 11411 11412 11413 11414 11415 1141= 6 11417 11418 11419 11420 11421 11422 11423 11424 11425 11426 11427 11428 1= 1429 11430 11431 11432 11433 11434 11435 11436 11437 11438 11439 11440 1144= 1 11442 11443 11444 11445 11446 11447 11448 11449 11450 11451 11452 11453 1= 1454 11455 11456 11457 11458 11459 11460 11461 11462 11463 11464 11465 1146= 6 11467 11468 11469 11470 11471 11472 11473 11474 11475) nil nil "nntp+news= .gmane.org:gmane.linux.acpi.devel") # bind (marked-articles gnus-command-method gnus-newsgroup-name gnus-news= group-dependencies gnus-newsgroup-headers gnus-newsgroup-scored gnus-use-ca= che gnus-summary-expunge-below gnus-summary-mark-below gnus-orphan-score gn= us-headers gnus-score articles arts category predicate info marks score-par= am method group) gnus-agent-fetch-group-1("nntp+news.gmane.org:gmane.linux.acpi.devel" (nn= tp "news.gmane.org")) # (condition-case ... . ((error (byte-code " =C2=C3!\"!=AC=A4=C5=C6!=A8= =C2=A7" ... 5)) (quit (byte-code "=C3\n!=A8 =C4=C5!\"!=AC=A5=C7=C8=C9\"=A8= =C3=A7" ... 5)))) # bind (gnus-agent-fetching) # (unwind-protect ...) # (unwind-protect ...) # bind (methods groups group gnus-command-method) #() call-interactively(gnus-agent-fetch-session) # (condition-case ... . error) # (catch top-level ...)