GNU bug report logs - #5712
23.1.94; gdb freeze

Previous Next

Package: emacs;

Reported by: Leo <sdl.web <at> gmail.com>

Date: Fri, 12 Mar 2010 17:05:01 UTC

Severity: normal

Merged with 5404

Done: Steve Revilak <steve <at> srevilak.net>

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 5712 in the body.
You can then email your comments to 5712 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#5712; Package emacs. (Fri, 12 Mar 2010 17:05:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Leo <sdl.web <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 12 Mar 2010 17:05:02 GMT) Full text and rfc822 format available.

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

From: Leo <sdl.web <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.1.94; gdb freeze
Date: Fri, 12 Mar 2010 16:48:23 +0000
This is the first time I use gdb from within Emacs so I am not sure if I
am following the right practice. But it is so easy to trigger this that
I think it might be a bug.

1. emacs -Q
2. M-x gdb
3. type in whatever string (in my case I use att hoping it will complete
   to attach) and then hit TAB
4. emacs freezes although I can hit C-g to get it back

If I run gdb in the console, it does the completion correctly.


In GNU Emacs 23.1.94.1 (x86_64-apple-darwin10.2.0, Carbon Version 1.6.0 AppKit 1038.25)
 of 2010-03-12 on Victoria.local
Windowing system distributor `Apple Inc.', version 10.6.2
configured using `configure  '--prefix=/usr/local/unix/emacs' '--with-mac''

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_GB.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Debugger





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5712; Package emacs. (Fri, 12 Mar 2010 17:33:01 GMT) Full text and rfc822 format available.

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

From: Dan Nicolaescu <dann <at> ics.uci.edu>
To: Leo <sdl.web <at> gmail.com>
Cc: 5712 <at> debbugs.gnu.org
Subject: Re: bug#5712: 23.1.94; gdb freeze
Date: Fri, 12 Mar 2010 09:32:16 -0800 (PST)
Leo <sdl.web <at> gmail.com> writes:

  > This is the first time I use gdb from within Emacs so I am not sure if I
  > am following the right practice. But it is so easy to trigger this that
  > I think it might be a bug.
  > 
  > 1. emacs -Q
  > 2. M-x gdb
  > 3. type in whatever string (in my case I use att hoping it will complete
  >    to attach) and then hit TAB
  > 4. emacs freezes although I can hit C-g to get it back
  > 
  > If I run gdb in the console, it does the completion correctly.
  > 
  > 
  > In GNU Emacs 23.1.94.1 (x86_64-apple-darwin10.2.0, Carbon Version 1.6.0 AppKit 1038.25)
                                                          ^^^^^^^^^^^^^^^^^^^^
  > configured using `configure  '--prefix=/usr/local/unix/emacs' '--with-mac''
                                                                ^^^^^^^^^^^^^^^

We don't support such toolkits and options, this version of emacs does
not come from here, this is not the proper place to report bugs in such
a version.  
So this bug can be closed.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5712; Package emacs. (Fri, 12 Mar 2010 18:16:01 GMT) Full text and rfc822 format available.

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

From: Leo <sdl.web <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#5712: 23.1.94; gdb freeze
Date: Fri, 12 Mar 2010 18:14:51 +0000
On 2010-03-12 17:32 +0000, Dan Nicolaescu wrote:
> We don't support such toolkits and options, this version of emacs does
> not come from here, this is not the proper place to report bugs in
> such a version. So this bug can be closed.

Sorry to include that confusing information. I did test the build with-x
on OSX leopard and it exhibits the same problem both in X and in the
terminal versions of Emacs.

Leo






Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5712; Package emacs. (Fri, 12 Mar 2010 19:36:02 GMT) Full text and rfc822 format available.

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

From: Leo <sdl.web <at> googlemail.com>
To: Dan Nicolaescu <dann <at> ics.uci.edu>
Cc: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#5712: 23.1.94; gdb freeze
Date: Fri, 12 Mar 2010 19:35:15 +0000
Hello Dan,

On 12 March 2010 18:42, Dan Nicolaescu <dann <at> ics.uci.edu> wrote:
> Leo <sdl.web <at> gmail.com> writes:
>
>  > On 2010-03-12 17:32 +0000, Dan Nicolaescu wrote:
>  > > We don't support such toolkits and options, this version of emacs does
>  > > not come from here, this is not the proper place to report bugs in
>  > > such a version. So this bug can be closed.
>  >
>  > Sorry to include that confusing information. I did test the build with-x
>  > on OSX leopard and it exhibits the same problem both in X and in the
>  > terminal versions of Emacs.
>
> Was this built from our code base or from something else?

Straight from the tarball posted by Yidong.

Leo





Merged 5404 5712. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 12 Mar 2010 20:10:03 GMT) Full text and rfc822 format available.

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5712; Package emacs. (Sat, 13 Mar 2010 08:45:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>
Cc: 5712 <at> debbugs.gnu.org, emacs-devel <at> gnu.org
Subject: Re: GDB on Mac is Broken
Date: Sat, 13 Mar 2010 10:43:14 +0200
> Date: Sat, 13 Mar 2010 17:05:41 +0900
> From: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>
> Cc: emacs-devel <at> gnu.org
> 
> I should have been explained more why the difference in EOL conversion
> affects this issue.  The hang in Emacs 23 on Mac OS X is caused by
> unexpected ^M at EOL when processing gdb output.  Gdb actually outputs
> ^M, but GUD in Emacs 22 did not see ^M because it used dos (CRLF) EOL
> conversion due to the comint code I showed in my previous mail.

Ah, thanks -- this is the missing piece, then.  Is this ^M specific to
OS X, or does it happen on GNU/Linux as well?  We should probably add
this info to the bug report (CC'ed).

In any case, I think it's GUD that needs to explicitly set the
decoding part of process-coding-system to handle CRLF, either on OS X
or on all platforms.  The two places you show whose changes contribute
to this problem are too general to modify them now in order to solve
this specific problem, IMO.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5712; Package emacs. (Sat, 13 Mar 2010 14:22:02 GMT) Full text and rfc822 format available.

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

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Dan Nicolaescu <dann <at> ics.uci.edu>
Cc: Leo <sdl.web <at> gmail.com>, 5712 <at> debbugs.gnu.org
Subject: Re: bug#5712: 23.1.94; gdb freeze
Date: Sat, 13 Mar 2010 09:21:22 -0500
>> This is the first time I use gdb from within Emacs so I am not sure if I
>> am following the right practice. But it is so easy to trigger this that
>> I think it might be a bug.
>> 
>> 1. emacs -Q
>> 2. M-x gdb
>> 3. type in whatever string (in my case I use att hoping it will complete
>> to attach) and then hit TAB
>> 4. emacs freezes although I can hit C-g to get it back
>> 
>> If I run gdb in the console, it does the completion correctly.
>> 
>> 
>> In GNU Emacs 23.1.94.1 (x86_64-apple-darwin10.2.0, Carbon Version 1.6.0 AppKit 1038.25)
>                                                           ^^^^^^^^^^^^^^^^^^^^
>> configured using `configure  '--prefix=/usr/local/unix/emacs' '--with-mac''
>                                                                 ^^^^^^^^^^^^^^^

> We don't support such toolkits and options, this version of emacs does
> not come from here, this is not the proper place to report bugs in
> such a version.   So this bug can be closed.

Actually, this looks like a known problem with Apple's GDB which uses
inconsistent EOLs somewhere, IIRC.  If Leo could try to use install the
vanilla GDB (rather than Apple's version), we could probably confirm it.


        Stefan





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5712; Package emacs. (Sat, 13 Mar 2010 19:36:01 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Dan Nicolaescu <dann <at> ics.uci.edu>, Leo <sdl.web <at> gmail.com>,
	5712 <at> debbugs.gnu.org
Subject: Re: bug#5712: 23.1.94; gdb freeze
Date: Sat, 13 Mar 2010 14:35:36 -0500
Stefan Monnier wrote:

> Actually, this looks like a known problem with Apple's GDB which uses
> inconsistent EOLs somewhere, IIRC.  If Leo could try to use install the
> vanilla GDB (rather than Apple's version), we could probably confirm it.

See http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5404, of which this
appears to be a duplicate.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 14 Feb 2011 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 14 years and 131 days ago.

Previous Next


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