Gnus development mailing list
 help / color / mirror / Atom feed
* Gnus freezes on startup
@ 2012-09-26 20:32 Johnny Carlsson
  2012-09-26 21:02 ` Ian Swainson
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Johnny Carlsson @ 2012-09-26 20:32 UTC (permalink / raw)
  To: ding; +Cc: styxsailor

Hi all,

Recently I have been unable to start gnus on my machine and am completely unable to debug why. This was around two weeks ago - incidentally I created a dual-boot windows partition for the first time in years, but however keen to blame this I don't see any obvious correlation...

Problem is as the heading - I start emacs successfully, then do M-x gnus. The nice logo shows up, but keeps me gazing at it while nothing seems to happen and I have to kill the process from the terminal.

I am running a customised F17 LXDE system with emacs 24.1.1 and used NoGnus (version unknown...). When the problem occured, I recalled seeing a "warning: package gg-gg is obsolete", so I removed my gnus and fetched the latest version from git. Attempting ./configure and make, this freezes just after building compface.el, so I just used the .el files. Gnus still froze on startup. So I removed all custom gnus to fallback to the distro version of gnus (5.13). Gnus still freezes on start. Believing the issue might be in some corrupted file, I removed all gnus customisation in the emacs init file and renamed ".gnus.el, newsrc.eld, News, and Mail" believing this should use defaults for everything. Still freezes. Final attempt using --no-server option, still freezing.

I have no idea where to start to get some traces or ideas how to fault find from here, and any ideas will be /very/ appreciated! As Gnus is my primary mail reader, and filter, there's no way to keep up with any mailing lists - please wide reply to my secondary e-mail as well... 

It is possible I have botched my system in other ways by fiddling with Windows, virtualisation and what not, but everything else works fine.

Cheers,

Johnny



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

* Re: Gnus freezes on startup
  2012-09-26 20:32 Gnus freezes on startup Johnny Carlsson
@ 2012-09-26 21:02 ` Ian Swainson
  2012-09-27  7:43 ` Julien Danjou
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 9+ messages in thread
From: Ian Swainson @ 2012-09-26 21:02 UTC (permalink / raw)
  To: Johnny Carlsson; +Cc: ding, styxsailor

Hi Johnny,

On Thursday 27 September 2012 at 08:32 AM, "Johnny Carlsson" <yggdrasil@gmx.co.uk> wrote:
> Recently I have been unable to start gnus on my machine and am completely unable
> to debug why. This was around two weeks ago - incidentally I created a dual-boot
> windows partition for the first time in years, but however keen to blame this I
> don't see any obvious correlation...

In my experience, Gnus hanging at the startup screen can often be the
result of network issues, so I'd probably start there before I went too
far into messing around with Gnus itself. I'd firstly try connecting
into the mail server from a terminal, if that succeeds I'd then move
towards Emacs itself and check if it can see the network /
mailserver. Don't forget to try starting Emacs without any init file too
(ie. emacs -Q), as problems can be hidden there.

HTH.

Kind regards,
ian

-- 
Ian Swainson
Ruapuke, New Zealand
http://www.913.co.nz

Sent from my emacs

fortune says:
"By the time they had diminished from 50 to 8, the other dwarves began
to suspect "Hungry."
-- a Larson cartoon



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

* Re: Gnus freezes on startup
  2012-09-26 20:32 Gnus freezes on startup Johnny Carlsson
  2012-09-26 21:02 ` Ian Swainson
@ 2012-09-27  7:43 ` Julien Danjou
  2012-09-27  9:27 ` Antoine Levitt
  2012-10-07 15:04 ` gnus-timer--function is void (was Re: Gnus freezes on startup) Johnny
  3 siblings, 0 replies; 9+ messages in thread
From: Julien Danjou @ 2012-09-27  7:43 UTC (permalink / raw)
  To: Johnny Carlsson; +Cc: ding, styxsailor

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

On Wed, Sep 26 2012, Johnny Carlsson wrote:

> I am running a customised F17 LXDE system with emacs 24.1.1 and used NoGnus
> (version unknown...). When the problem occured, I recalled seeing a
> "warning: package gg-gg is obsolete", so I removed my gnus and fetched the
> latest version from git. Attempting ./configure and make, this freezes just
> after building compface.el, so I just used the .el files.

First, this is too much suspicious. You're saying that compilation
process file blocks? I'd start to resolve this.
If you run top, is an emacs process taking all the CPU power or
something like that?

-- 
Julien Danjou
/* Free Software hacker & freelance
   http://julien.danjou.info */

[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

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

* Re: Gnus freezes on startup
  2012-09-26 20:32 Gnus freezes on startup Johnny Carlsson
  2012-09-26 21:02 ` Ian Swainson
  2012-09-27  7:43 ` Julien Danjou
@ 2012-09-27  9:27 ` Antoine Levitt
  2012-10-07 15:04 ` gnus-timer--function is void (was Re: Gnus freezes on startup) Johnny
  3 siblings, 0 replies; 9+ messages in thread
From: Antoine Levitt @ 2012-09-27  9:27 UTC (permalink / raw)
  To: ding

09/26/2012 22:32, Johnny Carlsson
> Hi all,
>
> Recently I have been unable to start gnus on my machine and am
> completely unable to debug why. This was around two weeks ago -
> incidentally I created a dual-boot windows partition for the first
> time in years, but however keen to blame this I don't see any obvious
> correlation...
>
> Problem is as the heading - I start emacs successfully, then do M-x
> gnus. The nice logo shows up, but keeps me gazing at it while nothing
> seems to happen and I have to kill the process from the terminal.

In addition to what has been suggested, you can try killall -s SIGUSR1
emacs, which will cause emacs to go into debug. This can work even if
C-g does nothing.




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

* gnus-timer--function is void (was Re: Gnus freezes on startup)
  2012-09-26 20:32 Gnus freezes on startup Johnny Carlsson
                   ` (2 preceding siblings ...)
  2012-09-27  9:27 ` Antoine Levitt
@ 2012-10-07 15:04 ` Johnny
  2012-10-08 20:31   ` Haider Rizvi
  3 siblings, 1 reply; 9+ messages in thread
From: Johnny @ 2012-10-07 15:04 UTC (permalink / raw)
  To: ding

Thanks all for the pointers in faultfinding the Gnus freeze (below), I
have finally got Gnus back working (re-install of F17, it was about time
anyhow). 

There is one final bit I don't get; after installing Ma Gnus v0.6 I
cannot open any messages from the summary buffer as I get the error
message 'gnus-timer--function is void'. I can see this is defined in
gnus-utils.el 

,----
| (if (fboundp 'timer--function)
|     (defalias 'gnus-timer--function 'timer--function)
|   (defun gnus-timer--function (timer)
|     (elt timer 5)))
`----

The load path is set correctly I assume (as it picks up Ma Gnus
correctly) and I have the 'require gnus-load' in .init.el:

,----
|   (add-to-list 'load-path "/usr/local/share/emacs/gnus/lisp")
|   (add-to-list 'load-path "/usr/local/share/emacs/gnus/contrib")
|   (require 'gnus-load)
`----

I 'solved' the issue by copying the part from gnus-utils.el to my
init.el, but this doesn't seem right. Am I missing something here?

Thanks,

Johhny


"Johnny Carlsson" <yggdrasil@gmx.co.uk> writes:

> Hi all,
>
> Recently I have been unable to start gnus on my machine and am
> completely unable to debug why. This was around two weeks ago -
> incidentally I created a dual-boot windows partition for the first
> time in years, but however keen to blame this I don't see any obvious
> correlation...
>
> Problem is as the heading - I start emacs successfully, then do M-x
> gnus. The nice logo shows up, but keeps me gazing at it while nothing
> seems to happen and I have to kill the process from the terminal.
>
> I am running a customised F17 LXDE system with emacs 24.1.1 and used
> NoGnus (version unknown...). When the problem occured, I recalled
> seeing a "warning: package gg-gg is obsolete", so I removed my gnus
> and fetched the latest version from git. Attempting ./configure and
> make, this freezes just after building compface.el, so I just used the
> .el files. Gnus still froze on startup. So I removed all custom gnus
> to fallback to the distro version of gnus (5.13). Gnus still freezes
> on start. Believing the issue might be in some corrupted file, I
> removed all gnus customisation in the emacs init file and renamed
> ".gnus.el, newsrc.eld, News, and Mail" believing this should use
> defaults for everything. Still freezes. Final attempt using
> --no-server option, still freezing.
>
> I have no idea where to start to get some traces or ideas how to fault
> find from here, and any ideas will be /very/ appreciated! As Gnus is
> my primary mail reader, and filter, there's no way to keep up with any
> mailing lists - please wide reply to my secondary e-mail as well...
>
> It is possible I have botched my system in other ways by fiddling with Windows, virtualisation and what not, but everything else works fine.
>
> Cheers,
>
> Johnny
>

-- 
Johnny



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

* Re: gnus-timer--function is void (was Re: Gnus freezes on startup)
  2012-10-07 15:04 ` gnus-timer--function is void (was Re: Gnus freezes on startup) Johnny
@ 2012-10-08 20:31   ` Haider Rizvi
  2012-10-09  1:07     ` Katsumi Yamaoka
  0 siblings, 1 reply; 9+ messages in thread
From: Haider Rizvi @ 2012-10-08 20:31 UTC (permalink / raw)
  To: ding

Johnny <yggdrasil@gmx.co.uk> writes:

> There is one final bit I don't get; after installing Ma Gnus v0.6 I
> cannot open any messages from the summary buffer as I get the error
> message 'gnus-timer--function is void'. I can see this is defined in
> gnus-utils.el 

I just hit the same problem as well, after moving to MaGnus
0.6. Started using the same workaround as Johnny described, but
interested in finding out the right solution.

Regards, 
-- 
Haider




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

* Re: gnus-timer--function is void (was Re: Gnus freezes on startup)
  2012-10-08 20:31   ` Haider Rizvi
@ 2012-10-09  1:07     ` Katsumi Yamaoka
  2012-10-09  2:17       ` Haider Rizvi
  0 siblings, 1 reply; 9+ messages in thread
From: Katsumi Yamaoka @ 2012-10-09  1:07 UTC (permalink / raw)
  To: ding

Haider Rizvi wrote:
> Johnny <yggdrasil@gmx.co.uk> writes:

>> There is one final bit I don't get; after installing Ma Gnus v0.6 I
>> cannot open any messages from the summary buffer as I get the error
>> message 'gnus-timer--function is void'. I can see this is defined in
>> gnus-utils.el

> I just hit the same problem as well, after moving to MaGnus
> 0.6. Started using the same workaround as Johnny described, but
> interested in finding out the right solution.

Well, don't you have the old gnus-util.el file(s) in your load-path
directories?  This should show the most preferred one among them:

M-x locate-library RET gnus-util RET

And this shows all the gnus-util.el(c) files existing in
the load-path directories:

(let ((name "gnus-util")
      (load-path (copy-sequence load-path))
      elc el files dir)
  (while (setq elc (locate-library name))
    (push elc files)
    (setq dir (file-name-directory elc))
    (when (setq el (locate-library (concat name ".el")))
      (unless (equal el elc)
	(push el files)))
    (setq load-path
	  (delete dir (delete (directory-file-name dir) load-path))))
  (nreverse files))

;; Copy this form to the *scratch* buffer and type `C-j' at the end.



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

* Re: gnus-timer--function is void (was Re: Gnus freezes on startup)
  2012-10-09  1:07     ` Katsumi Yamaoka
@ 2012-10-09  2:17       ` Haider Rizvi
  2012-10-09  3:28         ` Katsumi Yamaoka
  0 siblings, 1 reply; 9+ messages in thread
From: Haider Rizvi @ 2012-10-09  2:17 UTC (permalink / raw)
  To: ding

Katsumi Yamaoka <yamaoka@jpl.org> writes:

> Well, don't you have the old gnus-util.el file(s) in your load-path
> directories?  This should show the most preferred one among them:

I have the new gnus lisp directory ahead of the older one in
load-path. 

> M-x locate-library RET gnus-util RET

I get the new one. 

> And this shows all the gnus-util.el(c) files existing in
> the load-path directories:
>
It shows as expected, new one ahead of the older one. 

gnus-timer--function is used in gnus-art.el (in
gnus-article-stop-animations ()). It is not defined on first
invocation. That's what the stack shows:

gnus-article-stop-animations: Symbol's function definition is void:
gnus-timer--function [2 times]

  gnus-timer--function([nil 20595 12692 388485 900 nnimap-keepalive nil nil])
  gnus-article-stop-animations()
  gnus-article-setup-buffer()
  gnus-article-prepare(830 nil)
  gnus-summary-display-article(830)
  gnus-summary-next-page(nil)
  call-interactively(gnus-summary-next-page nil nil)




Regards, 
-- 
Haider




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

* Re: gnus-timer--function is void (was Re: Gnus freezes on startup)
  2012-10-09  2:17       ` Haider Rizvi
@ 2012-10-09  3:28         ` Katsumi Yamaoka
  0 siblings, 0 replies; 9+ messages in thread
From: Katsumi Yamaoka @ 2012-10-09  3:28 UTC (permalink / raw)
  To: ding

Haider Rizvi wrote:
> Katsumi Yamaoka <yamaoka@jpl.org> writes:

>> Well, don't you have the old gnus-util.el file(s) in your load-path
>> directories?  This should show the most preferred one among them:

> I have the new gnus lisp directory ahead of the older one in
> load-path.

>> M-x locate-library RET gnus-util RET

> I get the new one.

>> And this shows all the gnus-util.el(c) files existing in
>> the load-path directories:
>>
> It shows as expected, new one ahead of the older one.

> gnus-timer--function is used in gnus-art.el (in
> gnus-article-stop-animations ()). It is not defined on first
> invocation.

Hmm, but it should be loaded by way of the following ones:

::: gnus-art.el :::
(require 'gnus)

::: gnus.el :::
(require 'gnus-util)

> That's what the stack shows:

> gnus-article-stop-animations: Symbol's function definition is void:
> gnus-timer--function [2 times]

>   gnus-timer--function([nil 20595 12692 388485 900 nnimap-keepalive nil nil])
>   gnus-article-stop-animations()
>   gnus-article-setup-buffer()
>   gnus-article-prepare(830 nil)
>   gnus-summary-display-article(830)
>   gnus-summary-next-page(nil)
>   call-interactively(gnus-summary-next-page nil nil)

That's a mystery.  I normally use Emacs 24.2.50 but tried 24.2
(for which Ma Gnus has not been installed).  Here are the ones I
observed:

/usr/bin/emacs --version
 => GNU Emacs 24.2.1

# This should not work because of the absence of Ma Gnus.
/usr/bin/emacs -batch -Q\
 -l gnus-art\
 -eval '(message "%s" (gnus-timer--function (timer-create)))'
 => Symbol's function definition is void: gnus-timer--function

# This should work.
/usr/bin/emacs -batch -Q\
 -eval '(push "/Ma Gnus source directory/lisp" load-path)'\
 -l gnus-art\
 -eval '(message "%s" (gnus-timer--function (timer-create)))'
 => nil (ok)

# This should work(2).
/usr/bin/emacs -batch -Q\
 -f batch-byte-compile '/Ma Gnus source directory/lisp/gnus-util.el'
 => Wrote /Ma Gnus source directory/lisp/gnus-util.elc

/usr/bin/emacs -batch -Q\
 -eval '(push "/Ma Gnus source directory/lisp" load-path)'\
 -l gnus-art\
 -eval '(message "%s" (gnus-timer--function (timer-create)))'
 => nil (ok)



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

end of thread, other threads:[~2012-10-09  3:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-26 20:32 Gnus freezes on startup Johnny Carlsson
2012-09-26 21:02 ` Ian Swainson
2012-09-27  7:43 ` Julien Danjou
2012-09-27  9:27 ` Antoine Levitt
2012-10-07 15:04 ` gnus-timer--function is void (was Re: Gnus freezes on startup) Johnny
2012-10-08 20:31   ` Haider Rizvi
2012-10-09  1:07     ` Katsumi Yamaoka
2012-10-09  2:17       ` Haider Rizvi
2012-10-09  3:28         ` Katsumi Yamaoka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).