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

emacs loops in gettimeofday() while fetching header of certain mail



Hello,

I'm using 0.89 and encountered a strange header fetching problem.
I'm not even sure this is nnimap problem or GNUS problem.

This problem began when my boss forwarded me a mail with long
filename attachment and with a large "To:" address.

After this mail arrived on backend, all of my attempts to 
browse my INBOX failed resulting in high CPU usage without
doing anything. I could see what emacs is doing by using strace command on linux:

ioctl(4, FIONREAD, [0])                 = 0
sigprocmask(SIG_SETMASK, [], [IO])      = 0
gettimeofday({915439960, 947991}, {0, 0}) = 0
gettimeofday({915439960, 948708}, {0, 0}) = 0
gettimeofday({915439960, 949429}, {0, 0}) = 0
select(5, [3 4], NULL, NULL, {0, 999283}) = 0 (Timeout)
gettimeofday({915439961, 959743}, {0, 0}) = 0
gettimeofday({915439961, 961333}, {0, 0}) = 0
sigprocmask(SIG_BLOCK, [IO], [])        = 0


I was stuck so I switched to Netscape and created a new folder on
backend and moved this mail in it. Then I restarted emacs but still couldn't
browse this newly created folder in gnus.

Can anybody guess what gnus is doing in the gettimeofday() loop?
I can bail out with C-g when this error occurrs.
I just tried with 0.90 with 0.69 GNUS on NT and still failed.


Actually, I have encountered more serious problem in that
emacs gets into endless gettimeofday() loop.
I had to kill emacs several times.
But I guess this is either RedHat linux glibc problem or
generic linux or emacs problem.


Regards,
Katsumi INOUE