This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
gdb/2030: Internal error on `next' after `list'
- From: pdm at brailcom dot org
- To: gdb-gnats at sources dot redhat dot com
- Date: 9 Nov 2005 12:03:44 -0000
- Subject: gdb/2030: Internal error on `next' after `list'
- Reply-to: pdm at brailcom dot org
>Number: 2030
>Category: gdb
>Synopsis: Internal error on `next' after `list'
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Nov 09 12:08:01 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: pdm@brailcom.org
>Release: 6.3
>Organization:
>Environment:
Debian i386, Debian gdb package version 6.3-6
>Description:
When I run gdb on Emacs, set breakpoint and after reaching it and typing the commands `list' and `next', gdb reports the following error:
/nevyn/local/gdb/gdb-6.3/gdb/infrun.c:2642: internal-error: insert_step_resume_breakpoint_at_sal: Assertion `step_resume_breakpoint == NULL' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n)
>How-To-Repeat:
Fetch a recent Emacs CVS snapshot and compile it. Switch to the emacs/src/ directory and run `gdb ./emacs' there. Run the following commands in gdb:
break send_process
run -q
Now start a network server on the port 1234 (e.g. `socket -s 1234'). Switch to Emacs, open the attached file bug2.el and run `M-x eval-current-buffer' there. gdb should stop on the breakpoint. Switch to gdb and run the following commands there:
list
next
You should receive the error.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/emacs-lisp; name="bug2.el"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="bug2.el"
KHNldHEgcHJvY2VzcyAob3Blbi1uZXR3b3JrLXN0cmVhbSAidGVzdCIgbmlsICJsb2NhbGhvc3Qi
IDEyMzQpKQo7KHNldC1wcm9jZXNzLWNvZGluZy1zeXN0ZW0gcHJvY2VzcyAnbm8tY29udmVyc2lv
biAnbm8tY29udmVyc2lvbikKKHNldC1wcm9jZXNzLWNvZGluZy1zeXN0ZW0gcHJvY2VzcyAncmF3
LXRleHQtdW5peCAncmF3LXRleHQtdW5peCkKKGRvbGlzdCAoc3RyaW5nICcoImFiYyIpKQogIChw
cm9jZXNzLXNlbmQtc3RyaW5nIHByb2Nlc3Mgc3RyaW5nKSkKKGRlbGV0ZS1wcm9jZXNzIHByb2Nl
c3MpCg==