all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#21936: 25.1.50; Can't start eww: (args-out-of-range "" 0)
@ 2015-11-17  7:57 Michael Heerdegen
  2015-11-17  8:52 ` Andreas Schwab
  0 siblings, 1 reply; 6+ messages in thread
From: Michael Heerdegen @ 2015-11-17  7:57 UTC (permalink / raw)
  To: 21936

[-- Attachment #1: Type: text/plain, Size: 169 bytes --]


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:


[-- Attachment #2: backtrace.txt --]
[-- Type: text/plain, Size: 3719 bytes --]

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")

[-- Attachment #3: Type: text/plain, Size: 671 bytes --]


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-12-25  5:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-17  7:57 bug#21936: 25.1.50; Can't start eww: (args-out-of-range "" 0) Michael Heerdegen
2015-11-17  8:52 ` Andreas Schwab
2015-11-17 10:12   ` Michael Heerdegen
2015-11-17 10:49     ` Andreas Schwab
2015-11-17 11:52       ` Michael Heerdegen
2015-12-25  5:34   ` Lars Ingebrigtsen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.