All of lore.kernel.org
 help / color / mirror / Atom feed
* BUG: sleeping function called from invalid context at kernel/fork.c:385
@ 2007-05-23  6:31 David Chinner
  2007-05-23  6:43   ` BUG: sleeping function called from invalid context at kernel/fork.c:385 Andrew Morton
  0 siblings, 1 reply; 81+ messages in thread
From: David Chinner @ 2007-05-23  6:31 UTC (permalink / raw)
  To: lkml

Saw this when running strace -f on a script on 2.6.21 on ia64:

BUG: sleeping function called from invalid context at kernel/fork.c:385
in_atomic():1, irqs_disabled():0

Call Trace:
 [<a000000100014700>] show_stack+0x80/0xa0
                                sp=e00000306e6f7a00 bsp=e00000306e6f0ef8
 [<a000000100014750>] dump_stack+0x30/0x60
                                sp=e00000306e6f7bd0 bsp=e00000306e6f0ee0
 [<a0000001000acaf0>] __might_sleep+0x1f0/0x260
                                sp=e00000306e6f7bd0 bsp=e00000306e6f0eb8
 [<a0000001000bd2e0>] mmput+0x20/0x220
                                sp=e00000306e6f7bd0 bsp=e00000306e6f0e90
 [<a0000001000321e0>] sys_ptrace+0x460/0x1600
                                sp=e00000306e6f7bd0 bsp=e00000306e6f0d80
 [<a00000010000bc40>] ia64_ret_from_syscall+0x0/0x20
                                sp=e00000306e6f7e30 bsp=e00000306e6f0d80
 [<a000000000010620>] __kernel_syscall_via_break+0x0/0x20
                                sp=e00000306e6f8000 bsp=e00000306e6f0d80
BUG: sleeping function called from invalid context at kernel/fork.c:385
in_atomic():1, irqs_disabled():0

Call Trace:
 [<a000000100014700>] show_stack+0x80/0xa0
                                sp=e00000306e6f7a00 bsp=e00000306e6f0ef8
 [<a000000100014750>] dump_stack+0x30/0x60
                                sp=e00000306e6f7bd0 bsp=e00000306e6f0ee0
 [<a0000001000acaf0>] __might_sleep+0x1f0/0x260
                                sp=e00000306e6f7bd0 bsp=e00000306e6f0eb8
 [<a0000001000bd2e0>] mmput+0x20/0x220
                                sp=e00000306e6f7bd0 bsp=e00000306e6f0e90
 [<a0000001000321e0>] sys_ptrace+0x460/0x1600
                                sp=e00000306e6f7bd0 bsp=e00000306e6f0d80
 [<a00000010000bc40>] ia64_ret_from_syscall+0x0/0x20
                                sp=e00000306e6f7e30 bsp=e00000306e6f0d80
 [<a000000000010620>] __kernel_syscall_via_break+0x0/0x20
                                sp=e00000306e6f8000 bsp=e00000306e6f0d80

I could reproduce it via 'strace -f sleep 1'

Cheers,

Dave.
-- 
Dave Chinner
Principal Engineer
SGI Australian Software Group

^ permalink raw reply	[flat|nested] 81+ messages in thread

end of thread, other threads:[~2007-06-07  5:20 UTC | newest]

Thread overview: 81+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-23  6:31 BUG: sleeping function called from invalid context at kernel/fork.c:385 David Chinner
2007-05-23  6:43 ` BUG: sleeping function called from invalid context at Andrew Morton
2007-05-23  6:43   ` BUG: sleeping function called from invalid context at kernel/fork.c:385 Andrew Morton
2007-05-23 17:44   ` Luck, Tony
2007-05-23 17:44     ` Luck, Tony
2007-05-30  3:30     ` David Chinner
2007-05-30  3:30       ` David Chinner
2007-05-30  4:44       ` David Chinner
2007-05-30  4:44         ` David Chinner
2007-05-30 20:11   ` Luck, Tony
2007-05-30 20:11     ` Luck, Tony
2007-05-30 22:39     ` BUG: sleeping function called from invalid context at Christoph Lameter
2007-05-30 22:39       ` BUG: sleeping function called from invalid context at kernel/fork.c:385 Christoph Lameter
2007-05-31  0:53     ` David Chinner
2007-05-31  0:53       ` David Chinner
2007-06-04  5:14       ` Peter Chubb
2007-06-04  5:14         ` Peter Chubb
2007-05-30 23:19   ` Luck, Tony
2007-05-30 23:19     ` Luck, Tony
2007-05-30 23:31     ` BUG: sleeping function called from invalid context at Christoph Lameter
2007-05-30 23:31       ` BUG: sleeping function called from invalid context at kernel/fork.c:385 Christoph Lameter
2007-05-30 23:34       ` BUG: sleeping function called from invalid context at Randy Dunlap
2007-05-30 23:34         ` BUG: sleeping function called from invalid context at kernel/fork.c:385 Randy Dunlap
2007-05-30 23:53         ` BUG: sleeping function called from invalid context at Christoph Lameter
2007-05-30 23:53           ` BUG: sleeping function called from invalid context at kernel/fork.c:385 Christoph Lameter
2007-05-30 23:55           ` Randy Dunlap
2007-05-30 23:55             ` Randy Dunlap
2007-05-31  0:09             ` BUG: sleeping function called from invalid context at Christoph Lameter
2007-05-31  0:09               ` BUG: sleeping function called from invalid context at kernel/fork.c:385 Christoph Lameter
2007-05-31  6:12               ` BUG: sleeping function called from invalid context at Randy Dunlap
2007-05-31  6:12                 ` BUG: sleeping function called from invalid context at kernel/fork.c:385 Randy Dunlap
2007-05-31  4:43       ` Sam Ravnborg
2007-05-31  4:43         ` Sam Ravnborg
2007-05-30 23:56   ` Yu, Fenghua
2007-05-30 23:56     ` Yu, Fenghua
2007-05-31  2:37   ` Luck, Tony
2007-05-31  2:37     ` Luck, Tony
2007-05-31  3:19     ` BUG: sleeping function called from invalid context at Christoph Lameter
2007-05-31  3:19       ` BUG: sleeping function called from invalid context at kernel/fork.c:385 Christoph Lameter
2007-05-31 15:20       ` Prarit Bhargava
2007-05-31 15:20         ` Prarit Bhargava
2007-05-31 19:54         ` Sam Ravnborg
2007-05-31 19:54           ` Sam Ravnborg
2007-05-31 20:04         ` Sam Ravnborg
2007-05-31 20:04           ` Sam Ravnborg
2007-05-31 20:08           ` [PATCH] net/hp100: fix section mismatch warning Sam Ravnborg
2007-05-31 20:08             ` Sam Ravnborg
2007-05-31 20:17           ` [PATCH] kvm: fix section mismatch warning in kvm-intel.o Sam Ravnborg
2007-05-31 20:17             ` Sam Ravnborg
2007-05-31 20:24           ` [PATCH] acpi: fix section mismatch warning in asus_acpi.o Sam Ravnborg
2007-05-31 20:24             ` Sam Ravnborg
2007-05-31 20:29             ` [PATCH] acpi: fix section mismatch warning in asus + toshiba Sam Ravnborg
2007-05-31 20:29               ` Sam Ravnborg
2007-05-31 20:46           ` [PATCH] isdn: fix section mismatch warnings Sam Ravnborg
2007-05-31 20:46             ` Sam Ravnborg
2007-05-31 20:51           ` [PATCH] microcode: fix section mismatch warning Sam Ravnborg
2007-05-31 20:51             ` Sam Ravnborg
2007-05-31 20:42         ` BUG: sleeping function called from invalid context at Christoph Lameter
2007-05-31 20:42           ` BUG: sleeping function called from invalid context at kernel/fork.c:385 Christoph Lameter
2007-06-01  3:18   ` Luck, Tony
2007-06-01  3:18     ` Luck, Tony
2007-06-01  3:31     ` Prarit Bhargava
2007-06-01  3:31       ` Prarit Bhargava
2007-06-01  4:05       ` BUG: sleeping function called from invalid context at Christoph Lameter
2007-06-01  4:05         ` BUG: sleeping function called from invalid context at kernel/fork.c:385 Christoph Lameter
2007-06-01  4:17         ` Sam Ravnborg
2007-06-01  4:17           ` Sam Ravnborg
2007-06-01  4:45           ` BUG: sleeping function called from invalid context at Christoph Lameter
2007-06-01  4:45             ` BUG: sleeping function called from invalid context at kernel/fork.c:385 Christoph Lameter
2007-06-01  6:42             ` Sam Ravnborg
2007-06-01  6:42               ` Sam Ravnborg
2007-06-01  8:00   ` Luck, Tony
2007-06-01  8:00     ` Luck, Tony
2007-06-01 10:30     ` Prarit Bhargava
2007-06-01 10:30       ` Prarit Bhargava
2007-06-05 14:55     ` linux-ia64 build warning messages Russ Anderson
2007-06-05 14:55       ` Russ Anderson
2007-06-07  5:00       ` Peter Chubb
2007-06-07  5:00         ` Peter Chubb
2007-06-01 10:37   ` BUG: sleeping function called from invalid context at kernel/fork.c:385 Luck, Tony
2007-06-01 10:37     ` Luck, Tony

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.