Subject: Re: bug#6676: 24.0.50; daemon + linum make emacs crash

From: "Desmond O. Chang" <[email-masked]>
Date: Wed, 21 Jul 2010 01:32:23 +0800

On Tue, Jul 20, 2010 at 20:47, Juanma Barranquero <[email-masked]> wrote:
> On Tue, Jul 20, 2010 at 08:26, Desmond O. Chang <[email-masked]> wrote:
>
>> Put `(global-linum-mode 1)' in .emacs and execute `emacs --daemon' will
>> cause emacs crash.
>
> I've tried it on Ubuntu and it does not crash, so it is perhaps
> something specific to your setup.
>
> Could you please give a step-by-step recipe to reproduce it? Did you
> try with an .emacs containing just
>
>  (global-linum-mode 1)
>
> ?

Yes, I have tried it, here is the output:

$ cat .emacs
(global-linum-mode 1)
$ emacs --daemon
("emacs")
No /etc/mailname. Reverting to default...
Loading /etc/emacs/site-start.d/50dpkg-dev-el.el (source)...
Loading /etc/emacs/site-start.d/50dpkg-dev-el.el (source)...done
Loading /etc/emacs/site-start.d/50emacs-goodies-el.el (source)...
Loading /etc/emacs/site-start.d/50emacs-goodies-el.el (source)...done
Loading /etc/emacs/site-start.d/50emms.el (source)...
Loading /etc/emacs/site-start.d/50emms.el (source)...done
Loading /etc/emacs/site-start.d/50git-core.el (source)...
Loading /etc/emacs/site-start.d/50git-core.el (source)...done
Loading /etc/emacs/site-start.d/50magit.el (source)...
Loading /etc/emacs/site-start.d/50magit.el (source)...done
Loading /etc/emacs/site-start.d/50psvn.el (source)...
Loading /etc/emacs/site-start.d/50psvn.el (source)...done
Loading /etc/emacs/site-start.d/50slime.el (source)...
Loading /etc/emacs/site-start.d/50slime.el (source)...done
Loading /etc/emacs/site-start.d/51debian-el.el (source)...
Loading /etc/emacs/site-start.d/51debian-el.el (source)...done
Error: server did not start correctly

Also I used `-Q' and `--eval' to prevent from loading global settings:

$ emacs -Q --eval '(global-linum-mode 1)' --daemon
("emacs" "--eval" "(global-linum-mode 1)")
Starting Emacs daemon.
Error: server did not start correctly

The package which I use is from Romain's debian repo [1].

[1] http://emacs.orebokech.com/