This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug server/18405] New: Running gdbserver with nonexistent debuggee throws assertion
- From: "a.c.kalker at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Tue, 12 May 2015 20:04:34 +0000
- Subject: [Bug server/18405] New: Running gdbserver with nonexistent debuggee throws assertion
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=18405
Bug ID: 18405
Summary: Running gdbserver with nonexistent debuggee throws
assertion
Product: gdb
Version: 7.9
Status: NEW
Severity: normal
Priority: P2
Component: server
Assignee: unassigned at sourceware dot org
Reporter: a.c.kalker at gmail dot com
Target Milestone: ---
Using Arch Linux x86_64, package gdb 7.9-1 from its official repositories.
Steps to reproduce:
- Run gdbserver on a non-existent debuggee
Actual results:
$ gdbserver localhost:1234 doesnotexist
Process doesnotexist created; pid = 9065
Cannot exec doesnotexist: No such file or directory.
Child exited with status 127
Killing process(es): 9065
linux-low.c:969: A problem internal to GDBserver has been detected.
kill_wait_lwp: Assertion `res > 0' failed.
$
Expected results:
- gdbserver should just report that the file does not exist and then exit
normally.
--
You are receiving this mail because:
You are on the CC list for the bug.