GNU bug report logs - #6676
24.0.50; daemon + linum make emacs crash

Previous Next

Package: emacs;

Reported by: dochang <at> gmail.com (Desmond O. Chang)

Date: Tue, 20 Jul 2010 06:35:01 UTC

Severity: normal

Found in version 24.0.50

Done: Juanma Barranquero <lekktu <at> gmail.com>

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 6676 in the body.
You can then email your comments to 6676 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 owner <at> debbugs.gnu.org, rfrancoise <at> debian.org, bug-gnu-emacs <at> gnu.org:
bug#6676; Package emacs. (Tue, 20 Jul 2010 06:35:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to dochang <at> gmail.com (Desmond O. Chang):
New bug report received and forwarded. Copy sent to rfrancoise <at> debian.org, bug-gnu-emacs <at> gnu.org. (Tue, 20 Jul 2010 06:35:02 GMT) Full text and rfc822 format available.

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

From: dochang <at> gmail.com (Desmond O. Chang)
To: bug-gnu-emacs <at> gnu.org
Subject: 24.0.50; daemon + linum make emacs crash
Date: Tue, 20 Jul 2010 14:26:14 +0800
Put `(global-linum-mode 1)' in .emacs and execute `emacs --daemon' will
cause emacs crash.  But when you execute `emacs --daemon' without linum
mode first then run `M-x global-linum-mode' in a client frame, it's
safe.


In GNU Emacs 24.0.50.1 (i486-pc-linux-gnu, GTK+ Version 2.20.1)
 of 2010-07-11 on elegiac, modified by Debian
 (emacs-snapshot package, version 1:20100711-1)
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
configured using `configure  '--build' 'i486-linux-gnu' '--host' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/24.0.50/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.0.50/site-lisp:/usr/share/emacs/site-lisp' '--without-compress-info' '--with-x=yes' '--with-x-toolkit=gtk' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed' 'CPPFLAGS=''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: zh_CN.utf8
  value of $LC_CTYPE: zh_CN.utf8
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: C
  value of $XMODIFIERS: @im=SCIM
  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
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
M-x r e p o <tab> r <tab> <tab> <tab> <return>

Recent messages:
Loading /etc/emacs/site-start.d/50emacs-goodies-el.el (source)...done
Loading /etc/emacs/site-start.d/50emms.el (source)...done
Loading /etc/emacs/site-start.d/50git-core.el (source)...done
Loading /etc/emacs/site-start.d/50magit.el (source)...done
Loading /etc/emacs/site-start.d/50psvn.el (source)...done
Loading /etc/emacs/site-start.d/50slime.el (source)...done
Loading /etc/emacs/site-start.d/51debian-el.el (source)...done
Starting Emacs daemon.
When done with this frame, type C-x 5 0
Making completion list...

Load-path shadows:
/usr/share/emacs/24.0.50/site-lisp/magit hides /usr/share/emacs/site-lisp/magit
/usr/share/emacs/24.0.50/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup
/usr/share/emacs-snapshot/site-lisp/emms/tq hides /usr/share/emacs/24.0.50/lisp/emacs-lisp/tq

Features:
(shadow sort gnus-util mail-extr message sendmail regexp-opt rfc822 mml
mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader
emacsbug help-mode easymenu view server package linum debian-el
debian-el-loaddefs slime-autoloads emms-auto emacs-goodies-el
emacs-goodies-custom emacs-goodies-loaddefs easy-mmode dpkg-dev-el
dpkg-dev-el-loaddefs china-util tooltip ediff-hook vc-hooks
lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe
lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar
mldrag 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 loaddefs button minibuffer faces cus-face files text-properties
overlay md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process dbusbind
dynamic-setting font-render-setting gtk x-toolkit x multi-tty emacs)




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6676; Package emacs. (Tue, 20 Jul 2010 12:48:01 GMT) Full text and rfc822 format available.

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

From: Juanma Barranquero <lekktu <at> gmail.com>
To: "Desmond O. Chang" <dochang <at> gmail.com>
Cc: 6676 <at> debbugs.gnu.org, rfrancoise <at> debian.org
Subject: Re: bug#6676: 24.0.50; daemon + linum make emacs crash
Date: Tue, 20 Jul 2010 14:47:50 +0200
On Tue, Jul 20, 2010 at 08:26, Desmond O. Chang <dochang <at> gmail.com> 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)

?

    Juanma




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6676; Package emacs. (Tue, 20 Jul 2010 17:33:01 GMT) Full text and rfc822 format available.

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

From: "Desmond O. Chang" <dochang <at> gmail.com>
To: Juanma Barranquero <lekktu <at> gmail.com>
Cc: 6676 <at> debbugs.gnu.org, rfrancoise <at> debian.org
Subject: Re: bug#6676: 24.0.50; daemon + linum make emacs crash
Date: Wed, 21 Jul 2010 01:32:23 +0800
On Tue, Jul 20, 2010 at 20:47, Juanma Barranquero <lekktu <at> gmail.com> wrote:
> On Tue, Jul 20, 2010 at 08:26, Desmond O. Chang <dochang <at> gmail.com> 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/




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6676; Package emacs. (Wed, 21 Jul 2010 12:33:01 GMT) Full text and rfc822 format available.

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

From: Juanma Barranquero <lekktu <at> gmail.com>
To: "Desmond O. Chang" <dochang <at> gmail.com>
Cc: 6676 <at> debbugs.gnu.org, rfrancoise <at> debian.org
Subject: Re: bug#6676: 24.0.50; daemon + linum make emacs crash
Date: Wed, 21 Jul 2010 14:32:09 +0200
On Tue, Jul 20, 2010 at 19:32, Desmond O. Chang <dochang <at> gmail.com> wrote:

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

On Ubuntu that works as expected, with the newest Bazaar sources:

ubuntu% uname -a
Linux ubuntu 2.6.32-23-generic #37-Ubuntu SMP Fri Jun 11 07:54:58 UTC
2010 i686 GNU/Linux
ubuntu% emacs -Q --eval '(global-linum-mode 1)' --daemon
("emacs" "--eval" "(global-linum-mode 1)")
Starting Emacs daemon.
ubuntu%

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

I'd suggest building directly from sources, or trying an official 23.2 release.

    Juanma




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6676; Package emacs. (Wed, 21 Jul 2010 18:18:02 GMT) Full text and rfc822 format available.

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

From: "Desmond O. Chang" <dochang <at> gmail.com>
To: Juanma Barranquero <lekktu <at> gmail.com>
Cc: 6676 <at> debbugs.gnu.org, rfrancoise <at> debian.org
Subject: Re: bug#6676: 24.0.50; daemon + linum make emacs crash
Date: Thu, 22 Jul 2010 02:18:15 +0800
On Wed, Jul 21, 2010 at 20:32, Juanma Barranquero <lekktu <at> gmail.com> wrote:
> On Tue, Jul 20, 2010 at 19:32, Desmond O. Chang <dochang <at> gmail.com> wrote:
>
>> $ emacs -Q --eval '(global-linum-mode 1)' --daemon
>> ("emacs" "--eval" "(global-linum-mode 1)")
>> Starting Emacs daemon.
>> Error: server did not start correctly
>
> On Ubuntu that works as expected, with the newest Bazaar sources:
>
> ubuntu% uname -a
> Linux ubuntu 2.6.32-23-generic #37-Ubuntu SMP Fri Jun 11 07:54:58 UTC
> 2010 i686 GNU/Linux
> ubuntu% emacs -Q --eval '(global-linum-mode 1)' --daemon
> ("emacs" "--eval" "(global-linum-mode 1)")
> Starting Emacs daemon.
> ubuntu%
>
>> The package which I use is from Romain's debian repo [1].
>
> I'd suggest building directly from sources, or trying an official 23.2 release.

The official code does not crash.  The problem should be from Romain's repo.




Reply sent to Juanma Barranquero <lekktu <at> gmail.com>:
You have taken responsibility. (Wed, 21 Jul 2010 19:33:02 GMT) Full text and rfc822 format available.

Notification sent to dochang <at> gmail.com (Desmond O. Chang):
bug acknowledged by developer. (Wed, 21 Jul 2010 19:33:02 GMT) Full text and rfc822 format available.

Message #22 received at 6676-done <at> debbugs.gnu.org (full text, mbox):

From: Juanma Barranquero <lekktu <at> gmail.com>
To: "Desmond O. Chang" <dochang <at> gmail.com>
Cc: 6676-done <at> debbugs.gnu.org, rfrancoise <at> debian.org
Subject: Re: bug#6676: 24.0.50; daemon + linum make emacs crash
Date: Wed, 21 Jul 2010 21:32:39 +0200
On Wed, Jul 21, 2010 at 20:18, Desmond O. Chang <dochang <at> gmail.com> wrote:

> The official code does not crash.  The problem should be from Romain's repo.

OK, I'm closing this report, then. Thanks for testing.

   Juanma




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6676; Package emacs. (Wed, 21 Jul 2010 20:08:02 GMT) Full text and rfc822 format available.

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

From: Romain Francoise <romain <at> orebokech.com>
To: "Desmond O. Chang" <dochang <at> gmail.com>
Cc: Juanma Barranquero <lekktu <at> gmail.com>, 6676 <at> debbugs.gnu.org
Subject: Re: bug#6676: 24.0.50; daemon + linum make emacs crash
Date: Wed, 21 Jul 2010 22:07:35 +0200
The bug can be reproduced with the official sources as of Git
5087979 (corresponding to the 20100711-1 snapshot) but doesn't
occur with Git master; ergo it's been fixed since then and the fix
will be in the next snapshot.




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

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

Previous Next


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