bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#21936: 25.1.50; Can't start eww: (args-out-of-range "" 0)


From: Michael Heerdegen
Subject: bug#21936: 25.1.50; Can't start eww: (args-out-of-range "" 0)
Date: Tue, 17 Nov 2015 08:57:53 +0100

Hello,

when I call eww with any URL, I get

  error in process sentinel: Args out of range: "", 0

This happens with emacs -Q since a few days.

Here is a backtrace:

Debugger entered--Lisp error: (args-out-of-range "" 0)
  aref("" 0)
  (eq 46 (aref (car cur) 0))
  (if (eq 46 (aref (car cur) 0)) (substring (car cur) 1) (car cur))
  (regexp-quote (if (eq 46 (aref (car cur) 0)) (substring (car cur) 1) (car 
cur)))
  (concat "^.*" (regexp-quote (if (eq 46 (aref (car cur) 0)) (substring (car 
cur) 1) (car cur))) "$")
  (string-match (concat "^.*" (regexp-quote (if (eq 46 (aref (car cur) 0)) 
(substring (car cur) 1) (car cur))) "$") host)
  (and (car cur) (string-match (concat "^.*" (regexp-quote (if (eq 46 (aref 
(car cur) 0)) (substring (car cur) 1) (car cur))) "$") host))
  (if (and (car cur) (string-match (concat "^.*" (regexp-quote (if (eq 46 (aref 
... 0)) (substring (car cur) 1) (car cur))) "$") host)) (dolist (cur cookies) 
(and (if (and (stringp (setq localpart-match (url-cookie-localpart cur))) 
(stringp localpart)) (string-match (concat "^" (regexp-quote localpart-match)) 
localpart) (equal localpart localpart-match)) (not (url-cookie-expired-p cur)) 
(setq retval (cons cur retval)))))
  (while --dolist-tail-- (setq cur (car --dolist-tail--)) (setq cookies (cdr 
cur)) (if (and (car cur) (string-match (concat "^.*" (regexp-quote (if (eq 46 
...) (substring ... 1) (car cur))) "$") host)) (dolist (cur cookies) (and (if 
(and (stringp (setq localpart-match ...)) (stringp localpart)) (string-match 
(concat "^" (regexp-quote localpart-match)) localpart) (equal localpart 
localpart-match)) (not (url-cookie-expired-p cur)) (setq retval (cons cur 
retval))))) (setq --dolist-tail-- (cdr --dolist-tail--)))
  (let ((--dolist-tail-- storage) cur) (while --dolist-tail-- (setq cur (car 
--dolist-tail--)) (setq cookies (cdr cur)) (if (and (car cur) (string-match 
(concat "^.*" (regexp-quote (if ... ... ...)) "$") host)) (dolist (cur cookies) 
(and (if (and (stringp ...) (stringp localpart)) (string-match (concat "^" ...) 
localpart) (equal localpart localpart-match)) (not (url-cookie-expired-p cur)) 
(setq retval (cons cur retval))))) (setq --dolist-tail-- (cdr 
--dolist-tail--))))
  (dolist (cur storage) (setq cookies (cdr cur)) (if (and (car cur) 
(string-match (concat "^.*" (regexp-quote (if (eq 46 ...) (substring ... 1) 
(car cur))) "$") host)) (dolist (cur cookies) (and (if (and (stringp (setq 
localpart-match ...)) (stringp localpart)) (string-match (concat "^" 
(regexp-quote localpart-match)) localpart) (equal localpart localpart-match)) 
(not (url-cookie-expired-p cur)) (setq retval (cons cur retval))))))
  (let ((storage (if secure (append url-cookie-secure-storage 
url-cookie-storage) url-cookie-storage)) (case-fold-search t) cookies retval 
localpart-match) (dolist (cur storage) (setq cookies (cdr cur)) (if (and (car 
cur) (string-match (concat "^.*" (regexp-quote (if ... ... ...)) "$") host)) 
(dolist (cur cookies) (and (if (and (stringp ...) (stringp localpart)) 
(string-match (concat "^" ...) localpart) (equal localpart localpart-match)) 
(not (url-cookie-expired-p cur)) (setq retval (cons cur retval)))))) retval)
  url-cookie-retrieve("www.feiertage.net" "/" nil)
  (let ((cookies (url-cookie-retrieve host localpart secure)) retval chunk) 
(setq cookies (and cookies (sort cookies (lambda (x y) (> (length 
(url-cookie-localpart x)) (length (url-cookie-localpart y))))))) (dolist (cur 
cookies) (setq chunk (format "%s=%s" (url-cookie-name cur) (url-cookie-value 
cur)) retval (if (and url-cookie-multiple-line (< 80 (+ (length retval) (length 
chunk) 4))) (concat retval "
\nCookie: " chunk) (if retval (concat retval "; " chunk) (concat "Cookie: " 
chunk))))) (if retval (concat retval "
\n") ""))
  url-cookie-generate-header-lines("www.feiertage.net" "/" nil)
  url-http-create-request()
  url-http-async-sentinel(#<process www.feiertage.net<2>> "open\n")
BTW, seems a similar error happens in other circumstances, too.


Thanks,

Michael.



In GNU Emacs 25.1.50.1 (x86_64-pc-linux-gnu, GTK+ Version 3.18.2)
 of 2015-11-17
Repository revision: 58e6235007e6761fb9734b942ecff94bf4e9ba68
Windowing system distributor 'The X.Org Foundation', version 11.0.11703000
System Description:     Debian GNU/Linux testing (stretch)

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GSETTINGS NOTIFY
LIBXML2 FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11

Important settings:
  value of $LC_ALL: de_DE.utf8
  value of $LC_COLLATE: C
  value of $LC_TIME: C
  value of $LANG: de_DE.utf8
  locale-coding-system: utf-8-unix


reply via email to

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