tromey at sourceware dot org
2018-06-26 16:29:04 UTC
https://sourceware.org/bugzilla/show_bug.cgi?id=23340
Bug ID: 23340
Summary: crash in "run" on Mac OS when gdb is not code-signed
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: cli
Assignee: unassigned at sourceware dot org
Reporter: tromey at sourceware dot org
Target Milestone: ---
I tried "gdb /bin/ls" on OS X.
However, I hadn't code-signed gdb.
When I did "run", gdb crashed:
thread.c:93: internal-error: struct thread_info *inferior_thread(): Assertion
`tp' failed.
The crash is happening because darwin-nat.c:darwin_attach_pid throws
an exception. Then, bpstat_clear_actions is called via a cleanup.
This in turn calls inferior_thread, which asserts.
Offhand I am not sure what the fix should be.
Bug ID: 23340
Summary: crash in "run" on Mac OS when gdb is not code-signed
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: cli
Assignee: unassigned at sourceware dot org
Reporter: tromey at sourceware dot org
Target Milestone: ---
I tried "gdb /bin/ls" on OS X.
However, I hadn't code-signed gdb.
When I did "run", gdb crashed:
thread.c:93: internal-error: struct thread_info *inferior_thread(): Assertion
`tp' failed.
The crash is happening because darwin-nat.c:darwin_attach_pid throws
an exception. Then, bpstat_clear_actions is called via a cleanup.
This in turn calls inferior_thread, which asserts.
Offhand I am not sure what the fix should be.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are receiving this mail because:
You are on the CC list for the bug.