This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug threads/9817] GDB goes to 100% CPU usage indefinitely if pthread stack address is modified
- From: "pedro at codesourcery dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 4 Feb 2009 13:09:31 -0000
- Subject: [Bug threads/9817] GDB goes to 100% CPU usage indefinitely if pthread stack address is modified
- References: <20090204120332.9817.mihai.stanescu@gmail.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From pedro at codesourcery dot com 2009-02-04 13:09 -------
Subject: Re: New: GDB goes to 100% CPU usage indefinitely if pthread stack address is modified
Hi,
On Wednesday 04 February 2009 12:03:33, mihai dot stanescu at gmail dot com wrote:
> The particular thing about the program is that is doing a pthread_attr_setstack
> to setup the thread stack to a dynamically allocated memory area on heap.
>
> pthread_attr_setstack(&attr, alignedStackBase, THREAD_STACK_SIZE -
> 2*PTHREAD_STACK_MIN)
>
Any chance you have a minimal test app you could attach that reproduce
the problem?
There have been numerous fixes since gdb 6.8. Could you please try
what happens with a recent gdb snapshot (or cvs head)?
Thanks,
--
http://sourceware.org/bugzilla/show_bug.cgi?id=9817
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.