public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "palves at redhat dot com" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug threads/11692] GDB internal error when using pthread_attr_setaffinity_np Date: Thu, 14 Jun 2012 15:01:00 -0000 [thread overview] Message-ID: <bug-11692-4717-qSUn9D3ooA@http.sourceware.org/bugzilla/> (raw) In-Reply-To: <bug-11692-4717@http.sourceware.org/bugzilla/> http://sourceware.org/bugzilla/show_bug.cgi?id=11692 --- Comment #12 from Pedro Alves <palves at redhat dot com> 2012-06-14 15:00:42 UTC --- When the TARGET_WAITKIND_SPURIOUS patch is hit, this is what the thread that reported a trap is doing: (gdb) bt #0 0x000000363be0f991 in __GI__dl_debug_state () at dl-debug.c:77 #1 0x000000363be06a1a in _dl_map_object_from_fd (name=name@entry=0x363ca1153f "libgcc_s.so.1", fd=fd@entry=11, fbp=fbp@entry=0x7ffff5fcd080, realname=0x7ffff00008c0 "/lib64/libgcc_s.so.1", loader=loader@entry=0x0, l_type=l_type@entry=2, mode=mode@entry=-1879048191, stack_endp=stack_endp@entry=0x7ffff5fcd3e0, nsid=nsid@entry=0) at dl-load.c:1042 #2 0x000000363be086bc in _dl_map_object (loader=0x0, loader@entry=0x7ffff7ffd658, name=name@entry=0x363ca1153f "libgcc_s.so.1", type=type@entry=2, trace_mode=trace_mode@entry=0, mode=mode@entry=-1879048191, nsid=<optimized out>) at dl-load.c:2342 #3 0x000000363be136a4 in dl_open_worker (a=a@entry=0x7ffff5fcd5f0) at dl-open.c:225 #4 0x000000363be0f006 in _dl_catch_error (objname=objname@entry=0x7ffff5fcd638, errstring=errstring@entry=0x7ffff5fcd640, mallocedp=mallocedp@entry=0x7ffff5fcd64f, operate=operate@entry=0x363be13560 <dl_open_worker>, args=args@entry=0x7ffff5fcd5f0) at dl-error.c:178 #5 0x000000363be1317a in _dl_open (file=0x363ca1153f "libgcc_s.so.1", mode=-2147483647, caller_dlopen=0x363ca0fc2c <pthread_cancel_init+76>, nsid=-2, argc=1, argv=<optimized out>, env=0x7fffffffdd98) at dl-open.c:575 #6 0x000000363c32c7d2 in do_dlopen (ptr=ptr@entry=0x7ffff5fcd7f0) at dl-libc.c:89 #7 0x000000363be0f006 in _dl_catch_error (objname=0x7ffff5fcd820, errstring=0x7ffff5fcd810, mallocedp=0x7ffff5fcd82f, operate=0x363c32c790 <do_dlopen>, args=0x7ffff5fcd7f0) at dl-error.c:178 #8 0x000000363c32c894 in dlerror_run (args=0x7ffff5fcd7f0, operate=0x363c32c790 <do_dlopen>) at dl-libc.c:48 #9 __GI___libc_dlopen_mode (name=name@entry=0x363ca1153f "libgcc_s.so.1", mode=mode@entry=-2147483647) at dl-libc.c:165 #10 0x000000363ca0fc2c in pthread_cancel_init () at ../nptl/sysdeps/pthread/unwind-forcedunwind.c:53 #11 0x000000363ca0fdec in _Unwind_ForcedUnwind (exc=<optimized out>, stop=stop@entry=0x363ca0dfc0 <unwind_stop>, stop_argument=<optimized out>) at ../nptl/sysdeps/pthread/unwind-forcedunwind.c:130 #12 0x000000363ca0e150 in __GI___pthread_unwind (buf=<optimized out>) at unwind.c:130 #13 0x000000363ca067aa in __do_cancel () at ../nptl/pthreadP.h:265 #14 sigcancel_handler (sig=<optimized out>, si=<optimized out>, ctx=<optimized out>) at nptl-init.c:221 #15 sigcancel_handler (sig=<optimized out>, si=<optimized out>, ctx=<optimized out>) at nptl-init.c:174 #16 <signal handler called> #17 __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:96 #18 0x000000363ca08d83 in _L_lock_3093 () from /lib64/libpthread.so.0 #19 0x000000363ca07f8a in start_thread (arg=0x7ffff5fce700) at pthread_create.c:298 #20 0x000000363c2f0f5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 -- 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.
next prev parent reply other threads:[~2012-06-14 15:01 UTC|newest] Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-11692-4717@http.sourceware.org/bugzilla/> 2011-08-03 21:19 ` crow at linux dot org.ba 2011-08-03 21:41 ` sergiodj at redhat dot com 2012-05-29 16:17 ` palves at redhat dot com 2012-06-14 15:01 ` palves at redhat dot com [this message] 2012-06-14 15:17 ` palves at redhat dot com 2012-07-20 17:28 ` cvs-commit at gcc dot gnu.org 2012-07-20 17:36 ` palves at redhat dot com 2012-07-21 9:43 ` palves at redhat dot com 2010-06-11 8:51 [Bug threads/11692] New: " frederic dot riss at gmail dot com 2010-06-11 8:51 ` [Bug threads/11692] " frederic dot riss at gmail dot com 2010-06-11 10:36 ` pedro at codesourcery dot com 2010-06-11 10:43 ` frederic dot riss at gmail dot com 2010-06-11 10:54 ` pedro at codesourcery dot com 2010-06-11 10:55 ` frederic dot riss at gmail dot com 2010-06-11 11:01 ` pedro at codesourcery dot com 2010-06-11 11:07 ` frederic dot riss at gmail dot com 2010-06-11 11:20 ` pedro at codesourcery dot com 2010-06-11 11:29 ` pedro at codesourcery dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-11692-4717-qSUn9D3ooA@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=gdb-prs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).