This is the mail archive of the gdb-prs@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]

[Bug threads/11692] GDB internal error when usingpthread_attr_setaffinity_np


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.


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