This is the mail archive of the gdb-patches@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: RFC: Re: [patch] Fix for 'info threads' crashes if zombie threads exist


On Thu, 13 Jul 2006 06:01:35 +0200, Daniel Jacobowitz wrote:
> On Tue, Jun 20, 2006 at 03:07:40PM -0400, Daniel Jacobowitz wrote:
> > I think the real fix to this problem is going to involve less
> > dependence on thread IDs.  I've been migrating the code away from that
> > and I'll try to find some time in the next week to finish the job;
> > maybe that will help.
> 
> Here's an alternative patch that seems to work for the same test.
> Could one of you let me know if it also helps for the problems you saw?

The test
	1.Start print-threads within GDB
	2.Set a breakpoint in __pthread_unwind
	3.Run the program
	4.When the program stops at the breakpoint, run `info threads'

still fails the same way.  Logs attached - attached also that patch of mine
fixing/workaround it in some way.


Thanks,
Jan

Attachment: print-threads.log
Description: Text document

Attachment: print-threads-patched.log
Description: Text document

Attachment: gdb-cvs20060620-pthread_exit.patch
Description: Text document


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