GNU bug report logs - #9720
gdb-mi hangs

Previous Next

Package: emacs;

Reported by: Michael Veksler <mveksler <at> tx.technion.ac.il>

Date: Mon, 10 Oct 2011 18:56:02 UTC

Severity: normal

Merged with 6962

Fixed in version 24.0.93

Done: Glenn Morris <rgm <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 9720 in the body.
You can then email your comments to 9720 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#9720; Package emacs. (Mon, 10 Oct 2011 18:56:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michael Veksler <mveksler <at> tx.technion.ac.il>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 10 Oct 2011 18:56:02 GMT) Full text and rfc822 format available.

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

From: Michael Veksler <mveksler <at> tx.technion.ac.il>
To: bug-gnu-emacs <at> gnu.org
Subject: gdb-mi hangs
Date: Mon, 10 Oct 2011 20:50:50 +0200
[Message part 1 (text/plain, inline)]
Hello,

The behavior I see seems to be related to bug 6962. I attach a backtrace 
of the emacs process.

While trying out the latest emacs from the git repository (similarly, 
gdb from git) I encountered an hang. This happens when I debug my C++ 
code under the new gdb-mi interface.


I am no git expert and can't tell you the exact version of emacs. The 
last commit on my sandbox repository is:

commit 520888a9da6c3c27122c2597f757e88c81b97989
Author: Paul Eggert <eggert <at> cs.ucla.edu>
Date:   Fri Oct 7 00:23:44 2011 -0700

The hang happens when the inferior terminates.

Sometimes it helps to kill the GDB process and press ctrl-g. It did not 
help this time.

---

Thanks

Michael

[trace (text/plain, attachment)]

Merged 6962 9720. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 24 Oct 2011 19:47:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#9720; Package emacs. (Sat, 29 Oct 2011 00:22:02 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: Michael Veksler <mveksler <at> tx.technion.ac.il>
Cc: 9720 <at> debbugs.gnu.org
Subject: Re: bug#9720: gdb-mi hangs
Date: Fri, 28 Oct 2011 20:19:25 -0400
I think this might have been fixed by the fix for bug#9839.
Please try the Emacs trunk or the 24.0.91 pretest when it appears and
let us know if you still see this issue.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#9720; Package emacs. (Sun, 30 Oct 2011 13:46:02 GMT) Full text and rfc822 format available.

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

From: Michael Veksler <mveksler <at> tx.technion.ac.il>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 9720 <at> debbugs.gnu.org
Subject: Re: bug#9720: gdb-mi hangs
Date: Sun, 30 Oct 2011 15:43:42 +0200
Hello,

On 10/29/2011 02:19 AM, Glenn Morris wrote:
> I think this might have been fixed by the fix for bug#9839.
> Please try the Emacs trunk or the 24.0.91 pretest when it appears and
> let us know if you still see this issue.
>
I am not 100% positive whether this fixed the issue or not. I am no 
longer able to
reproduce the exact scenario with the older emacs. When I try then emacs 
takes
100% CPU but no longer hang, which is similar but not identical to the 
reported
issue.

With the newest emacs from git, it no longer takes 100% CPU when the 
inferior
terminates. This is a substantial improvement but I am not sure that the 
update
fixes the same bug I previously saw. I suspect that there were two 
related bugs,
and the developers fixed the bug that used to trigger the second one. It 
is just
a hunch; I can't back it up.

I'll work with the newer emacs and report if the issue recurs.

--
Michael






bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 03 Jan 2012 12:24:03 GMT) Full text and rfc822 format available.

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

Previous Next


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