GNU bug report logs - #11587
24.0.97; Crash with global-linum-mode and info

Previous Next

Package: emacs;

Reported by: "Lars Ljung" <lars <at> matholka.se>

Date: Wed, 30 May 2012 13:38:01 UTC

Severity: normal

Found in version 24.0.97

Done: Eli Zaretskii <eliz <at> gnu.org>

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 11587 in the body.
You can then email your comments to 11587 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 bug-gnu-emacs <at> gnu.org:
bug#11587; Package emacs. (Wed, 30 May 2012 13:38:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Lars Ljung" <lars <at> matholka.se>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 30 May 2012 13:38:02 GMT) Full text and rfc822 format available.

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

From: "Lars Ljung" <lars <at> matholka.se>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.0.97; Crash with global-linum-mode and info
Date: Wed, 30 May 2012 15:35:35 +0200 (CEST)
[Message part 1 (text/plain, inline)]
Emacs will crash if global-linum-mode is enabled the first time I go to
the info directory. This can be reproduced every time using this sequence:

"C:\Program Files\GNU Emacs 24\bin\runemacs.exe" -Q
M-x global-linum-mode
C-h i

It seems like the crash happens every time a new info buffer is created.
If I first do C-h i and the M-x global-linum-mode it doesn't crash at the
next C-h i. However, it will then crash when I try to go to any info node.


In GNU Emacs 24.0.97.1 (i386-mingw-nt5.1.2600)
 of 2012-05-17 on MARVIN
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Configured using:
 `configure --with-gcc (4.6) --no-opt --enable-checking --cflags
 -ID:/devel/emacs/libs/libXpm-3.5.8/include
 -ID:/devel/emacs/libs/libXpm-3.5.8/src
 -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include
 -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include
 -ID:/devel/emacs/libs/giflib-4.1.4-1/include
 -ID:/devel/emacs/libs/jpeg-6b-4/include
 -ID:/devel/emacs/libs/tiff-3.8.2-1/include
 -ID:/devel/emacs/libs/gnutls-3.0.9/include'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: SVE
  value of $XMODIFIERS: nil
  locale-coding-system: cp1252
  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
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

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

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail regexp-opt rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils time-date tooltip ediff-hook
vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-lisp w32-win
w32-vars tool-bar dnd fontset image fringe lisp-mode register page
menu-bar rfn-eshadow timer select scroll-bar 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 minibuffer loaddefs
button faces cus-face files text-properties overlay sha1 md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process multi-tty emacs)
[backtrace.txt (text/plain, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#11587; Package emacs. (Wed, 30 May 2012 14:19:01 GMT) Full text and rfc822 format available.

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

From: Chong Yidong <cyd <at> gnu.org>
To: "Lars Ljung" <lars <at> matholka.se>
Cc: 11587 <at> debbugs.gnu.org
Subject: Re: bug#11587: 24.0.97; Crash with global-linum-mode and info
Date: Wed, 30 May 2012 22:17:01 +0800
"Lars Ljung" <lars <at> matholka.se> writes:

> Emacs will crash if global-linum-mode is enabled the first time I go to
> the info directory. This can be reproduced every time using this sequence:
>
> "C:\Program Files\GNU Emacs 24\bin\runemacs.exe" -Q
> M-x global-linum-mode
> C-h i
>
> It seems like the crash happens every time a new info buffer is created.
> If I first do C-h i and the M-x global-linum-mode it doesn't crash at the
> next C-h i. However, it will then crash when I try to go to any info node.

I can't reproduce this on GNU Emacs 24.0.97.3 (x86_64-unknown-linux-gnu,
GTK+ Version 3.2.0).  Maybe a Windows-specific problem; could you
provide a backtrace?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#11587; Package emacs. (Wed, 30 May 2012 14:31:02 GMT) Full text and rfc822 format available.

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

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Chong Yidong <cyd <at> gnu.org>
Cc: Eli Zaretskii <eliz <at> gnu.org>, Lars Ljung <lars <at> matholka.se>,
	11587 <at> debbugs.gnu.org
Subject: Re: bug#11587: 24.0.97; Crash with global-linum-mode and info
Date: Wed, 30 May 2012 16:27:33 +0200
On Wed, May 30, 2012 at 4:17 PM, Chong Yidong <cyd <at> gnu.org> wrote:

> I can't reproduce this on GNU Emacs 24.0.97.3 (x86_64-unknown-linux-gnu,
> GTK+ Version 3.2.0).  Maybe a Windows-specific problem; could you
> provide a backtrace?

Reproducible on Windows (24.0.97 and trunk).

Breakpoint 1, w32_abort () at w32fns.c:7189
7189      button = MessageBox (NULL,
(gdb) bt
#0  w32_abort () at w32fns.c:7189
#1  0x011e63a9 in pop_it (it=0x88c9a8) at xdisp.c:5799
#2  0x011ea6e6 in set_iterator_to_next (it=0x88c9a8, reseat_p=1) at xdisp.c:7218
#3  0x011eeca4 in move_it_to (it=0x88c9a8, to_charpos=227, to_x=-1,
to_y=-1, to_vpos=1, op=12) at xdisp.c:8779
#4  0x011ef19d in move_it_vertically_backward (it=0x88db60, dy=256) at
xdisp.c:8914
#5  0x01205ed8 in redisplay_window (window=60256773,
just_this_one_p=0) at xdisp.c:15864
#6  0x011feb0c in redisplay_window_0 (window=60256773) at xdisp.c:13777
#7  0x010317d6 in internal_condition_case_1 (bfun=0x11fead9
<redisplay_window_0>, arg=60256773, handlers=55212798,
    hfun=0x11feab8 <redisplay_window_error>) at eval.c:1355
#8  0x011fea9f in redisplay_windows (window=60256773) at xdisp.c:13757
#9  0x011fcf0a in redisplay_internal () at xdisp.c:13330
#10 0x011f9f28 in redisplay () at xdisp.c:12545
#11 0x010089de in read_char (commandflag=1, nmaps=2, maps=0x88f980,
prev_event=55228442, used_mouse_menu=0x88fa58, end_time=0x0) at
keyboard.c:2452
#12 0x0101c18d in read_key_sequence (keybuf=0x88fbd4, bufsize=30,
prompt=55228442, dont_downcase_last=0, can_return_switch_frame=1,
    fix_current_buffer=1) at keyboard.c:9349
#13 0x01005c6f in command_loop_1 () at keyboard.c:1453
#14 0x010316ee in internal_condition_case (bfun=0x1005677
<command_loop_1>, handlers=55286146, hfun=0x1004e73 <cmd_error>) at
eval.c:1317
#15 0x010052b0 in command_loop_2 (ignore=55228442) at keyboard.c:1158
#16 0x01031113 in internal_catch (tag=55284194, func=0x100528c
<command_loop_2>, arg=55228442) at eval.c:1074
#17 0x0100526c in command_loop () at keyboard.c:1137
#18 0x01004848 in recursive_edit_1 () at keyboard.c:757
#19 0x01004b63 in Frecursive_edit () at keyboard.c:821
#20 0x010028b6 in main (argc=2, argv=0x962db0) at emacs.c:1711
(gdb)




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#11587; Package emacs. (Wed, 30 May 2012 15:26:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Chong Yidong <cyd <at> gnu.org>
Cc: lars <at> matholka.se, 11587 <at> debbugs.gnu.org
Subject: Re: bug#11587: 24.0.97; Crash with global-linum-mode and info
Date: Wed, 30 May 2012 18:23:03 +0300
> From: Chong Yidong <cyd <at> gnu.org>
> Date: Wed, 30 May 2012 22:17:01 +0800
> Cc: 11587 <at> debbugs.gnu.org
> 
> "Lars Ljung" <lars <at> matholka.se> writes:
> 
> > Emacs will crash if global-linum-mode is enabled the first time I go to
> > the info directory. This can be reproduced every time using this sequence:
> >
> > "C:\Program Files\GNU Emacs 24\bin\runemacs.exe" -Q
> > M-x global-linum-mode
> > C-h i
> >
> > It seems like the crash happens every time a new info buffer is created.
> > If I first do C-h i and the M-x global-linum-mode it doesn't crash at the
> > next C-h i. However, it will then crash when I try to go to any info node.
> 
> I can't reproduce this on GNU Emacs 24.0.97.3 (x86_64-unknown-linux-gnu,
> GTK+ Version 3.2.0).  Maybe a Windows-specific problem; could you
> provide a backtrace?

I can reproduce it, and I'm working on a fix.




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Wed, 30 May 2012 18:14:01 GMT) Full text and rfc822 format available.

Notification sent to "Lars Ljung" <lars <at> matholka.se>:
bug acknowledged by developer. (Wed, 30 May 2012 18:14:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: cyd <at> gnu.org, lars <at> matholka.se, 11587-done <at> debbugs.gnu.org
Subject: Re: bug#11587: 24.0.97; Crash with global-linum-mode and info
Date: Wed, 30 May 2012 21:11:47 +0300
> Date: Wed, 30 May 2012 18:23:03 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: lars <at> matholka.se, 11587 <at> debbugs.gnu.org
> 
> > From: Chong Yidong <cyd <at> gnu.org>
> > Date: Wed, 30 May 2012 22:17:01 +0800
> > Cc: 11587 <at> debbugs.gnu.org
> > 
> > "Lars Ljung" <lars <at> matholka.se> writes:
> > 
> > > Emacs will crash if global-linum-mode is enabled the first time I go to
> > > the info directory. This can be reproduced every time using this sequence:
> > >
> > > "C:\Program Files\GNU Emacs 24\bin\runemacs.exe" -Q
> > > M-x global-linum-mode
> > > C-h i
> > >
> > > It seems like the crash happens every time a new info buffer is created.
> > > If I first do C-h i and the M-x global-linum-mode it doesn't crash at the
> > > next C-h i. However, it will then crash when I try to go to any info node.
> > 
> > I can't reproduce this on GNU Emacs 24.0.97.3 (x86_64-unknown-linux-gnu,
> > GTK+ Version 3.2.0).  Maybe a Windows-specific problem; could you
> > provide a backtrace?
> 
> I can reproduce it, and I'm working on a fix.

I think I fixed it, please test (revision 108024 on the emacs-24
branch).




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

This bug report was last modified 11 years and 305 days ago.

Previous Next


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