====================================== | ^C | WAIT TIMEOUT stdout | | [ 545.301960][ T308] ip invoked oom-killer: gfp_mask=0xc2cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_COMP|__GFP_NOMEMALLOC), order=2, oom_score_adj=0 [ 545.303538][ T308] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 545.303922][ T308] Call Trace: [ 545.304068][ T308] [ 545.304161][ T308] dump_stack_lvl (lib/dump_stack.c:117) [ 545.304333][ T308] dump_header (mm/oom_kill.c:74 mm/oom_kill.c:463) [ 545.304497][ T308] oom_kill_process (mm/oom_kill.c:1036) [ 545.304680][ T308] out_of_memory (mm/oom_kill.c:1175 (discriminator 4)) [ 545.304862][ T308] ? __pfx_out_of_memory (mm/oom_kill.c:1108) [ 545.305025][ T308] ? __alloc_pages_may_oom (mm/page_alloc.c:3523) [ 545.305197][ T308] __alloc_pages_may_oom (mm/page_alloc.c:3575) [ 545.305354][ T308] ? __pfx___alloc_pages_may_oom (mm/page_alloc.c:3507) [ 545.305568][ T308] __alloc_pages_slowpath.constprop.0 (mm/page_alloc.c:4337) [ 545.306054][ T308] ? get_page_from_freelist (mm/page_alloc.c:3158 mm/page_alloc.c:3351) [ 545.306217][ T308] ? __pfx___alloc_pages_slowpath.constprop.0 (mm/page_alloc.c:4131) [ 545.306439][ T308] __alloc_pages_noprof (mm/page_alloc.c:4673) [ 545.306596][ T308] ? __pfx___alloc_pages_noprof (mm/page_alloc.c:4626) [ 545.306754][ T308] ? hlock_class (./arch/x86/include/asm/bitops.h:227 ./arch/x86/include/asm/bitops.h:239 ./include/asm-generic/bitops/instrumented-non-atomic.h:142 kernel/locking/lockdep.c:228) [ 545.306914][ T308] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3)) [ 545.307046][ T308] ? __lock_acquire (kernel/locking/lockdep.c:5137) [ 545.307231][ T308] alloc_slab_page (./include/linux/gfp.h:269 ./include/linux/gfp.h:296 mm/slub.c:2264) [ 545.307422][ T308] allocate_slab (mm/slub.c:2435) [ 545.307587][ T308] ___slab_alloc (mm/slub.c:3666 (discriminator 3)) [ 545.307746][ T308] ? __lock_release (kernel/locking/lockdep.c:5430) [ 545.307907][ T308] ? kmalloc_node_trace_noprof (./include/linux/mm.h:1664 ./include/linux/mm.h:1662 ./include/linux/mm.h:1670 mm/slab.h:194 mm/slub.c:3227 mm/slub.c:3224 mm/slub.c:3808 mm/slub.c:3988 mm/slub.c:4160) [ 545.308105][ T308] ? __alloc_skb (net/core/skbuff.c:667) [ 545.308267][ T308] ? lock_downgrade (./arch/x86/include/asm/irqflags.h:37 ./arch/x86/include/asm/irqflags.h:72 ./arch/x86/include/asm/irqflags.h:104 kernel/locking/lockdep.c:5653) [ 545.308439][ T308] ? kmalloc_node_track_caller_noprof (mm/slub.c:3756 mm/slub.c:3809 mm/slub.c:3988 mm/slub.c:4120 mm/slub.c:4141) [ 545.308631][ T308] kmalloc_node_track_caller_noprof (mm/slub.c:3756 mm/slub.c:3809 mm/slub.c:3988 mm/slub.c:4120 mm/slub.c:4141) [ 545.308826][ T308] ? __create_object (mm/kmemleak.c:749) [ 545.308984][ T308] ? __alloc_skb (net/core/skbuff.c:667) [ 545.309147][ T308] kmalloc_reserve (net/core/skbuff.c:601) [ 545.309306][ T308] ? netlink_dump (net/netlink/af_netlink.c:2277) [ 545.309471][ T308] __alloc_skb (net/core/skbuff.c:667) [ 545.309630][ T308] ? __pfx___alloc_skb (net/core/skbuff.c:640) [ 545.309795][ T308] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 545.309960][ T308] netlink_dump (net/netlink/af_netlink.c:2305) [ 545.310123][ T308] ? __debug_check_no_obj_freed (lib/debugobjects.c:1000) [ 545.310325][ T308] ? __pfx_netlink_dump (net/netlink/af_netlink.c:2265) [ 545.310527][ T308] ? kmem_cache_free (mm/slub.c:4436 mm/slub.c:4511) [ 545.310688][ T308] ? netlink_recvmsg (net/netlink/af_netlink.c:1985) [ 545.310849][ T308] netlink_recvmsg (net/netlink/af_netlink.c:1988) [ 545.311016][ T308] ? __pfx_netlink_recvmsg (net/netlink/af_netlink.c:1914) [ 545.311173][ T308] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 545.311337][ T308] ? __lock_release (kernel/locking/lockdep.c:5430) [ 545.311509][ T308] ? __might_fault (mm/memory.c:6233 mm/memory.c:6226) [ 545.311688][ T308] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 545.311846][ T308] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 545.312008][ T308] ____sys_recvmsg (net/socket.c:1046 net/socket.c:1068 net/socket.c:2804) [ 545.312175][ T308] ? __pfx_____sys_recvmsg (net/socket.c:2782) [ 545.312342][ T308] ? copy_msghdr_from_user (net/socket.c:2525) [ 545.312512][ T308] ? __pfx_copy_msghdr_from_user (net/socket.c:2511) [ 545.312715][ T308] ? trace_kfree (./include/trace/events/kmem.h:94 (discriminator 52)) [ 545.312873][ T308] ? kfree (mm/slub.c:4546) [ 545.313000][ T308] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3)) [ 545.313127][ T308] ___sys_recvmsg (net/socket.c:2847) [ 545.313290][ T308] ? __pfx____sys_recvmsg (net/socket.c:2836) [ 545.313459][ T308] ? do_user_addr_fault (./include/linux/rcupdate.h:329 ./include/linux/rcupdate.h:781 ./include/linux/mm.h:701 arch/x86/mm/fault.c:1340) [ 545.313617][ T308] ? reacquire_held_locks (kernel/locking/lockdep.c:5279) [ 545.313776][ T308] ? do_user_addr_fault (./include/linux/rcupdate.h:329 ./include/linux/rcupdate.h:781 ./include/linux/mm.h:701 arch/x86/mm/fault.c:1340) [ 545.313944][ T308] ? __fget_light (./include/linux/atomic/atomic-arch-fallback.h:479 ./include/linux/atomic/atomic-instrumented.h:50 fs/file.c:1145) [ 545.314114][ T308] __sys_recvmsg (./include/linux/file.h:34 net/socket.c:2878) [ 545.314273][ T308] ? __pfx___sys_recvmsg (net/socket.c:2864) [ 545.314442][ T308] ? __up_read (./arch/x86/include/asm/atomic64_64.h:79 ./include/linux/atomic/atomic-arch-fallback.h:2749 ./include/linux/atomic/atomic-long.h:184 ./include/linux/atomic/atomic-instrumented.h:3317 kernel/locking/rwsem.c:1347) [ 545.314603][ T308] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 545.314778][ T308] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 545.314943][ T308] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 545.315145][ T308] RIP: 0033:0x7f6342e2c64d [ 545.315318][ T308] Code: eb b7 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 41 54 48 83 ec 10 64 8b 04 25 18 00 00 00 85 c0 75 22 b8 2f 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 5b 4c 63 e0 48 83 c4 10 4c 89 e0 41 5c c3 66 All code ======== 0: eb b7 jmp 0xffffffffffffffb9 2: 66 2e 0f 1f 84 00 00 cs nopw 0x0(%rax,%rax,1) 9: 00 00 00 c: 90 nop d: f3 0f 1e fa endbr64 11: 41 54 push %r12 13: 48 83 ec 10 sub $0x10,%rsp 17: 64 8b 04 25 18 00 00 mov %fs:0x18,%eax 1e: 00 1f: 85 c0 test %eax,%eax 21: 75 22 jne 0x45 23: b8 2f 00 00 00 mov $0x2f,%eax 28: 0f 05 syscall 2a:* 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax <-- trapping instruction 30: 77 5b ja 0x8d 32: 4c 63 e0 movslq %eax,%r12 35: 48 83 c4 10 add $0x10,%rsp 39: 4c 89 e0 mov %r12,%rax 3c: 41 5c pop %r12 3e: c3 ret 3f: 66 data16 Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 77 5b ja 0x63 8: 4c 63 e0 movslq %eax,%r12 b: 48 83 c4 10 add $0x10,%rsp f: 4c 89 e0 mov %r12,%rax 12: 41 5c pop %r12 14: c3 ret 15: 66 data16 [ 545.315888][ T308] RSP: 002b:00007ffd174bee10 EFLAGS: 00000246 ORIG_RAX: 000000000000002f [ 545.316133][ T308] RAX: ffffffffffffffda RBX: 0000000000008000 RCX: 00007f6342e2c64d [ 545.316381][ T308] RDX: 0000000000000000 RSI: 00007ffd174bef10 RDI: 0000000000000005 [ 545.316624][ T308] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 545.316865][ T308] R10: 0000000032442970 R11: 0000000000000246 R12: 00007ffd174bef10 Finger prints: dump_header:oom_kill_process:out_of_memory:__alloc_pages_may_oom:__alloc_pages_noprof