unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#6676: 24.0.50; daemon + linum make emacs crash
@ 2010-07-20  6:26 Desmond O. Chang
  2010-07-20 12:47 ` Juanma Barranquero
  0 siblings, 1 reply; 7+ messages in thread
From: Desmond O. Chang @ 2010-07-20  6:26 UTC (permalink / raw)
  To: 6676; +Cc: rfrancoise

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)





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

* bug#6676: 24.0.50; daemon + linum make emacs crash
  2010-07-20  6:26 bug#6676: 24.0.50; daemon + linum make emacs crash Desmond O. Chang
@ 2010-07-20 12:47 ` Juanma Barranquero
  2010-07-20 17:32   ` Desmond O. Chang
  0 siblings, 1 reply; 7+ messages in thread
From: Juanma Barranquero @ 2010-07-20 12:47 UTC (permalink / raw)
  To: Desmond O. Chang; +Cc: 6676, rfrancoise

On Tue, Jul 20, 2010 at 08:26, Desmond O. Chang <dochang@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





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

* bug#6676: 24.0.50; daemon + linum make emacs crash
  2010-07-20 12:47 ` Juanma Barranquero
@ 2010-07-20 17:32   ` Desmond O. Chang
  2010-07-21 12:32     ` Juanma Barranquero
  0 siblings, 1 reply; 7+ messages in thread
From: Desmond O. Chang @ 2010-07-20 17:32 UTC (permalink / raw)
  To: Juanma Barranquero; +Cc: 6676, rfrancoise

On Tue, Jul 20, 2010 at 20:47, Juanma Barranquero <lekktu@gmail.com> wrote:
> On Tue, Jul 20, 2010 at 08:26, Desmond O. Chang <dochang@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/





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

* bug#6676: 24.0.50; daemon + linum make emacs crash
  2010-07-20 17:32   ` Desmond O. Chang
@ 2010-07-21 12:32     ` Juanma Barranquero
  2010-07-21 18:18       ` Desmond O. Chang
  0 siblings, 1 reply; 7+ messages in thread
From: Juanma Barranquero @ 2010-07-21 12:32 UTC (permalink / raw)
  To: Desmond O. Chang; +Cc: 6676, rfrancoise

On Tue, Jul 20, 2010 at 19:32, Desmond O. Chang <dochang@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





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

* bug#6676: 24.0.50; daemon + linum make emacs crash
  2010-07-21 12:32     ` Juanma Barranquero
@ 2010-07-21 18:18       ` Desmond O. Chang
  2010-07-21 19:32         ` Juanma Barranquero
  2010-07-21 20:07         ` Romain Francoise
  0 siblings, 2 replies; 7+ messages in thread
From: Desmond O. Chang @ 2010-07-21 18:18 UTC (permalink / raw)
  To: Juanma Barranquero; +Cc: 6676, rfrancoise

On Wed, Jul 21, 2010 at 20:32, Juanma Barranquero <lekktu@gmail.com> wrote:
> On Tue, Jul 20, 2010 at 19:32, Desmond O. Chang <dochang@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.





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

* bug#6676: 24.0.50; daemon + linum make emacs crash
  2010-07-21 18:18       ` Desmond O. Chang
@ 2010-07-21 19:32         ` Juanma Barranquero
  2010-07-21 20:07         ` Romain Francoise
  1 sibling, 0 replies; 7+ messages in thread
From: Juanma Barranquero @ 2010-07-21 19:32 UTC (permalink / raw)
  To: Desmond O. Chang; +Cc: 6676-done, rfrancoise

On Wed, Jul 21, 2010 at 20:18, Desmond O. Chang <dochang@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





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

* bug#6676: 24.0.50; daemon + linum make emacs crash
  2010-07-21 18:18       ` Desmond O. Chang
  2010-07-21 19:32         ` Juanma Barranquero
@ 2010-07-21 20:07         ` Romain Francoise
  1 sibling, 0 replies; 7+ messages in thread
From: Romain Francoise @ 2010-07-21 20:07 UTC (permalink / raw)
  To: Desmond O. Chang; +Cc: Juanma Barranquero, 6676

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.





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

end of thread, other threads:[~2010-07-21 20:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-20  6:26 bug#6676: 24.0.50; daemon + linum make emacs crash Desmond O. Chang
2010-07-20 12:47 ` Juanma Barranquero
2010-07-20 17:32   ` Desmond O. Chang
2010-07-21 12:32     ` Juanma Barranquero
2010-07-21 18:18       ` Desmond O. Chang
2010-07-21 19:32         ` Juanma Barranquero
2010-07-21 20:07         ` Romain Francoise

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).