From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Douglas Anderson Newsgroups: gmane.emacs.bugs Subject: bug#22657: 24.5; "Python Exception name 'long' is not defined" while using gdb registers buffer Date: Sat, 13 Feb 2016 22:00:49 -0700 Message-ID: Reply-To: douglas.j.anderson@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113db70ad3af98052bb3c954 X-Trace: ger.gmane.org 1455433819 16654 80.91.229.3 (14 Feb 2016 07:10:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 14 Feb 2016 07:10:19 +0000 (UTC) To: 22657@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 14 08:10:09 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aUqoq-0007En-QG for geb-bug-gnu-emacs@m.gmane.org; Sun, 14 Feb 2016 08:10:09 +0100 Original-Received: from localhost ([::1]:48204 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUqop-0002o9-S5 for geb-bug-gnu-emacs@m.gmane.org; Sun, 14 Feb 2016 02:10:07 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33198) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUqom-0002n1-9G for bug-gnu-emacs@gnu.org; Sun, 14 Feb 2016 02:10:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUqok-0004tY-Kg for bug-gnu-emacs@gnu.org; Sun, 14 Feb 2016 02:10:04 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47702) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUqok-0004tU-GX for bug-gnu-emacs@gnu.org; Sun, 14 Feb 2016 02:10:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aUqok-0002Zs-7n for bug-gnu-emacs@gnu.org; Sun, 14 Feb 2016 02:10:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Douglas Anderson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 Feb 2016 07:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 22657 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14554337549841 (code B ref -1); Sun, 14 Feb 2016 07:10:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 Feb 2016 07:09:14 +0000 Original-Received: from localhost ([127.0.0.1]:38477 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aUqnx-0002Ye-Nk for submit@debbugs.gnu.org; Sun, 14 Feb 2016 02:09:14 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:47872) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aUooD-0007nz-7n for submit@debbugs.gnu.org; Sun, 14 Feb 2016 00:01:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUoo6-0004uv-8h for submit@debbugs.gnu.org; Sun, 14 Feb 2016 00:01:16 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:34701) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUoo6-0004ur-5T for submit@debbugs.gnu.org; Sun, 14 Feb 2016 00:01:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38833) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUoo4-0007rh-FM for bug-gnu-emacs@gnu.org; Sun, 14 Feb 2016 00:01:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUoo2-0004uH-MT for bug-gnu-emacs@gnu.org; Sun, 14 Feb 2016 00:01:12 -0500 Original-Received: from mail-lf0-x22d.google.com ([2a00:1450:4010:c07::22d]:35332) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUoo2-0004ts-8v for bug-gnu-emacs@gnu.org; Sun, 14 Feb 2016 00:01:10 -0500 Original-Received: by mail-lf0-x22d.google.com with SMTP id l143so72316612lfe.2 for ; Sat, 13 Feb 2016 21:01:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:from:date:message-id:subject:to:content-type; bh=dbF/K30atJvTEIhDR7qM60hyWXVWSgUq46SNxhFXRFg=; b=v29RlLaNRfQrj5w97iTx5yeqbzA/GrYEJwC95cNXtcbPb1QNQh6rEmTR9GS2HeO+SZ riVhtRfzs5W8kQGXzrcOvSdWzNEEGpcuiA95vRi/KZukdtEyXEfhDpsQYj4YtDmekZkv CfQ0Jr7N99F5ZcIVBqB5eCBoOCtThq3cUx/KDfjT2GTVkSPCzU5EV8nA/Q4qQfHYVoIz FM6dwiAeLy7EZI9gmZPIYLFC9VfVr73RURD3tGi14Wy/UFtz/pHgYqPby8QUhbMhmG2Z ZNx+Kptti2RczL5u59LBKICfyIAcHqLbvVuo6+Hebf2LO4cO5DzO9FSiAnmAcaieSLse WXgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:reply-to:from:date:message-id :subject:to:content-type; bh=dbF/K30atJvTEIhDR7qM60hyWXVWSgUq46SNxhFXRFg=; b=KLvMH3+g6QyUBwoyglxsaD9NICi1TwokIsVJrlKmKXQV8134vt5ZT+U3qQP0QAqKxk iz5q5pTMY2jw6TEbRw36Qe5j+kYNNmKLBc8WtK87+Zg5zt1fcZrgNUUJyMgs1T6xozLU Jvjx8UufRuIDk3nqz/xgLB5VrvvefVnXCNKLau8R0KCDzpiF7Xr/xPRuPmVMaO59yC/G rIBz4uXaXh/gItgX9XSHl1Mf/GCsKV8s4toZsZkqki9gUvadb0T5kkHiZabNvAikLjCy SxnS9mhKtQft616C/g0Y45dZ4sZ3+i7QS60qKaJiHxjGiBPS57bIp8U7rMbc91v+VTO3 BaVg== X-Gm-Message-State: AG10YOT/HaLWsYalAU1mMCZPy9vls/fbOWD5AQZYuhXxEF2cEgS1jDFWaXgHBCOmkNwbzApubBZoPKc3lQHsMg== X-Received: by 10.25.44.213 with SMTP id s204mr4018419lfs.148.1455426068785; Sat, 13 Feb 2016 21:01:08 -0800 (PST) Original-Received: by 10.25.215.215 with HTTP; Sat, 13 Feb 2016 21:00:49 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Sun, 14 Feb 2016 02:09:12 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:113006 Archived-At: --001a113db70ad3af98052bb3c954 Content-Type: text/plain; charset=UTF-8 Hello, I'm using current stable on Ubuntu 15.10. Steps to reproduce: - open emacs gdb-many-windows mode (I only hit this bug if the registers buffer is open) - set a breakpoint - run The following text appears in the gud window: (gdb) Python Exception name 'long' is not defined: Python Exception name 'long' is not defined: Python Exception name 'long' is not defined: Python Exception name 'long' is not defined: Hitting enter reruns the program from the beginning. -Doug ---- In GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.16.6) of 2015-09-17 on lgw01-52, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.11702000 System Description: Ubuntu 15.10 Configured using: `configure --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.5/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.5/site-lisp:/usr/share/emacs/site-lisp --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.5/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.5/site-lisp:/usr/share/emacs/site-lisp --with-x=yes --with-x-toolkit=gtk3 --with-toolkit-scroll-bars 'CFLAGS=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall' CPPFLAGS=-D_FORTIFY_SOURCE=2 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro'' Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Debugger Minor modes in effect: gdb-many-windows: t shell-dirtrack-mode: t delete-selection-mode: t electric-pair-mode: t show-paren-mode: t electric-layout-mode: t electric-indent-mode: t mouse-wheel-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 column-number-mode: t line-number-mode: t transient-mark-mode: t Recent messages: Making completion list... Quit Making completion list... Complete, but not unique Making completion list... Complete, but not unique ~/dev/hw/cu/computer_systems/2_bomblab/bomb122 Target doesn't support non-stop mode. Turning it off. Gdb-Many-Windows mode enabled Switched to thread 1 completing-read-default: Command attempted to use minibuffer while in minibuffer Load-path shadows: /usr/share/emacs/24.5/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils thingatpt pcase vc-git ggtags etags compile ewoc disp-table cc-langs cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs pcmpl-unix gdb-mi bindat json gud easy-mmode init shell pcomplete comint ansi-color ring delsel fill-column-indicator flycheck find-func help-mode rx subr-x seq dash server exec-path-from-shell wombat-theme elec-pair cus-start cus-load paren edmacro kmacro cl-loaddefs cl-lib saveplace ido info easymenu package epg-config time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-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 nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 217848 73052) (symbols 48 29676 1) (miscs 40 285 586) (strings 32 56149 52692) (string-bytes 1 1626801) (vectors 16 28647) (vector-slots 8 1284058 121485) (floats 8 117 570) (intervals 56 830 86) (buffers 960 26) (heap 1024 71315 3522)) --001a113db70ad3af98052bb3c954 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello,

I'm using current stable on Ubuntu = 15.10.

Steps to reproduce:
=C2=A0- open emacs gdb-many-windows mo= de (I only hit this bug if the registers
buffer is open)
=C2=A0- set = a breakpoint
=C2=A0- run

The following text appears in the gud wi= ndow:
(gdb) Python Exception <class 'NameError'> name '= ;long' is not defined:
Python Exception <class 'NameError= 9;> name 'long' is not defined:
Python Exception <class &= #39;NameError'> name 'long' is not defined:
Python Excep= tion <class 'NameError'> name 'long' is not defined: =

Hitting enter reruns the program from the beginning.

-= Doug
----
In GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version= 3.16.6)
=C2=A0of 2015-09-17 on lgw01-52, modified by Debian
Windowin= g system distributor `The X.Org Foundation', version 11.0.11702000
S= ystem Description:=C2=A0=C2=A0=C2=A0 Ubuntu 15.10

Configured using:<= br>=C2=A0`configure --build x86_64-linux-gnu --prefix=3D/usr
=C2=A0--sha= redstatedir=3D/var/lib --libexecdir=3D/usr/lib
=C2=A0--localstatedir=3D/= var/lib --infodir=3D/usr/share/info
=C2=A0--mandir=3D/usr/share/man --wi= th-pop=3Dyes
=C2=A0--enable-locallisppath=3D/etc/emacs24:/etc/emacs:/usr= /local/share/emacs/24.5/site-lisp:/usr/local/share/emacs/site-lisp:/usr/sha= re/emacs/24.5/site-lisp:/usr/share/emacs/site-lisp
=C2=A0--build x86_64-= linux-gnu --prefix=3D/usr --sharedstatedir=3D/var/lib
=C2=A0--libexecdir= =3D/usr/lib --localstatedir=3D/var/lib
=C2=A0--infodir=3D/usr/share/info= --mandir=3D/usr/share/man --with-pop=3Dyes
=C2=A0--enable-locallisppath= =3D/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.5/site-lisp:/usr/local= /share/emacs/site-lisp:/usr/share/emacs/24.5/site-lisp:/usr/share/emacs/sit= e-lisp
=C2=A0--with-x=3Dyes --with-x-toolkit=3Dgtk3 --with-toolkit-scrol= l-bars
=C2=A0'CFLAGS=3D-g -O2 -fstack-protector-strong -Wformat
= =C2=A0-Werror=3Dformat-security -Wall' CPPFLAGS=3D-D_FORTIFY_SOURCE=3D2=
=C2=A0'LDFLAGS=3D-Wl,-Bsymbolic-functions -Wl,-z,relro''
Important settings:
=C2=A0 value of $LANG: en_US.UTF-8
=C2=A0 va= lue of $XMODIFIERS: @im=3Dibus
=C2=A0 locale-coding-system: utf-8-unix
Major mode: Debugger

Minor modes in effect:
=C2=A0 gdb-many= -windows: t
=C2=A0 shell-dirtrack-mode: t
=C2=A0 delete-selection-mod= e: t
=C2=A0 electric-pair-mode: t
=C2=A0 show-paren-mode: t
=C2=A0= electric-layout-mode: t
=C2=A0 electric-indent-mode: t
=C2=A0 mouse-= wheel-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 auto-composition-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0 au= to-compression-mode: t
=C2=A0 column-number-mode: t
=C2=A0 line-numbe= r-mode: t
=C2=A0 transient-mark-mode: t

Recent messages:
Makin= g completion list...
Quit
Making completion list...
Complete, but = not unique
Making completion list...
Complete, but not unique
~/de= v/hw/cu/computer_systems/2_bomblab/bomb122
Target doesn't support n= on-stop mode.=C2=A0 Turning it off.
Gdb-Many-Windows mode enabled
Swi= tched to thread 1
completing-read-default: Command attempted to use mini= buffer while in minibuffer

Load-path shadows:
/usr/share/emacs/24= .5/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup=

Features:
(shadow sort gnus-util mail-extr emacsbug message form= at-spec rfc822 mml
mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2= 231 mailabbrev
gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums = mm-util
help-fns mail-prsvr mail-utils thingatpt pcase vc-git ggtags eta= gs
compile ewoc disp-table cc-langs cc-mode cc-fonts cc-guess cc-menuscc-cmds cc-styles cc-align cc-engine cc-vars cc-defs pcmpl-unix gdb-mibindat json gud easy-mmode init shell pcomplete comint ansi-color ring
= delsel fill-column-indicator flycheck find-func help-mode rx subr-x seq
= dash server exec-path-from-shell wombat-theme elec-pair cus-start
cus-lo= ad paren edmacro kmacro cl-loaddefs cl-lib saveplace ido info
easymenu p= ackage epg-config time-date tooltip electric uniquify
ediff-hook vc-hook= s lisp-float-type mwheel x-win x-dnd tool-bar dnd
fontset image regexp-o= pt fringe tabulated-list newcomment lisp-mode
prog-mode register page me= nu-bar rfn-eshadow timer select scroll-bar
mouse jit-lock font-lock synt= ax facemenu font-core frame cham georgian
utf-8-lang misc-lang vietnames= e 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 nadvice loaddefs button faces c= us-face macroexp files
text-properties overlay sha1 md5 base64 format en= v code-pages mule
custom widget hashtable-print-readable backquote make-= network-process
dbusbind gfilenotify dynamic-setting system-font-setting=
font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs)
Memory information:
((conses 16 217848 73052)
=C2=A0(symbols 48 296= 76 1)
=C2=A0(miscs 40 285 586)
=C2=A0(strings 32 56149 52692)
=C2= =A0(string-bytes 1 1626801)
=C2=A0(vectors 16 28647)
=C2=A0(vector-sl= ots 8 1284058 121485)
=C2=A0(floats 8 117 570)
=C2=A0(intervals 56 83= 0 86)
=C2=A0(buffers 960 26)
=C2=A0(heap 1024 71315 3522))

--001a113db70ad3af98052bb3c954--