GNU bug report logs - #92
cannot start Gnus with idna.el

Previous Next

Packages: emacs, gnus;

Reported by: NAKAJI Hiroyuki <nakaji <at> jp.freebsd.org>

Date: Sat, 29 Mar 2008 19:05:08 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Reiner Steib <reinersteib+gmane <at> imap.cc>
To: NAKAJI Hiroyuki <nakaji <at> jp.freebsd.org>
Cc: Simon Josefsson <jas <at> extundo.com>, ding <at> gnus.org,
        92 <at> debbugs.gnu.org
Subject: bug#92: cannot start Gnus with idna.el
Date: Thu, 01 Jan 2009 19:14:46 +0100
[Message part 1 (text/plain, inline)]
On Thu, Jan 01 2009, Reiner Steib wrote:

> On Sat, Mar 29 2008, NAKAJI Hiroyuki wrote:
[...]
>> The "while" in idna-to-ascii-response() seems infinite loop.
>>
>> (defun idna-to-ascii-response ()
>>   (while (and (eq (process-status idna-to-ascii-process) 'run)
>>               (null idna-to-ascii-response))
>>     (accept-process-output idna-to-ascii-process 1))
>>   idna-to-ascii-response)
>>
>> The idna-to-ascii-response is called from message.el and the failure
>> itself occurs in
>>
>> (idna-to-ascii "räksmörgås")
>
> I can't reproduce thin on GNU/Linux.  AFAICS, there's nothing wrong in
> Gnus.  I guess you can reproduce the problem without Gnus:
>
>   emacs -Q -l /path/to/idna.el
>
>   In *scratch*, eval:
>
>   (idna-to-ascii "räksmörgås")
>
> If idna-to-ascii-response inf-loops, it's a bug in idna.el, the idn
> program or Emacs' process handling on FreeBSD.
> CC-ing Simon Josefsson, the author of idna.el and libidn.

Sorry, the entry in the emacs bug database didn't contain the
following message:

[Message part 2 (message/rfc822, inline)]
From: NAKAJI Hiroyuki <nakaji <at> jp.freebsd.org>
To: Reiner Steib <reinersteib+gmane <at> imap.cc>, Simon Josefsson <jas <at> extundo.com>
Cc: emacs-pretest-bug <at> gnu.org, ding <at> gnus.org
Subject: Re: cannot start Gnus with idna.el
Date: Sun, 01 Jun 2008 08:59:26 +0900
Thank you for the comment.

After "make maintainer-clean" in emacs/lisp directory, I successfully
bootstrapped the latest emacs. And then I'm trying this problem again.

>>>>> In <v9y75z98of.fsf <at> marauder.physik.uni-ulm.de> 
>>>>>	Reiner Steib <reinersteib+gmane <at> imap.cc> wrote:

> > The "while" in idna-to-ascii-response() seems infinite loop.
> >
> > (defun idna-to-ascii-response ()
> >   (while (and (eq (process-status idna-to-ascii-process) 'run)
> >               (null idna-to-ascii-response))
> >     (accept-process-output idna-to-ascii-process 1))
> >   idna-to-ascii-response)

> Isn't this a bug in `idna.el' then?  Cc-ing Simon therefore.

I'm not sure.

> > The idna-to-ascii-response is called from message.el and the failure
> > itself occurs in
> >
> > (idna-to-ascii "räksmörgås")

> Does it mean, that you can reproduce the problem when evaluating this
> expression after starting "emacs -Q"?

No.

After starting "emacs -Q", loaded /some/where/idna.el, opened
gnus/lisp/message.el (no load of gnus) and evaluated this expression. It
was successfull.

(idna-to-ascii "räksmörgås")
"xn--rksmrgs-5wao1o"

Thanks.
-- 
NAKAJI Hiroyuki



[Message part 3 (text/plain, inline)]

I don't understand why it fails in message.el:

(defcustom message-use-idna (and (condition-case nil (require 'idna)
				   (file-error))
				 (mm-coding-system-p 'utf-8)
				 (executable-find idna-program)
				 (string= (idna-to-ascii "räksmörgås")
					  "xn--rksmrgs-5wao1o")
				 t)
...



Bye, Reiner.


This bug report was last modified 14 years and 298 days ago.

Previous Next


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