GNU bug report logs - #13717
scrolling very fast makes emacs-nox segfault

Previous Next

Package: emacs;

Reported by: Troy Sankey <sankeytms <at> gmail.com>

Date: Fri, 15 Feb 2013 05:33:02 UTC

Severity: important

Fixed in version 24.3

Done: Glenn Morris <rgm <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 13717 in the body.
You can then email your comments to 13717 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#13717; Package emacs. (Fri, 15 Feb 2013 05:33:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Troy Sankey <sankeytms <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 15 Feb 2013 05:33:02 GMT) Full text and rfc822 format available.

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

From: Troy Sankey <sankeytms <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: scrolling very fast makes emacs-nox segfault
Date: Thu, 14 Feb 2013 19:42:09 -0800
Steps:
1. install GNU Emacs 24.2 (openSUSE 12.2)
2. delete ~/.emacs
3. open gnome-terminal (I'm using gnome-shell)
4. $ emacs-nox
5. scroll very fast -- I've tried both mouse wheel and touchpad
6. segfault

I can't get a proper backtrace because I don't have the appropriate
debugging symbols. I've installed emacs-debuginfo and
emacs-nox-debuginfo, but that did not help.

Troy





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13717; Package emacs. (Fri, 15 Feb 2013 08:03:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Troy Sankey <sankeytms <at> gmail.com>
Cc: 13717 <at> debbugs.gnu.org
Subject: Re: bug#13717: scrolling very fast makes emacs-nox segfault
Date: Fri, 15 Feb 2013 10:01:52 +0200
> From: Troy Sankey <sankeytms <at> gmail.com>
> Date: Thu, 14 Feb 2013 19:42:09 -0800
> 
> Steps:
> 1. install GNU Emacs 24.2 (openSUSE 12.2)
> 2. delete ~/.emacs
> 3. open gnome-terminal (I'm using gnome-shell)
> 4. $ emacs-nox
> 5. scroll very fast -- I've tried both mouse wheel and touchpad
> 6. segfault

Scroll which file?  The *scratch* buffer is too short, and cannot be
scrolled.

> I can't get a proper backtrace because I don't have the appropriate
> debugging symbols. I've installed emacs-debuginfo and
> emacs-nox-debuginfo, but that did not help.

I hope someone can post a backtrace, because this is 100% not
reproducible on my system (but I don't have gnome-terminal or
gnome-shell).

Also, could you perhaps try a recent pretest of Emacs 24.3?  If that
problem doesn't exist there, it probably was already solved.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13717; Package emacs. (Fri, 15 Feb 2013 08:34:01 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 13717 <at> debbugs.gnu.org, Troy Sankey <sankeytms <at> gmail.com>
Subject: Re: bug#13717: scrolling very fast makes emacs-nox segfault
Date: Fri, 15 Feb 2013 03:32:21 -0500
Eli Zaretskii wrote:

> I hope someone can post a backtrace, because this is 100% not
> reproducible on my system (but I don't have gnome-terminal or
> gnome-shell).

Nor on mine (I did try gnome-terminal inside gnome-shell, and scrolled
24.2 as fast as I could).




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13717; Package emacs. (Fri, 15 Feb 2013 18:27:01 GMT) Full text and rfc822 format available.

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

From: Troy Sankey <sankeytms <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 13717 <at> debbugs.gnu.org
Subject: Re: bug#13717: scrolling very fast makes emacs-nox segfault
Date: Fri, 15 Feb 2013 10:25:57 -0800
[Message part 1 (text/plain, inline)]
> Scroll which file?  The *scratch* buffer is too short, and cannot be
> scrolled.

Yes, the *scratch* buffer (but any buffer will do). It doesn't visually
scroll, but on my machine scrolling produces a lot of audible bells and
emacs keeps saying "Beginning/End of buffer".

> I hope someone can post a backtrace, because this is 100% not
> reproducible on my system (but I don't have gnome-terminal or
> gnome-shell).

I was able to produce a backtrace by ensuring my *-debuginfo packages
were the same version as my emacs packages :P  I'm not entirely sure how
this bug tracker takes pastes... so I've attached it. Also mirrored
here: http://eserver.sytes.net/tmp/emacs-nox-scrolling-bt.txt

> Also, could you perhaps try a recent pretest of Emacs 24.3?  If that
> problem doesn't exist there, it probably was already solved.

I'm a little busy, but I'll get back to compiling emacs later today.
[emacs-nox-scrolling-bt.txt (text/plain, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13717; Package emacs. (Sun, 17 Feb 2013 06:07:02 GMT) Full text and rfc822 format available.

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

From: Troy Sankey <sankeytms <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Glenn Morris <rgm <at> gnu.org>, 13717 <at> debbugs.gnu.org
Subject: Re: bug#13717: scrolling very fast makes emacs-nox segfault
Date: Sat, 16 Feb 2013 22:05:08 -0800
> I'm a little busy, but I'll get back to compiling emacs later today.

I compiled trunk, and it does not segfault no matter how fast I scroll.

I used the following flags:

 --with-gpm \
 --without-x \
 --without-sound \
 --without-sync-input \
 --without-xpm \
 --without-jpeg \
 --without-tiff \
 --without-gif \
 --without-png

which are the same flags used in the emacs RPM for openSUSE.





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13717; Package emacs. (Sun, 17 Feb 2013 06:43:01 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: Troy Sankey <sankeytms <at> gmail.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 13717 <at> debbugs.gnu.org
Subject: Re: bug#13717: scrolling very fast makes emacs-nox segfault
Date: Sun, 17 Feb 2013 01:41:25 -0500
Troy Sankey wrote:

>> I'm a little busy, but I'll get back to compiling emacs later today.
>
> I compiled trunk, and it does not segfault no matter how fast I scroll.

Could you also try

http://alpha.gnu.org/gnu/emacs/pretest/emacs-24.2.93.tar.xz




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13717; Package emacs. (Sun, 17 Feb 2013 07:35:01 GMT) Full text and rfc822 format available.

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

From: Troy Sankey <sankeytms <at> gmail.com>
To: Glenn Morris <rgm <at> gnu.org>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 13717 <at> debbugs.gnu.org
Subject: Re: bug#13717: scrolling very fast makes emacs-nox segfault
Date: Sat, 16 Feb 2013 23:33:03 -0800
Glenn Morris wrote:

> Could you also try
> 
> http://alpha.gnu.org/gnu/emacs/pretest/emacs-24.2.93.tar.xz

Here are the results of my compile-spree:
http://alpha.gnu.org/gnu/emacs/pretest/emacs-24.2.93.tar.xz -> works
http://alpha.gnu.org/gnu/emacs/pretest/emacs-24.2.90.tar.gz -> works
ftp://ftp.gnu.org/gnu/emacs/emacs-24.2.tar.xz ---------------> crashes





Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Sun, 17 Feb 2013 19:15:01 GMT) Full text and rfc822 format available.

Notification sent to Troy Sankey <sankeytms <at> gmail.com>:
bug acknowledged by developer. (Sun, 17 Feb 2013 19:15:02 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: 13717-done <at> debbugs.gnu.org
Subject: Re: bug#13717: scrolling very fast makes emacs-nox segfault
Date: Sun, 17 Feb 2013 14:13:36 -0500
Version: 24.3

Troy Sankey wrote:

> Here are the results of my compile-spree:
> http://alpha.gnu.org/gnu/emacs/pretest/emacs-24.2.93.tar.xz -> works
> http://alpha.gnu.org/gnu/emacs/pretest/emacs-24.2.90.tar.gz -> works
> ftp://ftp.gnu.org/gnu/emacs/emacs-24.2.tar.xz ---------------> crashes

Great, thanks.
This means it (whatever it is) will be fixed in the upcoming Emacs 24.3
release.




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

This bug report was last modified 12 years and 92 days ago.

Previous Next


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