Reg : gdb crash is seen while attaching a process to gdb.
RAJESH DASARI
raajeshdasari@gmail.com
Sat Mar 25 12:49:00 GMT 2017
Thanks for your quick response . Could you please share those patches , I will recompile the gdb with the patches and test the changes.
Regards,
Rajesh.
> On 24-Mar-2017, at 17:02, Yao Qi <qiyaoltc@gmail.com> wrote:
>
>> 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 (齐尧)
More information about the Gdb
mailing list