all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* gdb crash under emacs in fedora11
@ 2009-06-01 14:53 David L
  2009-06-02  7:04 ` Nick Roberts
  0 siblings, 1 reply; 2+ messages in thread
From: David L @ 2009-06-01 14:53 UTC (permalink / raw
  To: help-gnu-emacs

When I run gdb under emacs and attach to a gdbserver session,
I get an error like this:

A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) y
../../gdb/findvar.c:300: internal-error: value_of_register_lazy:
Assertion `frame_id_p (get_frame_id (frame))' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB? (y or n) y

It seems to only happen when I run under emacs and use gdbserver,
so I don't know if it's a gdb problem or an emacs problem.  But
installing emacs from cvs instead of using the version that
comes with fedora11 fixes the problem.  Any thoughts on whether this
is an emacs bug, a gdb bug, a gdbserver bug or what?  It's odd
that I only get the error when using all three.

Cheers,

                David




^ permalink raw reply	[flat|nested] 2+ messages in thread

* gdb crash under emacs in fedora11
  2009-06-01 14:53 gdb crash under emacs in fedora11 David L
@ 2009-06-02  7:04 ` Nick Roberts
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Roberts @ 2009-06-02  7:04 UTC (permalink / raw
  To: David L; +Cc: help-gnu-emacs

David L writes:
 > When I run gdb under emacs and attach to a gdbserver session,
 > I get an error like this:
 > 
 > A problem internal to GDB has been detected,
 > further debugging may prove unreliable.
 > Quit this debugging session? (y or n) y
 > ../../gdb/findvar.c:300: internal-error: value_of_register_lazy:
 > Assertion `frame_id_p (get_frame_id (frame))' failed.
 > A problem internal to GDB has been detected,
 > further debugging may prove unreliable.
 > Create a core file of GDB? (y or n) y

This is a bug with current GDB that I have reported:

http://sourceware.org/bugzilla/show_bug.cgi?id=9786

(The connection with Emacs is that it issues "info frame" behind the
users back).  I've added it as something that needs to be fixed before
the next release (7.0) at:

http://sourceware.org/gdb/wiki/GDB_7.0_Release

It don't think it happens with GDB 6.7, or earlier, and, while I see it in
32 bit x86 GNU/Linux, it doesn't appear to happen in 64 bit.

-- 
Nick                                           http://www.inet.net.nz/~nickrob




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-06-02  7:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-01 14:53 gdb crash under emacs in fedora11 David L
2009-06-02  7:04 ` Nick Roberts

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.