Kernel panic in __sanitize_i387_state() when a multi-threaded process using FPU aborted.

Solution Verified - Updated -

Issue

  • Kernel crashed with following panic message when a multi-threaded process using FPU aborted:
kernel BUG at arch/x86/kernel/xsave.c:45!
invalid opcode: 0000 [#1] SMP 
last sysfs file: /sys/devices/pci0000:00/0000:00:02.0/0000:04:00.7/device
CPU 27 
Modules linked in: nfs lockd fscache nfs_acl netconsole configfs autofs4 rpcsec_gss_krb5 auth_rpcgss sunrpc cpufreq_ondemand freq_table pcc_cpufreq bonding 8021q garp stp llc ipv6 power_meter hpilo hpwdt sg bnx2x libcrc32c mdio microcode serio_raw iTCO_wdt iTCO_vendor_support shpchp ext4 mbcache jbd2 sd_mod crc_t10dif hpsa video output dm_mirror dm_region_hash dm_log dm_mod [last unloaded: scsi_wait_scan]

Pid: 3964527, comm: invokeGCC34 Not tainted 2.6.32-358.14.1.el6.x86_64 #1 HP ProLiant BL460c Gen8
RIP: 0010:[<ffffffff81015bf9>]  [<ffffffff81015bf9>] __sanitize_i387_state+0x129/0x130
RSP: 0018:ffff881fa5c0da88  EFLAGS: 00010202
RAX: 0000000000000001 RBX: ffff882007b34dc0 RCX: 0000000000000200
RDX: ffff8815f5e14040 RSI: ffffffff81bfd138 RDI: ffff881fc9a89500
RBP: ffff881fa5c0daa8 R08: ffff8820125ec400 R09: 0000000000000000
R10: 0000000000000200 R11: 0000000000000000 R12: ffff8820125ec400
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000200
FS:  00007fbada07e700(0000) GS:ffff8800999e0000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 00007fbb6c61a325 CR3: 0000001f50efb000 CR4: 00000000001407e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process invokeGCC34 (pid: 3964527, threadinfo ffff881fa5c0c000, task ffff8815f5e14040)
Stack:
 0000000000000010 ffff881fc9a89500 ffff8820125ec400 0000000000000000
<d> ffff881fa5c0daf8 ffffffff81015958 0000000000000246 0000000000000000
<d> ffffffff81017f7c ffffffff81bfd138 0000000000000001 ffff8820125efc00
Call Trace:
 [<ffffffff81015958>] xfpregs_get+0x88/0xc0
 [<ffffffff81017f7c>] ? genregs_get+0x3c/0xa0
 [<ffffffff811db19c>] elf_core_dump+0x52c/0xfe0
 [<ffffffff81055ad3>] ? __wake_up+0x53/0x70
 [<ffffffff8108f7ab>] ? call_usermodehelper_exec+0xab/0x120
 [<ffffffff81187a84>] do_coredump+0x814/0xc00
 [<ffffffff8108504d>] ? __sigqueue_free+0x3d/0x50
 [<ffffffff81088e4d>] get_signal_to_deliver+0x1ed/0x460
 [<ffffffff81086dcb>] ? __send_signal+0x19b/0x390
 [<ffffffff8100a265>] do_signal+0x75/0x800
 [<ffffffff810870b0>] ? do_send_sig_info+0x70/0x90
 [<ffffffff81181192>] ? vfs_write+0x132/0x1a0
 [<ffffffff810863d1>] ? sigprocmask+0x71/0x110
 [<ffffffff810864fa>] ? sys_rt_sigprocmask+0x8a/0x100
 [<ffffffff81181192>] ? vfs_write+0x132/0x1a0
 [<ffffffff8100aa80>] do_notify_resume+0x90/0xc0
 [<ffffffff8100b341>] int_signal+0x12/0x17
Code: 10 00 00 00 00 f3 48 ab 4c 89 e0 83 e0 02 0f 85 4c ff ff ff 48 8d 93 a0 00 00 00 b9 20 00 00 00 48 89 d7 f3 48 ab e9 35 ff ff ff <0f> 0b eb fe 0f 1f 00 55 48 89 e5 48 83 ec 20 48 89 5d e8 4c 89 
RIP  [<ffffffff81015bf9>] __sanitize_i387_state+0x129/0x130
 RSP <ffff881fa5c0da88>

Environment

  • Red Hat Enterprise Linux 6
  • kernel-2.6.32-131.0.15.el6.x86_64
  • kernel-2.6.32-220.4.2.el6.x86_64
  • kernel2.6.32-358.14.1.el6.x86_64

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.