From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23965 invoked by alias); 14 Jun 2012 15:01:46 -0000 Received: (qmail 23943 invoked by uid 22791); 14 Jun 2012 15:01:46 -0000 X-SWARE-Spam-Status: No, hits=-3.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,KHOP_THREADED X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 14 Jun 2012 15:01:33 +0000 From: "palves at redhat dot com" 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 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: threads X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: palves at redhat dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: palves at redhat dot com X-Bugzilla-Target-Milestone: 7.1 X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2012-q2/txt/msg00245.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=11692 --- Comment #12 from Pedro Alves 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=) 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 , 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 , nsid=-2, argc=1, argv=, 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 , args=0x7ffff5fcd7f0) at dl-error.c:178 #8 0x000000363c32c894 in dlerror_run (args=0x7ffff5fcd7f0, operate=0x363c32c790 ) 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=, stop=stop@entry=0x363ca0dfc0 , stop_argument=) at ../nptl/sysdeps/pthread/unwind-forcedunwind.c:130 #12 0x000000363ca0e150 in __GI___pthread_unwind (buf=) at unwind.c:130 #13 0x000000363ca067aa in __do_cancel () at ../nptl/pthreadP.h:265 #14 sigcancel_handler (sig=, si=, ctx=) at nptl-init.c:221 #15 sigcancel_handler (sig=, si=, ctx=) at nptl-init.c:174 #16 #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.