From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: nvp Newsgroups: gmane.emacs.bugs Subject: bug#63808: 30.0.50; Infinite loop in info-lookup-guess-gdb-script-symbol Date: Tue, 30 May 2023 14:35:44 -0700 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000fdb53305fceffc17" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11043"; mail-complaints-to="usenet@ciao.gmane.io" To: 63808@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 30 23:37:23 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q471v-0002h1-KJ for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 30 May 2023 23:37:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q471f-0006DX-AZ; Tue, 30 May 2023 17:37:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q471b-0006Ck-M8 for bug-gnu-emacs@gnu.org; Tue, 30 May 2023 17:37:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q471a-0008TL-JM for bug-gnu-emacs@gnu.org; Tue, 30 May 2023 17:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q471a-0003jx-2S for bug-gnu-emacs@gnu.org; Tue, 30 May 2023 17:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: nvp Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 May 2023 21:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63808 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.168548256714314 (code B ref -1); Tue, 30 May 2023 21:37:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 May 2023 21:36:07 +0000 Original-Received: from localhost ([127.0.0.1]:34419 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q470g-0003in-Qd for submit@debbugs.gnu.org; Tue, 30 May 2023 17:36:07 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:53634) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q470e-0003if-2C for submit@debbugs.gnu.org; Tue, 30 May 2023 17:36:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q470b-00034O-IC for bug-gnu-emacs@gnu.org; Tue, 30 May 2023 17:36:02 -0400 Original-Received: from mail-oi1-x22d.google.com ([2607:f8b0:4864:20::22d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q470X-0008NF-Eg for bug-gnu-emacs@gnu.org; Tue, 30 May 2023 17:36:01 -0400 Original-Received: by mail-oi1-x22d.google.com with SMTP id 5614622812f47-39a3f2668d5so680563b6e.1 for ; Tue, 30 May 2023 14:35:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685482555; x=1688074555; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=4kcO+kWf+sOYNbLAYQGBm3wBMXmD+O5QLRp8ertQAm0=; b=AwRtjVrZeTVlQBoKt78qHwJMNE6lFoq/4xLF8+S45yanbi3bQgxPIy4ZBIqXB7UnUj HznCK3TggIroW1jlI5alJq01GK9NvUJ4d9uwPq1DvmEqDAcJyI+AOxp3hcItQ7oSNw2l L/QjwNT422zSVbzrNTla1U7hOSPjJmBn/PbxCIAIvMPA7ezS6CHIRg/BjpNmmGynCR7d fJerwsAIxx0TGxHFy7omKZnRmwOUqThi8p4PH/U9iKOuQjgOn23kaSo+u1H8U/08ZD+s Dgu8I/SJ78+tbKe4zZllFWb3+9juvKZ6WM9lfUGFN0AeUEDRIGJGFqDom5km675lUorZ pRxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685482555; x=1688074555; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=4kcO+kWf+sOYNbLAYQGBm3wBMXmD+O5QLRp8ertQAm0=; b=YAP4AfnetAe1lKb4ShEqn2rjyvbJ3P5rpb2f0GsFlF4l9ChN5nm1utBgDViON7+a5E A/nm3p09xDnlumfzX9si7FEefSp9lgUDqdVFwL5YnTuwkhEms866iwbl5nxmVLA1nwEl RO4+h+Z6GCI49kwX0lf8ajjvZsfIvR+GnjUHKLzlSBcOWThFWCn87W+wuSUGqgyChksM +dkt1HibTwopAnGkWRqBXpUHyqwBrGQR0WQXsylKxifAmgXVzPnxcC36lhsvOBwHKWAO g1Ff+lsMtrTtM3VQB5zdkYxdjCzyefepRaBKMBLJerLbWYfd7r72abrM/Nx7DXOb6L11 jXhg== X-Gm-Message-State: AC+VfDw3iMJ3Vw1rqx1PSyCwYYKef7pov3Xt0PgaudQ00pPf8Vg8WIBy dN6P8QcmUtOtGaBltnKoUg3IPhjruqHPzw4+n60L16sM/f0zkw== X-Google-Smtp-Source: ACHHUZ7aLcwYLusSVsXhjioEEg7fqruVgMJ7TMMU/9EVv9FgKQ5ctGMdNs2LZyl4bOndCHL+Rd31aAYYhXDWsUS67tQ= X-Received: by 2002:a05:6808:97:b0:397:f94e:4321 with SMTP id s23-20020a056808009700b00397f94e4321mr1801870oic.23.1685482555420; Tue, 30 May 2023 14:35:55 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::22d; envelope-from=noah.v.peart@gmail.com; helo=mail-oi1-x22d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:262642 Archived-At: --000000000000fdb53305fceffc17 Content-Type: text/plain; charset="UTF-8" In a gdb-script-mode buffer, eg. .gdbinit with the cursor (|) in the following position: de| Calling `M-x info-complete-symbol' causes an infinite loop. In the function `info-lookup-guess-gdb-script-symbol' the result of `nbutlist' isn't being assigned back to variable. In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.16.0) of 2023-05-10 built on noah-X580VD Repository revision: e4c8ba6c0589f1ba0ba9993c4f1e9c0821d3ca6c Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101004 System Description: Ubuntu 22.04.2 LTS Configured using: 'configure --prefix=/usr/local --with-modules --with-tree-sitter --with-threads --with-x-toolkit=gtk3 --with-xwidgets --with-gnutls --with-json --with-mailutils --with-jpeg --with-png --with-rsvg --with-tiff --with-xml2 --with-xpm --with-imagemagick CC=gcc-12 CXX=gcc-12' Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ IMAGEMAGICK JPEG JSON LCMS2 LIBSELINUX LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM XWIDGETS GTK3 ZLIB Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-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 line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date subr-x mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads xwidget-internal dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process emacs) Memory information: ((conses 16 36390 13118) (symbols 48 5185 0) (strings 32 13155 2159) (string-bytes 1 371375) (vectors 16 9303) (vector-slots 8 149001 11186) (floats 8 21 27) (intervals 56 228 0) (buffers 984 10)) --000000000000fdb53305fceffc17 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
In a gdb-script-mode buffer, eg. .gdbinit with the cursor = (|) in
the following position:

de|

Calling `M-x info-compl= ete-symbol' causes an infinite loop. In the
function `info-lookup-gu= ess-gdb-script-symbol' the result
of `nbutlist' isn't being = assigned back to variable.


In GNU Emacs 30.0.50 (build 1, x86_64= -pc-linux-gnu, GTK+ Version
=C2=A03.24.33, cairo version 1.16.0) of 2023= -05-10 built on noah-X580VD
Repository revision: e4c8ba6c0589f1ba0ba9993= c4f1e9c0821d3ca6c
Repository branch: master
Windowing system distribu= tor 'The X.Org Foundation', version 11.0.12101004
System Descrip= tion: Ubuntu 22.04.2 LTS

Configured using:
=C2=A0'configure -= -prefix=3D/usr/local --with-modules --with-tree-sitter
=C2=A0--with-thre= ads --with-x-toolkit=3Dgtk3 --with-xwidgets --with-gnutls
=C2=A0--with-j= son --with-mailutils --with-jpeg --with-png --with-rsvg
=C2=A0--with-tif= f --with-xml2 --with-xpm --with-imagemagick CC=3Dgcc-12
=C2=A0CXX=3Dgcc-= 12'

Configured features:
CAIRO DBUS FREETYPE GIF GLIB GMP GNU= TLS GPM GSETTINGS HARFBUZZ
IMAGEMAGICK JPEG JSON LCMS2 LIBSELINUX LIBXML= 2 MODULES NOTIFY INOTIFY
PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS = TIFF TOOLKIT_SCROLL_BARS
TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM XWIDG= ETS GTK3 ZLIB

Important settings:
=C2=A0 value of $LANG: en_US.UT= F-8
=C2=A0 value of $XMODIFIERS: @im=3Dibus
=C2=A0 locale-coding-syst= em: utf-8-unix

Major mode: Lisp Interaction

Minor modes in ef= fect:
=C2=A0 tooltip-mode: t
=C2=A0 global-eldoc-mode: t
=C2=A0 el= doc-mode: t
=C2=A0 show-paren-mode: t
=C2=A0 electric-indent-mode: t<= br>=C2=A0 mouse-wheel-mode: t
=C2=A0 tool-bar-mode: t
=C2=A0 menu-bar= -mode: t
=C2=A0 file-name-shadow-mode: t
=C2=A0 global-font-lock-mode= : t
=C2=A0 font-lock-mode: t
=C2=A0 blink-cursor-mode: t
=C2=A0 li= ne-number-mode: t
=C2=A0 indent-tabs-mode: t
=C2=A0 transient-mark-mo= de: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption-mode: t<= br>=C2=A0 auto-compression-mode: t

Load-path shadows:
None found.=

Features:
(shadow sort mail-extr emacsbug message mailcap yank-m= edia puny dired
dired-loaddefs rfc822 mml mml-sec password-cache epa der= ived epg rfc6068
epg-config gnus-util text-property-search time-date sub= r-x mm-decode
mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-util= s mailheader
cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-u= til
mail-prsvr mail-utils rmc iso-transl tooltip cconv eldoc paren elect= ric
uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel
te= rm/x-win x-win term/common-win x-dnd tool-bar dnd fontset image
regexp-o= pt fringe tabulated-list replace newcomment text-mode lisp-mode
prog-mod= e register page tab-bar menu-bar rfn-eshadow isearch easymenu
timer sele= ct scroll-bar mouse jit-lock font-lock syntax font-core
term/tty-colors = frame minibuffer nadvice seq simple cl-generic
indonesian philippine cha= m georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao kor= ean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech europea= n ethiopic indian cyrillic chinese
composite emoji-zwj charscript charpr= op case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-pre= loaded button loaddefs
theme-loaddefs faces cus-face macroexp files wind= ow text-properties
overlay sha1 md5 base64 format env code-pages mule cu= stom widget keymap
hashtable-print-readable backquote threads xwidget-in= ternal dbusbind
inotify lcms2 dynamic-setting system-font-setting font-r= ender-setting
cairo move-toolbar gtk x-toolkit xinput2 x multi-tty
ma= ke-network-process emacs)

Memory information:
((conses 16 36390 1= 3118)
=C2=A0(symbols 48 5185 0)
=C2=A0(strings 32 13155 2159)
=C2= =A0(string-bytes 1 371375)
=C2=A0(vectors 16 9303)
=C2=A0(vector-slot= s 8 149001 11186)
=C2=A0(floats 8 21 27)
=C2=A0(intervals 56 228 0)=C2=A0(buffers 984 10))
--000000000000fdb53305fceffc17--