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 #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.


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