emacs-devel
[Top][All Lists]
Advanced

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

Re: 23.0.50; TLS infinite loop


From: Leo
Subject: Re: 23.0.50; TLS infinite loop
Date: Tue, 25 Sep 2007 23:53:40 +0100
User-agent: Gnus/5.110007 Emacs/23.0.50 (20070922) Fedora 7 (gnu/linux)

On 2007-09-25 18:57 +0100, Richard Stallman wrote:
>     I step thru pop3-read-response and it is an infinite loop for me.
>
> Good.  Can you show the loop that fails to exit?
> Can you figure out why it does not exit?

The following part of `pop3-read-response' is infinite loop because `(not
(search-forward "\r\n" nil t))' is t all the time.

      (while (and (memq (process-status process) '(open run))
                  (not (search-forward "\r\n" nil t)))
        (pop3-accept-process-output process)
        (goto-char pop3-read-point))

The content of buffer " trace of POP session to pop.gmail.com"
================
+OK Gpop ready for requests from 131.111.223.202 w40pf679670ugc.
+OK send PASS.
+OK Welcome..
+OK 12 216024.
RENEGOTIATING
depth=0 /C=US/ST=California/L=Mountain View/O=Google Inc./CN=pop.gmail.com
verify error:num=20:unable to get local issuer certificate
verify return:1
depth=0 /C=US/ST=California/L=Mountain View/O=Google Inc./CN=pop.gmail.com
verify error:num=27:certificate not trusted
verify return:1
depth=0 /C=US/ST=California/L=Mountain View/O=Google Inc./CN=pop.gmail.com
verify error:num=21:unable to verify the first certificate
verify return:1

the content of buffer *Message*
================
Result: nil
Result: 108 (#o154, #x6c, ?l) [2 times]
Result: #<process POP>
Result: run
Result: (run)
Result: nil
Result: t [2 times]
Result: #<process POP>
Result: nil
Result: 108 (#o154, #x6c, ?l) [2 times]
Result: #<process POP>
Result: run
Result: (run)
Result: nil
Result: t [2 times]
Result: #<process POP>
Result: nil
Result: 108 (#o154, #x6c, ?l) [2 times]
Result: #<process POP>
Result: run
Result: (run)
Result: nil
Result: t [2 times]
Updating buffer list...done
Commands: m, u, t, RET, g, k, S, D, Q; q to quit; h for help
Updating buffer list...done
When done with this frame, type C-x 5 0
Stop
Quit
edebug-recursive-edit: Connection lost to X server `:0.0'
Back to top level.
When done with this frame, type C-x 5 0
gnus-group-catchup-current: No groups selected
Updating buffer list...done
Commands: m, u, t, RET, g, k, S, D, Q; q to quit; h for help
Buffer is read-only: #<buffer pop3.el> [3 times]
Reading active file from news.gmane.org via nntp...
Reading active file via nnml...
nnml: Reading incoming mail from pop...
Opening TLS connection to `pop.gmail.com'...
Opening TLS connection with `openssl s_client -connect %h:%p -no_ssl2'...done
Opening TLS connection to `pop.gmail.com'...done
Result: #<process POP>
Result: #<buffer  trace of POP session to pop.gmail.com> [2 times]
Result: 1 (#o1, #x1, ?\C-a) [2 times]
Result: #<process POP>
Result: run
Result: (run)
Result: 67 (#o103, #x43, ?C)
Result: nil [3 times]
Result: 67 (#o103, #x43, ?C) [2 times]
Result: 1 (#o1, #x1, ?\C-a) [2 times]
Result: nil
Result: t
Result: nil
Result: 67 (#o103, #x43, ?C) [2 times]
Result: t
Result: 1 (#o1, #x1, ?\C-a)
Result: 67 (#o103, #x43, ?C)
Result: "+OK Gpop ready for requests from 131.111.223.202 b39pf1335478ugf.\n" 
[6 times]
Result: #<process POP>
Result: #<buffer  trace of POP session to pop.gmail.com> [2 times]
Result: 67 (#o103, #x43, ?C) [2 times]
Result: #<process POP>
Result: run
Result: (run)
Result: 82 (#o122, #x52, ?R)
Result: nil [3 times]
Result: 82 (#o122, #x52, ?R) [2 times]
Result: 67 (#o103, #x43, ?C) [2 times]
Result: nil
Result: t
Result: nil
Result: 82 (#o122, #x52, ?R) [2 times]
Result: t
Result: 67 (#o103, #x43, ?C)
Result: 82 (#o122, #x52, ?R)
Result: "+OK send PASS.\n" [6 times]
Back to top level.
QuitError during `delete-frame': (error Invalid argument #<terminal 6> in 
`get-device-terminal')
Note: file is write protected
Please type y, n, or !: 
Mark set [2 times]
((pop :server "pop.gmail.com" :port 995 :user "address@hidden" :password "pw"))
Reading active file from news.gmane.org via nntp...
Reading active file via nnml...
nnml: Reading incoming mail from pop...
Opening TLS connection to `pop.gmail.com'...
Opening TLS connection with `openssl s_client -connect %h:%p -no_ssl2'...done
Opening TLS connection to `pop.gmail.com'...done
Result: #<process POP<1>>
Result: #<buffer  trace of POP session to pop.gmail.com> [2 times]
Result: 1 (#o1, #x1, ?\C-a) [2 times]
Result: #<process POP<1>>
Result: run
Result: (run)
Result: 66 (#o102, #x42, ?B)
Result: nil [3 times]
Result: 66 (#o102, #x42, ?B) [2 times]
Result: 1 (#o1, #x1, ?\C-a) [2 times]
Result: nil
Result: t
Result: nil
Result: 66 (#o102, #x42, ?B) [2 times]
Result: t
Result: 1 (#o1, #x1, ?\C-a)
Result: 66 (#o102, #x42, ?B)
Result: "+OK Gpop ready for requests from 131.111.223.202 w40pf679670ugc.\n" [6 
times]
Result: #<process POP<1>>
Result: #<buffer  trace of POP session to pop.gmail.com> [2 times]
Result: 66 (#o102, #x42, ?B) [2 times]
Result: #<process POP<1>>
Result: run
Result: (run)
Result: 81 (#o121, #x51, ?Q)
Result: nil [3 times]
Result: 81 (#o121, #x51, ?Q) [2 times]
Result: 66 (#o102, #x42, ?B) [2 times]
Result: nil
Result: t
Result: nil
Result: 81 (#o121, #x51, ?Q) [2 times]
Result: t
Result: 66 (#o102, #x42, ?B)
Result: 81 (#o121, #x51, ?Q)
Result: "+OK send PASS.\n" [6 times]
Result: #<process POP<1>>
Result: #<buffer  trace of POP session to pop.gmail.com> [2 times]
Result: 81 (#o121, #x51, ?Q) [2 times]
Result: #<process POP<1>>
Result: run
Result: (run)
Result: 95 (#o137, #x5f, ?_)
Result: nil [3 times]
Result: 95 (#o137, #x5f, ?_) [2 times]
Result: 81 (#o121, #x51, ?Q) [2 times]
Result: nil
Result: t
Result: nil
Result: 95 (#o137, #x5f, ?_) [2 times]
Result: t
Result: 81 (#o121, #x51, ?Q)
Result: 95 (#o137, #x5f, ?_)
Result: "+OK Welcome..\n" [6 times]
Result: #<process POP<1>>
Result: #<buffer  trace of POP session to pop.gmail.com> [2 times]
Result: 95 (#o137, #x5f, ?_) [2 times]
Result: #<process POP<1>>
Result: run
Result: (run)
Result: 110 (#o156, #x6e, ?n)
Result: nil [3 times]
Result: 110 (#o156, #x6e, ?n) [2 times]
Result: 95 (#o137, #x5f, ?_) [2 times]
Result: nil
Result: t
Result: nil
Result: 110 (#o156, #x6e, ?n) [2 times]
Result: t
Result: 95 (#o137, #x5f, ?_)
Result: 110 (#o156, #x6e, ?n)
Result: "+OK 12 216024.\n" [6 times]
Retrieving message 1 of 12 from pop.gmail.com...
Result: #<process POP<1>>
Result: #<buffer  trace of POP session to pop.gmail.com> [2 times]
Result: 110 (#o156, #x6e, ?n) [2 times]
Result: #<process POP<1>>
Result: run
Result: (run)
Result: nil
Result: t [2 times]
Result: #<process POP<1>>
Result: nil
Result: 110 (#o156, #x6e, ?n) [2 times]
Result: #<process POP<1>>
Result: run
Result: (run)
Result: nil
Result: t [2 times]
Result: #<process POP<1>>
Result: nil
Result: 110 (#o156, #x6e, ?n) [2 times]
Result: #<process POP<1>>
Result: run
Result: (run)
Result: nil
Result: t [2 times]
Result: #<process POP<1>>
Result: nil
Result: 110 (#o156, #x6e, ?n) [2 times]
Result: #<process POP<1>>
Result: run
Result: (run)
Result: nil
Result: t [2 times]
Result: #<process POP<1>>
Result: nil
Result: 110 (#o156, #x6e, ?n) [2 times]
Result: #<process POP<1>>
Result: run
Result: (run)
Result: nil
Result: t [2 times]
Result: #<process POP<1>>
Result: nil
Result: 110 (#o156, #x6e, ?n) [2 times]
Result: #<process POP<1>>
Result: run
Result: (run)
Result: nil
Result: t [2 times]
Result: #<process POP<1>>
Updating buffer list...done
Commands: m, u, t, RET, g, k, S, D, Q; q to quit; h for help
Result: nil
Type C-x 4 C-o RET to restore the other window.  
Result: 110 (#o156, #x6e, ?n) [2 times]
Result: #<process POP<1>>
Result: run
Result: (run)
Result: nil
Result: t [2 times]
Result: #<process POP<1>>
Result: nil
Result: 110 (#o156, #x6e, ?n) [2 times]
Result: #<process POP<1>>
Result: run
Result: (run)
Result: nil
Result: t [2 times]
Result: #<process POP<1>>
Result: nil
Result: 110 (#o156, #x6e, ?n) [2 times]
Mark set
Retrieving newsgroup: gmane.emacs.devel...
Mark set [5 times]
Auto-saving...done
Mark set [2 times]
Auto-saving...done
Updating buffer list...done
Commands: m, u, t, RET, g, k, S, D, Q; q to quit; h for help
Mark set [2 times]
Quit
Updating buffer list...done
Commands: m, u, t, RET, g, k, S, D, Q; q to quit; h for help
Quit
Type C-x 1 to remove help window.  
Auto-saving...done
Quit
Type C-x 1 to remove help window.  
" trace of POP session to pop.gmail.com"
1 line copied
Mark set
Auto-saving...done
Quit
================================

HTH,
-- 
.:  Leo  :.  [ sdl.web AT gmail.com ]  .:  [ GPG Key: 9283AA3F ]  :.

       Use the most powerful email client -- http://gnus.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]