On above environment, the below panic may happen.
kernel BUG at kernel/exit.c:1039! <==
invalid opcode: 0000 [#1] SMP
...
Pid: 32725, comm: java Tainted: P ---------------- 2.6.32-220.4.2.el6.i686 #1
HP ProLiant DL360p Gen8
EIP: 0060:[<c045908d>] EFLAGS: 00010286 CPU: 19 EIP is at do_exit+0x4cd/0x740
...
Stack:
...
Call Trace:
[<c043f952>] ? task_rq_lock+0x42/0x80
[<c082f931>] ? mutex_lock+0x11/0x40
[<c04593d1>] ? sys_exit+0x11/0x20
[<c0830c94>] ? syscall_call+0x7/0xb
[<c0830000>] ? __down+0x20/0x80
0897 NORET_TYPE void do_exit(long code)
0898 {
...
1035 exit_rcu();
1036 /* causes final put_task_struct in finish_task_switch(). */
1037 tsk->state = TASK_DEAD;
1038 schedule();
*1039 BUG(); <===
1040 /* Avoid "noreturn function does return". */
1041 for (;;)
1042 cpu_relax(); /* For when BUG is null */
1043 }