GNU bug report logs - #33169
26.1; emacs hangs when parenthesis entered in comment

Previous Next

Packages: cc-mode, emacs;

Reported by: Paul Vogel <pfvogel <at> yahoo.com>

Date: Fri, 26 Oct 2018 20:43:01 UTC

Severity: normal

Tags: moreinfo

Found in version 26.1

Done: Lars Ingebrigtsen <larsi <at> gnus.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 33169 in the body.
You can then email your comments to 33169 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#33169; Package emacs. (Fri, 26 Oct 2018 20:43:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Paul Vogel <pfvogel <at> yahoo.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 26 Oct 2018 20:43:02 GMT) Full text and rfc822 format available.

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

From: Paul Vogel <pfvogel <at> yahoo.com>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: 26.1; emacs hangs when parenthesis entered in comment
Date: Fri, 26 Oct 2018 20:20:29 +0000 (UTC)
[Message part 1 (text/plain, inline)]
--text follows this line--
Editing a C header file and trying to add a doxygen-style comment.  Itried to enter an open parenthesis in the comment and emacs hangs.  Iwas able to replicate this multiple times.  I was able to narrow it downto these lines being present in the file:
/* make sure LogStorageTable_t is packed */COMPILE_TIME_ASSERT(sizeof(LogStorageTable_t) == ((sizeof(LogStorageArea_t) *                                                   LOG_STORAGE_NUM) +                                                  sizeof(uint16_t)));
/** hang if open parenthesis is pressed here -> 
Entering a open parenthesis in the above line causes emacs to hang.  Isent signal USR2 to the process and got the attached screen shot (sorry,couldn't cut and paste from the emacs window after the hang).


In GNU Emacs 26.1 (build 1, x86_64-unknown-cygwin, GTK+ Version 3.22.28) of 2018-05-28 built on DESKTOPRepository revision: d802fa4a0642157d7aff9a9d599785df7604e4d1Windowing system distributor 'The Cygwin/X Project', version 11.0.12000000Recent messages:Fill column set to 79 (was 70)For information about GNU Emacs and the GNU system, type <f1> C-a.Making completion list... [2 times]
Configured using: 'configure --srcdir=/home/kbrown/src/cygemacs/emacs-26.1-1.x86_64/src/emacs-26.1 --prefix=/usr --exec-prefix=/usr --localstatedir=/var --sysconfdir=/etc --docdir=/usr/share/doc/emacs --htmldir=/usr/share/doc/emacs/html -C 'CFLAGS=-ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fdebug-prefix-map=/home/kbrown/src/cygemacs/emacs-26.1-1.x86_64/build=/usr/src/debug/emacs-26.1-1 -fdebug-prefix-map=/home/kbrown/src/cygemacs/emacs-26.1-1.x86_64/src/emacs-26.1=/usr/src/debug/emacs-26.1-1' CPPFLAGS= LDFLAGS='
Configured features:XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GSETTINGS NOTIFY ACLGNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARSGTK3 X11 THREADS LCMS2
Important settings:  value of $LANG: en_US.UTF-8  locale-coding-system: utf-8-unix
Major mode: Lisp Interaction
Minor modes in effect:  tooltip-mode: t  global-eldoc-mode: t  eldoc-mode: t  electric-indent-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
Load-path shadows:None found.
Features:(shadow sort mail-extr emacsbug message rmc puny seq byte-opt gvbytecomp byte-compile cconv cl-loaddefs cl-lib dired dired-loaddefsformat-spec rfc822 mml easymenu mml-sec password-cache epa derived epgepg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encodemail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047rfc2045 ietf-drums mm-util mail-prsvr mail-utils elec-pair time-datemule-util tooltip eldoc electric uniquify ediff-hook vc-hookslisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bardnd fontset image regexp-opt fringe tabulated-list replace newcommenttext-mode elisp-mode lisp-mode prog-mode register page menu-barrfn-eshadow isearch timer select scroll-bar mouse jit-lock font-locksyntax facemenu font-core term/tty-colors frame cl-generic cham georgianutf-8-lang misc-lang vietnamese tibetan thai tai-viet lao koreanjapanese eucjp-ms cp51932 hebrew greek romanian slovak czech europeanethiopic indian cyrillic chinese composite charscript charpropcase-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffercl-preloaded nadvice loaddefs button faces cus-face macroexp filestext-properties overlay sha1 md5 base64 format env code-pages mulecustom widget hashtable-print-readable backquote dbusbind gfilenotifylcms2 dynamic-setting system-font-setting font-render-settingmove-toolbar gtk x-toolkit x multi-tty make-network-process emacs)
Memory information:((conses 16 95955 10383) (symbols 48 20382 1) (miscs 40 39 143) (strings 32 28537 1006) (string-bytes 1 747190) (vectors 16 14589) (vector-slots 8 495926 9216) (floats 8 50 87) (intervals 56 248 0) (buffers 992 12))

[Message part 2 (text/html, inline)]
[Capture.JPG (image/jpeg, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org, bug-cc-mode <at> gnu.org:
bug#33169; Package emacs,cc-mode. (Thu, 26 Nov 2020 13:03:01 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Paul Vogel <pfvogel <at> yahoo.com>
Cc: 33169 <at> debbugs.gnu.org
Subject: Re: bug#33169: 26.1; emacs hangs when parenthesis entered in comment
Date: Thu, 26 Nov 2020 14:02:03 +0100
Paul Vogel <pfvogel <at> yahoo.com> writes:

> Editing a C header file and trying to add a doxygen-style comment.  I
> tried to enter an open parenthesis in the comment and emacs hangs.  I
> was able to replicate this multiple times.  I was able to narrow it down
> to these lines being present in the file:
>
> /* make sure LogStorageTable_t is packed */
> COMPILE_TIME_ASSERT(sizeof(LogStorageTable_t) == ((sizeof(LogStorageArea_t) *
>                                                    LOG_STORAGE_NUM) +
>                                                   sizeof(uint16_t)));
>
> /** hang if open parenthesis is pressed here -> 

(This bug report unfortunately got no response at the time.)

I tried reproducing this in Emacs 27 (and 28), and I was unable to.  Do
you still see this bug in Emacs 27?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 26 Nov 2020 13:03:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org, bug-cc-mode <at> gnu.org:
bug#33169; Package emacs,cc-mode. (Mon, 11 Jan 2021 16:04:01 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Paul Vogel <pfvogel <at> yahoo.com>
Cc: 33169 <at> debbugs.gnu.org
Subject: Re: bug#33169: 26.1; emacs hangs when parenthesis entered in comment
Date: Mon, 11 Jan 2021 17:03:47 +0100
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> I tried reproducing this in Emacs 27 (and 28), and I was unable to.  Do
> you still see this bug in Emacs 27?

More information was requested, but no response was given within a 
month, so I'm closing this bug report.  If the problem still exists,
please respond to this email and we'll reopen the bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug closed, send any further explanations to 33169 <at> debbugs.gnu.org and Paul Vogel <pfvogel <at> yahoo.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 11 Jan 2021 16:05: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. (Tue, 09 Feb 2021 12:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 69 days ago.

Previous Next


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