Discussion:
[Bug gdb/14443] New: Mach error in function darwin_resume_thread when continuing after attaching to a process
tomi.kyostila at gmail dot com
2012-08-08 09:34:26 UTC
Permalink
http://sourceware.org/bugzilla/show_bug.cgi?id=14443

Bug #: 14443
Summary: Mach error in function darwin_resume_thread when
continuing after attaching to a process
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: gdb
AssignedTo: ***@sourceware.org
ReportedBy: ***@gmail.com
Classification: Unclassified


Steps to reproduce:

1. $ gdb
2. (gdb) attach 12688
3. (gdb) continue


Actual results:

Output:
Continuing.
warning: Mach error at "darwin-nat.c:726" in function "darwin_resume_thread":
(os/kern) failure (0x5)

The attached process continues to run normally, but gdb does not break on
Ctrl-C. When the attached process terminates, gdb returns to the (gdb) prompt.


Expected results:

gdb should break on Ctrl-C.


Running GNU gdb (GDB) 7.5.50.20120806-cvs (configured as
"x86_64-apple-darwin10.8.0") on Darwin iMac.local 10.8.0 Darwin Kernel Version
10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
thomas.fanghaenel at gmail dot com
2013-01-16 22:31:22 UTC
Permalink
http://sourceware.org/bugzilla/show_bug.cgi?id=14443

Thomas Fanghaenel <thomas.fanghaenel at gmail dot com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |thomas.fanghaenel at gmail
| |dot com
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
omar.awile at gmail dot com
2013-06-25 14:13:43 UTC
Permalink
http://sourceware.org/bugzilla/show_bug.cgi?id=14443

Omar Awile <omar.awile at gmail dot com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |omar.awile at gmail dot com

--- Comment #1 from Omar Awile <omar.awile at gmail dot com> ---
I can confirm this bug. Same behavior with gdb 7.6 on Darwin nyu.local 12.3.0
Darwin Kernel Version 12.3.0 (Mac OSX 10.8.3)
--
You are receiving this mail because:
You are on the CC list for the bug.
tromey at sourceware dot org
2018-09-15 14:05:23 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=14443

Tom Tromey <tromey at sourceware dot org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Target| |*-*-darwin*
CC| |tromey at sourceware dot org
--
You are receiving this mail because:
You are on the CC list for the bug.
Loading...