System crashed with error message "kernel BUG at mm/huge_memory.c:1393!"

Solution Verified - Updated -

Issue

  • While loading a process, the system crashed with the below log
Out of memory: Kill process 20815 (oom01) score 815 or sacrifice child
Killed process 20815, UID 0, (oom01) total-vm:6295560kB, anon-rss:1706808kB, file-rss:12kB
mapcount 2 page_mapcount 4
------------[ cut here ]------------
kernel BUG at mm/huge_memory.c:1393!
invalid opcode: 0000 [#1] SMP 
last sysfs file: /sys/devices/pci0000:00/0000:00:11.0/0000:02:03.0/local_cpus
CPU 0 
Modules linked in: nls_utf8 ext3 jbd snd_seq_midi snd_seq_midi_event snd_seq_dummy tun ext2 autofs4 sunrpc iptable_filter ip_tables ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 xt_state nf_conntrack ip6table_filter ip6_tables ipv6 uinput ppdev parport_pc parport snd_ens1371 snd_rawmidi snd_ac97_codec ac97_bus snd_seq snd_seq_device snd_pcm snd_timer snd soundcore snd_page_alloc e1000 microcode vmware_balloon sg i2c_piix4 i2c_core shpchp ext4 jbd2 mbcache sd_mod crc_t10dif sr_mod cdrom mptspi mptscsih mptbase scsi_transport_spi pata_acpi ata_generic ata_piix dm_mirror dm_region_hash dm_log dm_mod [last unloaded: speedstep_lib]

Pid: 21754, comm: thp03 Not tainted 2.6.32-279.46.1.el6.x86_64 #1 VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform
RIP: 0010:[<ffffffff81170f52>]  [<ffffffff81170f52>] split_huge_page+0x7b2/0x850
RSP: 0018:ffff880035ec7bc8  EFLAGS: 00010293
RAX: 0000000000000004 RBX: ffff88007bf29d00 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000046 RDI: 0000000000000246
RBP: ffff880035ec7c98 R08: 000000000001e4f1 R09: 00000000fffffffe
R10: 0000000000000000 R11: 0000000000000000 R12: ffff88007a0b6da0
R13: fffffffffffffff2 R14: ffffea00011d4000 R15: ffffea00011d4000
FS:  0000000000000000(0000) GS:ffff880002200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 000000358da1ea50 CR3: 0000000001a85000 CR4: 00000000000006f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process thp03 (pid: 21754, threadinfo ffff880035ec6000, task ffff88007ccf8080)
Stack:
 000000000000001e 0000002881127481 ffff88003741a080 ffff88003741a080
<d> ffffea0001933d38 ffff88007a0b6da8 ffff880035ec7c18 ffffffff81166fe0
<d> ffff88007a0b6dc0 ffff88000001af00 ffff880035ec7c48 000000028112675d
Call Trace:
 [<ffffffff81166fe0>] ? mem_cgroup_get_reclaim_stat_from_page+0x20/0x70
 [<ffffffff81168731>] ? __mem_cgroup_uncharge_common+0x81/0x300
 [<ffffffff81171071>] __split_huge_page_pmd+0x81/0xc0
 [<ffffffff811392c4>] unmap_vmas+0xa74/0xc30
 [<ffffffff8113ea57>] exit_mmap+0x87/0x170
 [<ffffffff8106751c>] mmput+0x6c/0x120
 [<ffffffff8106ed2b>] exit_mm+0x12b/0x180
 [<ffffffff8106f0df>] do_exit+0x15f/0x870
 [<ffffffff8106f848>] do_group_exit+0x58/0xd0
 [<ffffffff8106f8d7>] sys_exit_group+0x17/0x20
 [<ffffffff8100b072>] system_call_fastpath+0x16/0x1b
Code: b0 4c 89 ee e8 90 92 fe ff e9 8f f9 ff ff 41 8b 56 0c 8b 75 8c 48 c7 c7 18 38 7a 81 31 c0 83 c2 01 e8 50 8d 37 00 e9 e0 f9 ff ff <0f> 0b eb fe 0f 0b 0f 1f 84 00 00 00 00 00 eb f6 41 8b 4e 0c 8b 
RIP  [<ffffffff81170f52>] split_huge_page+0x7b2/0x850
 RSP <ffff880035ec7bc8>

Environment

  • Red Hat Enterprise Linux 6.3 (2.6.32-279.46.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.