GNU bug report logs -
#19798
24.4; eww-mode error in process sentinel 'Invalid date' when receiving a valid date
Previous Next
Reported by: Matthew Carter <m <at> ahungry.com>
Date: Sat, 7 Feb 2015 08:15:02 UTC
Severity: normal
Found in version 24.4
Done: Paul Eggert <eggert <at> cs.ucla.edu>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 19798 in the body.
You can then email your comments to 19798 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#19798
; Package
emacs
.
(Sat, 07 Feb 2015 08:15:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Matthew Carter <m <at> ahungry.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sat, 07 Feb 2015 08:15:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
When running eww-mode and visiting a site using a cookie expiration date
set to "Mon, 06 Mar 2130 20:55:03 GMT" eww-mode will fail to load
subsequent URLs on the domain (in this case http://ahungry.com) and
instead simply print the following message in the echo area:
error in process sentinel: Invalid date: Mon, 06 Mar 2130 20:55:03 GMT
According to Wikipedia and other sources I can find online regarding the
HTTP cookie expires field, this date format is valid
(https://en.wikipedia.org/wiki/HTTP_cookie) and should not be causing
an error in the process sentinel (and even if some site sent an invalid
date, I don't think it should halt further site interaction, but either
ignore the invalid date, or ignore the cookie).
Steps to reproduce under emacs -Q:
eww
ahungry.com
RET
TAB
TAB
RET
You'll then see the error pop up (instead of visiting the Blog link on
the site).
--
Matthew Carter (m <at> ahungry.com)
http://ahungry.com
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#19798
; Package
emacs
.
(Sat, 07 Feb 2015 08:18:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 19798 <at> debbugs.gnu.org (full text, mbox):
> From: Matthew Carter <m <at> ahungry.com>
> Date: Fri, 06 Feb 2015 23:49:18 -0500
>
> When running eww-mode and visiting a site using a cookie expiration date
> set to "Mon, 06 Mar 2130 20:55:03 GMT" eww-mode will fail to load
> subsequent URLs on the domain (in this case http://ahungry.com) and
> instead simply print the following message in the echo area:
>
> error in process sentinel: Invalid date: Mon, 06 Mar 2130 20:55:03 GMT
Is your Emacs a 32-bit executable?
More generally, please use "M-x report-emacs-bug RET" to report all
the details about your Emacs and the underlying OS features.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#19798
; Package
emacs
.
(Sat, 07 Feb 2015 19:09:03 GMT)
Full text and
rfc822 format available.
Message #11 received at 19798 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
It is and I did, but the emacs with the issue is not configured for gnus/mail yet so I was reporting from my 64bit emacs instead . After seeing it includes by default a lot of personal information such as the last few things I typed and my home paths I just deleted the info it auto added as it was not relevant to the bug.
It seems to be a year 2038 bug in the encode - time function, but eww should gracefully handle vs just failing when it happens.
<div>-------- Original message --------</div><div>From: Eli Zaretskii <eliz <at> gnu.org> </div><div>Date:02/07/2015 3:17 AM (GMT-05:00) </div><div>To: Matthew Carter <m <at> ahungry.com> </div><div>Cc: 19798 <at> debbugs.gnu.org </div><div>Subject: Re: bug#19798: 24.4; eww-mode error in process sentinel 'Invalid date' when receiving a valid date </div><div>
</div>> From: Matthew Carter <m <at> ahungry.com>
> Date: Fri, 06 Feb 2015 23:49:18 -0500
>
> When running eww-mode and visiting a site using a cookie expiration date
> set to "Mon, 06 Mar 2130 20:55:03 GMT" eww-mode will fail to load
> subsequent URLs on the domain (in this case http://ahungry.com) and
> instead simply print the following message in the echo area:
>
> error in process sentinel: Invalid date: Mon, 06 Mar 2130 20:55:03 GMT
Is your Emacs a 32-bit executable?
More generally, please use "M-x report-emacs-bug RET" to report all
the details about your Emacs and the underlying OS features.
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#19798
; Package
emacs
.
(Sun, 08 Feb 2015 19:31:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 19798 <at> debbugs.gnu.org (full text, mbox):
Can you get a Lisp backtrace as of when the error occurs?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#19798
; Package
emacs
.
(Sun, 08 Feb 2015 20:30:04 GMT)
Full text and
rfc822 format available.
Message #17 received at 19798 <at> debbugs.gnu.org (full text, mbox):
Paul Eggert <eggert <at> cs.ucla.edu> writes:
> Can you get a Lisp backtrace as of when the error occurs?
>
>
>
The *Backtrace* buffer remains empty, but this is what gets printed to
*Messages* when you do the following:
1) M-x eww
2) ahungry.com
3) TAB TAB (you'll now be on Blog link)
4) RET
5) Failure to load next page
*Messages* buffer content:
Contacting host: ahungry.com:80
http://ahungry.com/
http://ahungry.com/blog
Contacting host: ahungry.com:80
byte-code: Invalid date: Wed, 08 Mar 2130 12:48:28 GMT
Back to top level.
Contacting host: ahungry.com:80
error in process sentinel: byte-code: Invalid date: Wed, 08 Mar 2130 12:48:28 GMT
error in process sentinel: Invalid date: Wed, 08 Mar 2130 12:48:28 GMT
--
Matthew Carter (m <at> ahungry.com)
http://ahungry.com
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#19798
; Package
emacs
.
(Mon, 09 Feb 2015 02:46:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 19798 <at> debbugs.gnu.org (full text, mbox):
I reproduced this bug on Fedora 21 i686. I looked at the current master and
fixed some relevant issues, in commit fd6f7d1449c8496ab5c019d2aad7ca5e2980713a
dated today. I then attempted to reproduce the bug but failed, so it appears
that the bug is fixed now in the current master (either by the recent fixes, or
by earlier fixes in the master). Please give it a try.
Reply sent
to
Paul Eggert <eggert <at> cs.ucla.edu>
:
You have taken responsibility.
(Mon, 09 Feb 2015 06:30:03 GMT)
Full text and
rfc822 format available.
Notification sent
to
Matthew Carter <m <at> ahungry.com>
:
bug acknowledged by developer.
(Mon, 09 Feb 2015 06:30:07 GMT)
Full text and
rfc822 format available.
Message #25 received at 19798-done <at> debbugs.gnu.org (full text, mbox):
Matthew Carter wrote:
> The issue is fixed, no more failure to load subsequent pages when an
> overflowed cookie date is encountered.
Thanks for checking, and so I'm closing Bug#19798 too.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 09 Mar 2015 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 10 years and 108 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.