GNU bug report logs - #10504
24.0.90; url-retrieve https://bitbucket.org gives trailing junk

Previous Next

Package: emacs;

Reported by: Alf Lervåg <alfborge <at> gmail.com>

Date: Sat, 14 Jan 2012 19:03:02 UTC

Severity: normal

Tags: wontfix

Merged with 15905

Found in versions 24.0.90, 24.3

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

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 10504 in the body.
You can then email your comments to 10504 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#10504; Package emacs. (Sat, 14 Jan 2012 19:03:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Alf Lervåg <alfborge <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 14 Jan 2012 19:03:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Alf Lervåg <alfborge <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.0.90; url-retrieve https://bitbucket.org gives trailing junk
Date: Sat, 14 Jan 2012 12:11:34 +0100
[Message part 1 (text/plain, inline)]
This bug report will be sent to the Bug-GNU-Emacs mailing list
and the GNU bug tracker at debbugs.gnu.org. Please check that
the From: line contains a valid email address. After a delay of up
to one day, you should receive an acknowledgement at that address.

Please write in English if possible, as the Emacs maintainers
usually do not have translators for other languages.

Please describe exactly what actions triggered the bug, and
the precise symptoms of the bug. If you can, give a recipe
starting from `emacs -Q':

When running the following code I get a trailing line of junk reading
: - Peer has closed the GnuTLS connection

(url-retrieve "https://bitbucket.org" (lambda (status)
(switch-to-buffer (current-buffer))))  

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
`bt full' and `xbacktrace'.
For information about debugging Emacs, please read the file
/Applications/Emacs.app/Contents/Resources/etc/DEBUG.


In GNU Emacs 24.0.90.1 (x86_64-apple-darwin, NS apple-appkit-1038.35)
of 2011-09-26 on virtualmac.porkrind.org
Windowing system distributor `Apple', version 10.3.1138
configured using `configure '--host=x86_64-apple-darwin' '--build=i686-apple-darwin' '--with-ns' 'build_alias=i686-apple-darwin' 'host_alias=x86_64-apple-darwin' 'CC=gcc -mmacosx-version-min=10.5''

Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: UTF-8
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: nil
value of $XMODIFIERS: nil
locale-coding-system: utf-8-unix
default enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
tooltip-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t

Recent input:
C-y C-_ ( u r l - r e t r i e v e SPC " h t t p s :  
/ / b i t b u c k e t . o r g " SPC ( l a m b d a SPC  
( s t a t u s ) SPC ( s w i t c h - t o - b u f f e  
r SPC ( c u r r o <backspace> e n t - b u f f e r )  
) ) ) C-x C-e C-> <escape> > C-x k <return> C-a C-k  
<escape> x r e p <tab> o <tab> r <tab> <tab> <retu
rn>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Mark set
Undo!
Contacting host: bitbucket.org:443
Opening TLS connection to `bitbucket.org'...
Opening TLS connection with `gnutls-cli --insecure -p 443 bitbucket.org'...done
Opening TLS connection to `bitbucket.org'...done
#<buffer *http bitbucket.org:443*>
Mark set
Making completion list... [3 times]

Load-path shadows:
None found.

Features:
(shadow sort mail-extr message rfc822 mml mml-sec mm-decode mm-bodies
mm-encode mailabbrev gmm-utils mailheader emacsbug help-mode easymenu
view mail-utils url-cache format-spec network-stream starttls url-http
tls mail-parse rfc2231 rfc2047 rfc2045 ietf-drums url-gw url-auth url
url-proxy url-privacy url-expand url-methods url-history url-cookie
url-util url-parse auth-source eieio byte-opt bytecomp byte-compile
cconv macroexp assoc gnus-util password-cache url-vars mm-util
mail-prsvr mailcap time-date tooltip ediff-hook vc-hooks lisp-float-type
mwheel ns-win tool-bar dnd fontset image fringe lisp-mode register page
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core frame cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs
button faces cus-face files text-properties overlay sha1 md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process ns multi-tty emacs)

--  
Alf Lervåg
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)

[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10504; Package emacs. (Wed, 25 Jan 2012 19:11:01 GMT) Full text and rfc822 format available.

Message #8 received at 10504 <at> debbugs.gnu.org (full text, mbox):

From: Ted Zlatanov <tzz <at> lifelogs.com>
To: Alf Lervåg <alfborge <at> gmail.com>
Cc: 10504 <at> debbugs.gnu.org
Subject: Re: bug#10504: 24.0.90;
	url-retrieve https://bitbucket.org gives trailing junk
Date: Wed, 25 Jan 2012 14:09:11 -0600
On Sat, 14 Jan 2012 12:11:34 +0100 Alf Lervåg <alfborge <at> gmail.com> wrote: 

AL> When running the following code I get a trailing line of junk reading
AL> : - Peer has closed the GnuTLS connection

AL> (url-retrieve "https://bitbucket.org" (lambda (status)
AL> (switch-to-buffer (current-buffer))))  

AL> In GNU Emacs 24.0.90.1 (x86_64-apple-darwin, NS apple-appkit-1038.35)
AL> of 2011-09-26 on virtualmac.porkrind.org
AL> Windowing system distributor `Apple', version 10.3.1138
AL> configured using `configure '--host=x86_64-apple-darwin'
AL> --build=i686-apple-darwin' '--with-ns' 'build_alias=i686-apple-darwin'
AL> host_alias=x86_64-apple-darwin' 'CC=gcc -mmacosx-version-min=10.5''
...
AL> Opening TLS connection with `gnutls-cli --insecure -p 443 bitbucket.org'...done

Hello,

could you try compiling with the native GnuTLS support, which should fix
this issue?  I'm not sure it's possible to fix this issue otherwise,
because gnutls-cli can print all kinds of trailing junk (log data which
is normally useful, e.g. "*** gnutls_bye() error: A record packet with
illegal version was received.").

Ted




Merged 10504 15905. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 25 Dec 2015 21:45:02 GMT) Full text and rfc822 format available.

Added tag(s) wontfix. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 01 Mar 2016 14:14:03 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 10504 <at> debbugs.gnu.org and Alf Lervåg <alfborge <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 01 Mar 2016 14:14:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 30 Mar 2016 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 133 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.