Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 309042 Details for
Bug 446777
pthread_mutex_unlock returns EPERM due to earlier EFAULT from futex lock
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
add debug output for lookup_pi_state
futex-debug2.patch (text/plain), 1.49 KB, created by
Thomas Gleixner
on 2008-06-12 08:14:28 UTC
(
hide
)
Description:
add debug output for lookup_pi_state
Filename:
MIME Type:
Creator:
Thomas Gleixner
Created:
2008-06-12 08:14:28 UTC
Size:
1.49 KB
patch
obsolete
>--- > kernel/futex.c | 31 ++++++++++++++++++++++++++++--- > 1 file changed, 28 insertions(+), 3 deletions(-) > >Index: linux-2.6.24/kernel/futex.c >=================================================================== >--- linux-2.6.24.orig/kernel/futex.c >+++ linux-2.6.24/kernel/futex.c >@@ -542,9 +542,34 @@ lookup_pi_state(u32 uval, struct futex_h > if (unlikely(!pi_state)) > return -EINVAL; > >- WARN_ON(!atomic_read(&pi_state->refcount)); >- WARN_ON(pid && pi_state->owner && >- pi_state->owner->pid != pid); >+ if (!atomic_read(&pi_state->refcount)) { >+ printk(KERN_INFO "lookup_pi: refc = 0 " >+ "uval 0x%08x pid %d ctid %d " >+ "keyw 0x%lx keyp %p keyo %d " >+ "pio %p piop %d\n", >+ (unsigned int) uval, pid, >+ task_pid_vnr(current), >+ this->key.both.word, >+ this->key.both.ptr, >+ this->key.both.offset, >+ pi_state->owner, >+ pi_state->owner ? pi_state->owner->pid : 0); >+ } >+ >+ if (pid && pi_state->owner && >+ pi_state->owner->pid != pid) { >+ printk(KERN_INFO "lookup_pi: pid mismatch " >+ "uval 0x%08x pid %d ctid %d " >+ "keyw 0x%lx keyp %p keyo %d " >+ "pio %p piop %d\n", >+ (unsigned int) uval, pid, >+ task_pid_vnr(current), >+ this->key.both.word, >+ this->key.both.ptr, >+ this->key.both.offset, >+ pi_state->owner, >+ pi_state->owner->pid); >+ } > > atomic_inc(&pi_state->refcount); > *ps = pi_state;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 446777
:
308695
|
308696
|
308719
|
308757
|
308759
|
308893
|
308982
|
308997
|
309012
| 309042 |
309095
|
309124
|
310758
|
310767
|
313695