GNU bug report logs - #18138
rev. 117587 causes emacs segfault when auto-complete tests are run

Previous Next

Package: emacs;

Reported by: Vladimir Lomov <lomov.vl <at> gmail.com>

Date: Tue, 29 Jul 2014 01:44:01 UTC

Severity: normal

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 18138 in the body.
You can then email your comments to 18138 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#18138; Package emacs. (Tue, 29 Jul 2014 01:44:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Vladimir Lomov <lomov.vl <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 29 Jul 2014 01:44:02 GMT) Full text and rfc822 format available.

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

From: Vladimir Lomov <lomov.vl <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: rev. 117587 causes emacs segfault when auto-complete tests are run
Date: Tue, 29 Jul 2014 10:42:43 +0900
[Message part 1 (text/plain, inline)]
Hello,

this is another problem with rev. 117587. Starting from this revision
(including rev. 117605) emacs compiled with X support segfaults when I
run auto-complete[1] tests.

Revision 117586 with X support and emacs of revision 117605 compiled
without X support work fine. I attached output of gdb for all three
cases.

Some information about my system:
OS:           Archlinux x86_64
Compiler:     gcc (GCC) 4.9.1
gtk3:         3.12.2
xorg-server:  1.16.0
intel-video:  2.99.914
tmux:         1.9a_122_gf8481f9
rxvt-unicode: 9.20

Configuration options with X support:

  --prefix=/usr
  --sysconfdir=/etc
  --localstatedir=/var
  --libexecdir=/usr/lib
  --with-xpm
  --with-jpeg
  --with-tiff
  --with-gif
  --with-png
  --with-rsvg
  --with-x-toolkit=gtk3
  --with-xft
  --with-libotf
  --with-dbus
  --with-gsettings
  --without-sound

Configuration options without X support:

  --prefix=/usr
  --sysconfdir=/etc
  --localstatedir=/var
  --libexecdir=/usr/lib
  --with-dbus
  --without-x
  --with-gsettings
  --without-sound


[1] https://github.com/auto-complete/auto-complete

---
WBR, Vladimir Lomov

-- 
The meek shall inherit the earth; the rest of us will go to the stars.
[emacs-nox-ac-117605-test.txt (text/plain, attachment)]
[emacs-x-ac-117586-test.txt (text/plain, attachment)]
[emacs-x-ac-117605-test.txt (text/plain, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#18138; Package emacs. (Tue, 29 Jul 2014 09:22:02 GMT) Full text and rfc822 format available.

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

From: martin rudalics <rudalics <at> gmx.at>
To: Vladimir Lomov <lomov.vl <at> gmail.com>, 18138 <at> debbugs.gnu.org
Subject: Re: bug#18138: rev. 117587 causes emacs segfault when auto-complete
 tests are run
Date: Tue, 29 Jul 2014 11:21:36 +0200
> this is another problem with rev. 117587. Starting from this revision
> (including rev. 117605) emacs compiled with X support segfaults when I
> run auto-complete[1] tests.

Thanks for the report.  Can you please try again with the latest trunk?

martin




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#18138; Package emacs. (Tue, 29 Jul 2014 11:48:01 GMT) Full text and rfc822 format available.

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

From: Vladimir Lomov <lomov.vl <at> gmail.com>
To: martin rudalics <rudalics <at> gmx.at>
Cc: 18138 <at> debbugs.gnu.org
Subject: Re: bug#18138: rev. 117587 causes emacs segfault when auto-complete
 tests are run
Date: Tue, 29 Jul 2014 20:47:16 +0900
Hello,
** martin rudalics [2014-07-29 11:21:36 +0200]:

>> this is another problem with rev. 117587. Starting from this revision
>> (including rev. 117605) emacs compiled with X support segfaults when I
>> run auto-complete[1] tests.

> Thanks for the report.  Can you please try again with the latest trunk?

Thanks, now (rev. 117606) auto-complete tests are passed without segfault of
emacs.

But there is another issue with rev. 117587 not related with emacs
segfault. Seems that this revision introduced new behaviour that isn't
documented: now emacs always has a horizontal scroll bar even if
scroll-bar-mode is switched off. I tested this in following way:
- compile emacs rev. 117587 and rev. 117586:
- run
  emacs -Q
- then
  M-x scroll-bar-mode
- results:
  117586: has only vertical scroll bar, M-x ... switched it off;
  117587: has both vertical (usual) and horizontal scroll bars, running
  M-x ... switching off only vertical scroll bar.

> martin

---
WBR, Vladimir Lomov

-- 
There is perhaps in every thing of any consequence, secret history, which
it would be amusing to know, could we have it authentically communicated.
		-- James Boswell




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#18138; Package emacs. (Tue, 29 Jul 2014 14:03:02 GMT) Full text and rfc822 format available.

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

From: martin rudalics <rudalics <at> gmx.at>
To: Vladimir Lomov <lomov.vl <at> gmail.com>
Cc: 18138 <at> debbugs.gnu.org
Subject: Re: bug#18138: rev. 117587 causes emacs segfault when auto-complete
 tests are run
Date: Tue, 29 Jul 2014 16:01:41 +0200
> But there is another issue with rev. 117587 not related with emacs
> segfault. Seems that this revision introduced new behaviour that isn't
> documented: now emacs always has a horizontal scroll bar even if
> scroll-bar-mode is switched off. I tested this in following way:
> - compile emacs rev. 117587 and rev. 117586:
> - run
>    emacs -Q
> - then
>    M-x scroll-bar-mode
> - results:
>    117586: has only vertical scroll bar, M-x ... switched it off;
>    117587: has both vertical (usual) and horizontal scroll bars, running
>    M-x ... switching off only vertical scroll bar.

Yes.  Horizontal scrollbars can currently be switched on and off only
via `horizontal-scroll-bar-mode'.  I did not want `scroll-bar-mode'
switching on horizontal scroll bars as well.  We can either use three
terms `horizontal-scroll-bar-mode', `vertical-scroll-bar-mode', and
`scroll-bar-mode' (where the semantics of the latter would change) or
rename `scroll-bar-mode' to `vertical-scroll-bar-mode' keeping a
`scroll-bar-mode' alias and have only two terms.

Please file a separate report where you suggest how to improve that.

Thanks, martin




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#18138; Package emacs. (Tue, 29 Jul 2014 23:09:02 GMT) Full text and rfc822 format available.

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

From: Vladimir Lomov <lomov.vl <at> gmail.com>
To: martin rudalics <rudalics <at> gmx.at>
Cc: 18138 <at> debbugs.gnu.org
Subject: Re: bug#18138: rev. 117587 causes emacs segfault when auto-complete
 tests are run
Date: Wed, 30 Jul 2014 08:08:24 +0900
Hello,
** martin rudalics [2014-07-29 16:01:41 +0200]:

>> But there is another issue with rev. 117587 not related with emacs
>> segfault. Seems that this revision introduced new behaviour that isn't
>> documented: now emacs always has a horizontal scroll bar even if
>> scroll-bar-mode is switched off. I tested this in following way:
>> - compile emacs rev. 117587 and rev. 117586:
>> - run
>>    emacs -Q
>> - then
>>    M-x scroll-bar-mode
>> - results:
>>    117586: has only vertical scroll bar, M-x ... switched it off;
>>    117587: has both vertical (usual) and horizontal scroll bars, running
>>    M-x ... switching off only vertical scroll bar.

> Yes.  Horizontal scrollbars can currently be switched on and off only
> via `horizontal-scroll-bar-mode'.  I did not want `scroll-bar-mode'
> switching on horizontal scroll bars as well.  We can either use three
> terms `horizontal-scroll-bar-mode', `vertical-scroll-bar-mode', and
> `scroll-bar-mode' (where the semantics of the latter would change) or
> rename `scroll-bar-mode' to `vertical-scroll-bar-mode' keeping a
> `scroll-bar-mode' alias and have only two terms.

Thank you for explanation.

> Please file a separate report where you suggest how to improve that.

I'm fine as long as that feature is documented.

> Thanks, martin

---
WBR, Vladimir Lomov

-- 
Avec!




bug closed, send any further explanations to 18138 <at> debbugs.gnu.org and Vladimir Lomov <lomov.vl <at> gmail.com> Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 30 Jul 2014 00:10:02 GMT) Full text and rfc822 format available.

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

This bug report was last modified 10 years and 360 days ago.

Previous Next


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