Thread overran stack, or stack corrupted
I think the main error here is "Thread overran stack, or stack corrupted", but I'm not sure what that means in relation to what I might be doing wrong in my module. Can anyone explain this better or have any thoughts as to how to track down this oops?
Code:
[ 599.455035] BUG: unable to handle kernel paging request at 0000000000010d40 |
the kernel places the value STACK_END_MAGIC at the end of the stack
when there is a fault in kernel space the value of STACK_END_MAGIC is checked if it's been overwritten you get the message Thread overran stack, or stack corrupted so basically you just ran the pointer past the stack end stackend = end_of_stack(tsk); if (tsk != &init_task && *stackend != STACK_END_MAGIC) printk(KERN_ALERT "Thread overran stack, or stack corrupted\n"); |
All times are GMT -5. The time now is 12:51 AM. |