This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug threads/11692] GDB internal error when usingpthread_attr_setaffinity_np
- From: "palves at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 14 Jun 2012 15:16:42 +0000
- Subject: [Bug threads/11692] GDB internal error when usingpthread_attr_setaffinity_np
- Auto-submitted: auto-generated
- References: <bug-11692-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=11692
--- Comment #13 from Pedro Alves <palves at redhat dot com> 2012-06-14 15:16:42 UTC ---
IOW, this was a dlopen event.
For pthread_create, glibc clones the new thread stopped, and afterwards when it
sets the affinity on it, and sees that failing, it kills the new clone with a
SIGCANCEL, which triggers the unwinding, which does '__libc_dlopen
(LIBGCC_S_SO)'.
Tweaking the reproducer to do only the failing pthread_create doesn't make the
issue reproducible all the time, unfortunately.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.