GNU bug report logs - #7815
24.0.50; "catch exception" in gdb mode is badly handled

Previous Next

Package: emacs;

Reported by: Matthieu Moy <Matthieu.Moy <at> grenoble-inp.fr>

Date: Mon, 10 Jan 2011 15:06:02 UTC

Severity: normal

Found in version 24.0.50

Done: Chong Yidong <cyd <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 7815 in the body.
You can then email your comments to 7815 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 owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7815; Package emacs. (Mon, 10 Jan 2011 15:06:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Matthieu Moy <Matthieu.Moy <at> grenoble-inp.fr>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 10 Jan 2011 15:06:02 GMT) Full text and rfc822 format available.

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

From: Matthieu Moy <Matthieu.Moy <at> grenoble-inp.fr>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.0.50; "catch exception" in gdb mode is badly handled
Date: Mon, 10 Jan 2011 16:08:02 +0100
Hi,

I'm trying to use the GDB mode of Emacs to debug Ada code.

Running M-x gdb RET RET
catch exception

raises the following:

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  propertize(nil font-lock-face font-lock-function-name-face)
  gdb-breakpoints-list-handler-custom()
  gdb-breakpoints-list-handler()
  apply(gdb-breakpoints-list-handler nil)
  (save-current-buffer ...
  (with-current-buffer ...
  (lambda (&rest args) ...
  gdb-done-or-error(...
  gud-gdbmi-marker-filter(...
  apply(gud-gdbmi-marker-filter ...
  gud-marker-filter(...
  gud-filter(...

I could reproduce this with a freshly launched "emacs -Q".

Thanks,

In GNU Emacs 24.0.50.4 (i686-pc-linux-gnu, GTK+ Version 2.12.12)
 of 2010-08-11 on bauges
Windowing system distributor `The X.Org Foundation', version 11.0.10402000
configured using `configure  '--prefix=/home/moy/local/usr/''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Debugger

Minor modes in effect:
  shell-dirtrack-mode: t
  diff-auto-refine-mode: t
  erc-track-mode: t
  recentf-mode: t
  icomplete-mode: t
  which-function-mode: t
  show-paren-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-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:
error in process filter: gdb-breakpoints-list-handler-custom: Wrong type argument: stringp, nil
error in process filter: Wrong type argument: stringp, nil
error in process filter: gdb-breakpoints-list-handler-custom: Wrong type argument: stringp, nil
error in process filter: Wrong type argument: stringp, nil
error in process filter: gdb-breakpoints-list-handler-custom: Wrong type argument: stringp, nil
error in process filter: Wrong type argument: stringp, nil
error in process filter: gdb-breakpoints-list-handler-custom: Wrong type argument: stringp, nil
error in process filter: Wrong type argument: stringp, nil
error in process filter: gdb-breakpoints-list-handler-custom: Wrong type argument: stringp, nil
error in process filter: Wrong type argument: stringp, nil

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#7815; Package emacs. (Mon, 26 Dec 2011 08:41:02 GMT) Full text and rfc822 format available.

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

From: Chong Yidong <cyd <at> gnu.org>
To: Matthieu Moy <Matthieu.Moy <at> grenoble-inp.fr>
Cc: 7815 <at> debbugs.gnu.org
Subject: Re: 24.0.50; "catch exception" in gdb mode is badly handled
Date: Mon, 26 Dec 2011 16:37:49 +0800
> I'm trying to use the GDB mode of Emacs to debug Ada code.
>
> Running M-x gdb RET RET
> catch exception
>
> raises the following:
>
> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
>   propertize(nil font-lock-face font-lock-function-name-face)
>   gdb-breakpoints-list-handler-custom()
>   gdb-breakpoints-list-handler()
>   apply(gdb-breakpoints-list-handler nil)
>   (save-current-buffer ...

Thanks for the bug report, and sorry for the long delay.  I think this
was independently fixed by Sam Steingold; if you still still see the
problem with latest trunk, please reopen the bug.

revno: 103105
committer: Sam Steingold <sds <at> gnu.org>
branch nick: trunk
timestamp: Thu 2011-02-03 14:59:17 -0500
message:
  * lisp/progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
  Do not error out when `func' is nil.




bug closed, send any further explanations to 7815 <at> debbugs.gnu.org and Matthieu Moy <Matthieu.Moy <at> grenoble-inp.fr> Request was from Chong Yidong <cyd <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 26 Dec 2011 08:41: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. (Mon, 23 Jan 2012 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 152 days ago.

Previous Next


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