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 311383 Details for
Bug 452706
kernel BUG at kernel/signal.c:369! (attempt to free tsk->signal twice)
[?]
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]
proposed patch
bz452706_dethread_race.patch (text/plain), 1.04 KB, created by
Vitaly Mayatskikh
on 2008-07-09 15:41:57 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Vitaly Mayatskikh
Created:
2008-07-09 15:41:57 UTC
Size:
1.04 KB
patch
obsolete
>diff --git a/fs/exec.c b/fs/exec.c >index 00fe192..f946440 100644 >--- a/fs/exec.c >+++ b/fs/exec.c >@@ -709,7 +709,7 @@ static inline int de_thread(struct task_struct *tsk) > if (current->pid != current->tgid) { > struct task_struct *leader = current->group_leader, *parent; > struct dentry *proc_dentry1, *proc_dentry2; >- unsigned long exit_state, ptrace; >+ unsigned long ptrace; > > /* > * Wait for the thread group leader to be a zombie. >@@ -768,7 +768,10 @@ static inline int de_thread(struct task_struct *tsk) > list_del(¤t->tasks); > list_add_tail(¤t->tasks, &init_task.tasks); > current->exit_signal = SIGCHLD; >- exit_state = leader->exit_state; >+ >+ if (leader->exit_state != EXIT_ZOMBIE) >+ BUG(); >+ leader->exit_state = EXIT_DEAD; > > write_unlock_irq(&tasklist_lock); > spin_unlock(&leader->proc_lock); >@@ -776,8 +779,6 @@ static inline int de_thread(struct task_struct *tsk) > proc_pid_flush(proc_dentry1); > proc_pid_flush(proc_dentry2); > >- if (exit_state != EXIT_ZOMBIE) >- BUG(); > release_task(leader); > } >
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 452706
: 311383