This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Reg : gdb crash is seen while attaching a process to gdb.


On Fri, Mar 24, 2017 at 6:27 AM, RAJESH DASARI <raajeshdasari@gmail.com> wrote:
>
> Quit anyway? (y or n) y
> gdb-7.12.1/gdb/thread.c:1010: internal-error: int
> is_executing(ptid_t): Assertion `tp' failed.
> A problem internal to GDB has been detected,
> further debugging may prove unreliable.
> Quit this debugging session? (y or n) y
>
> This is a bug, please report it.  For instructions, see:
> <http://www.gnu.org/software/gdb/bugs/>.
>
> gdb-7.12.1/gdb/thread.c:1010: internal-error: int
> is_executing(ptid_t): Assertion `tp' failed.
> A problem internal to GDB has been detected,
> further debugging may prove unreliable.
> Create a core file of GDB? (y or n) y
> Aborted (core dumped)
>
>
> I notice this problem only for some processes, there are few more
> multi-threaded processes which are not showing this problem. Could you
> please share some pointers on what could be causing this gdb crash.
>
>

I suspect it is related to the improper management of thread_info's
refcount.  I've already had some patches in my local tree, but don't
have time posting them.  Let me find them, and  polish them.

-- 
Yao (齐尧)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]