Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- the code:
- int main() {
- while (1) {
- char *foo = new char[1048576];
- }
- }
- vanessa@rainbird:~$ dmesg
- [401096.830695] a.out invoked oom-killer: gfp_mask=0x2084d0, order=0, oom_score_adj=0
- [401096.830701] a.out cpuset=/ mems_allowed=0
- [401096.830704] CPU: 0 PID: 10774 Comm: a.out Tainted: PF C O 3.13.0-35-generic #62-Ubuntu
- [401096.830706] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./M3A770DE , BIOS P1.70 09/07/2010
- [401096.830708] 0000000000000000 ffff880377885a50 ffffffff8171e320 ffff8800c5b01800
- [401096.830711] ffff880377885ad8 ffffffff81718c34 0000000000000000 0000000000000000
- [401096.830714] 0000000000000000 0000000000000000 0000000000000000 0000000000000000
- [401096.830716] Call Trace:
- [401096.830722] [<ffffffff8171e320>] dump_stack+0x45/0x56
- [401096.830726] [<ffffffff81718c34>] dump_header+0x7f/0x1f1
- [401096.830729] [<ffffffff81151e8e>] oom_kill_process+0x1ce/0x330
- [401096.830733] [<ffffffff812d46a5>] ? security_capable_noaudit+0x15/0x20
- [401096.830735] [<ffffffff811525c4>] out_of_memory+0x414/0x450
- [401096.830738] [<ffffffff8115893c>] __alloc_pages_nodemask+0xa5c/0xb80
- [401096.830741] [<ffffffff81196d43>] alloc_pages_current+0xa3/0x160
- [401096.830744] [<ffffffff8105b207>] pte_alloc_one+0x17/0x40
- [401096.830747] [<ffffffff81175dc3>] __pte_alloc+0x23/0x170
- [401096.830749] [<ffffffff81179c56>] handle_mm_fault+0xe26/0xf00
- [401096.830752] [<ffffffff8172a2e4>] __do_page_fault+0x184/0x560
- [401096.830755] [<ffffffff81181a65>] ? change_protection+0x65/0xb0
- [401096.830757] [<ffffffff81181c01>] ? mprotect_fixup+0x151/0x290
- [401096.830759] [<ffffffff8172a6da>] do_page_fault+0x1a/0x70
- [401096.830761] [<ffffffff81726b48>] page_fault+0x28/0x30
- [401096.830763] Mem-Info:
- [401096.830764] Node 0 DMA per-cpu:
- [401096.830766] CPU 0: hi: 0, btch: 1 usd: 0
- [401096.830767] CPU 1: hi: 0, btch: 1 usd: 0
- [401096.830768] CPU 2: hi: 0, btch: 1 usd: 0
- [401096.830769] CPU 3: hi: 0, btch: 1 usd: 0
- [401096.830770] CPU 4: hi: 0, btch: 1 usd: 0
- [401096.830771] CPU 5: hi: 0, btch: 1 usd: 0
- [401096.830772] Node 0 DMA32 per-cpu:
- [401096.830774] CPU 0: hi: 186, btch: 31 usd: 0
- [401096.830775] CPU 1: hi: 186, btch: 31 usd: 0
- [401096.830777] CPU 2: hi: 186, btch: 31 usd: 0
- [401096.830778] CPU 3: hi: 186, btch: 31 usd: 0
- [401096.830779] CPU 4: hi: 186, btch: 31 usd: 31
- [401096.830780] CPU 5: hi: 186, btch: 31 usd: 0
- [401096.830781] Node 0 Normal per-cpu:
- [401096.830782] CPU 0: hi: 186, btch: 31 usd: 0
- [401096.830783] CPU 1: hi: 186, btch: 31 usd: 0
- [401096.830784] CPU 2: hi: 186, btch: 31 usd: 0
- [401096.830785] CPU 3: hi: 186, btch: 31 usd: 0
- [401096.830786] CPU 4: hi: 186, btch: 31 usd: 9
- [401096.830788] CPU 5: hi: 186, btch: 31 usd: 0
- [401096.830791] active_anon:2500284 inactive_anon:354218 isolated_anon:0
- [401096.830791] active_file:116 inactive_file:91 isolated_file:0
- [401096.830791] unevictable:1223 dirty:69 writeback:0 unstable:0
- [401096.830791] free:33640 slab_reclaimable:6566 slab_unreclaimable:12771
- [401096.830791] mapped:40238 shmem:12895 pagetables:1118221 bounce:0
- [401096.830791] free_cma:0
- [401096.830794] Node 0 DMA free:15852kB min:64kB low:80kB high:96kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:15992kB managed:15908kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? yes
- [401096.830798] lowmem_reserve[]: 0 3102 16029 16029
- [401096.830801] Node 0 DMA32 free:64460kB min:13068kB low:16332kB high:19600kB active_anon:1916576kB inactive_anon:288616kB active_file:588kB inactive_file:692kB unevictable:440kB isolated(anon):0kB isolated(file):0kB present:3259072kB managed:3180128kB mlocked:440kB dirty:88kB writeback:0kB mapped:33192kB shmem:11604kB slab_reclaimable:3904kB slab_unreclaimable:9588kB kernel_stack:656kB pagetables:848800kB unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:1970 all_unreclaimable? yes
- [401096.830805] lowmem_reserve[]: 0 0 12926 12926
- [401096.830807] Node 0 Normal free:54248kB min:54448kB low:68060kB high:81672kB active_anon:8084560kB inactive_anon:1128256kB active_file:0kB inactive_file:0kB unevictable:4452kB isolated(anon):0kB isolated(file):0kB present:13500416kB managed:13237196kB mlocked:4452kB dirty:188kB writeback:0kB mapped:127760kB shmem:39976kB slab_reclaimable:22360kB slab_unreclaimable:41496kB kernel_stack:4384kB pagetables:3624084kB unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:156 all_unreclaimable? yes
- [401096.830811] lowmem_reserve[]: 0 0 0 0
- [401096.830813] Node 0 DMA: 1*4kB (U) 1*8kB (U) 0*16kB 1*32kB (U) 1*64kB (U) 1*128kB (U) 1*256kB (U) 0*512kB 1*1024kB (U) 1*2048kB (R) 3*4096kB (M) = 15852kB
- [401096.830821] Node 0 DMA32: 487*4kB (UEMR) 1539*8kB (EMR) 579*16kB (UEMR) 173*32kB (UEMR) 92*64kB (UEM) 51*128kB (UEMR) 79*256kB (EM) 1*512kB (R) 1*1024kB (R) 1*2048kB (R) 0*4096kB = 65284kB
- [401096.830829] Node 0 Normal: 2282*4kB (UEM) 5122*8kB (UM) 9*16kB (UEM) 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 1*4096kB (R) = 54344kB
- [401096.830836] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
- [401096.830837] 13937 total pagecache pages
- [401096.830839] 0 pages in swap cache
- [401096.830841] Swap cache stats: add 1172370, delete 1172370, find 140904/166118
- [401096.830841] Free swap = 0kB
- [401096.830842] Total swap = 0kB
- [401096.830843] 4193870 pages RAM
- [401096.830844] 0 pages HighMem/MovableOnly
- [401096.830845] 65805 pages reserved
- [401096.830846] [ pid ] uid tgid total_vm rss nr_ptes swapents oom_score_adj name
- [401096.830853] [ 619] 0 619 5855 178 17 0 0 rpcbind
- [401096.830855] [ 657] 0 657 3848 110 11 0 0 upstart-socket-
- [401096.830857] [ 670] 116 670 5386 266 16 0 0 rpc.statd
- [401096.830860] [ 782] 0 782 68176 670 128 0 0 smbd
- [401096.830862] [ 883] 102 883 10123 516 24 0 0 dbus-daemon
- [401096.830864] [ 912] 0 912 82559 435 64 0 0 ModemManager
- [401096.830866] [ 935] 0 935 3852 95 12 0 0 upstart-file-br
- [401096.830868] [ 937] 0 937 4823 142 13 0 0 bluetoothd
- [401096.830870] [ 949] 111 949 8088 218 21 0 0 avahi-daemon
- [401096.830872] [ 951] 111 951 8056 81 20 0 0 avahi-daemon
- [401096.830874] [ 970] 0 970 5870 71 16 0 0 rpc.idmapd
- [401096.830876] [ 975] 0 975 89897 473 72 0 0 NetworkManager
- [401096.830877] [ 983] 0 983 74083 840 48 0 0 polkitd
- [401096.830879] [ 988] 0 988 68176 576 126 0 0 smbd
- [401096.830881] [ 1102] 0 1102 5752 201 12 0 0 getty
- [401096.830883] [ 1106] 0 1106 5752 200 14 0 0 getty
- [401096.830885] [ 1116] 0 1116 5752 201 13 0 0 getty
- [401096.830887] [ 1117] 0 1117 5752 202 13 0 0 getty
- [401096.830889] [ 1120] 0 1120 5752 202 13 0 0 getty
- [401096.830890] [ 1174] 0 1174 1092 148 7 0 0 acpid
- [401096.830892] [ 1176] 0 1176 5914 206 17 0 0 cron
- [401096.830894] [ 1177] 0 1177 4785 40 13 0 0 atd
- [401096.830896] [ 1188] 109 1188 89834 634 75 0 0 whoopsie
- [401096.830898] [ 1246] 0 1246 73153 885 46 0 0 lightdm
- [401096.830900] [ 1268] 0 1268 75612 491 51 0 0 accounts-daemon
- [401096.830901] [ 1272] 104 1272 9554 168 17 0 0 dnsmasq
- [401096.830930] [ 1301] 0 1301 93753 259 30 0 0 automount
- [401096.830932] [ 1314] 0 1314 18871 384 42 0 0 cups-browsed
- [401096.830934] [ 1371] 0 1371 164418 86994 317 0 0 Xorg
- [401096.830936] [ 1416] 0 1416 1882 81 8 0 0 gpm
- [401096.830938] [ 1435] 106 1435 9286 123 21 0 0 kerneloops
- [401096.830941] [ 1486] 0 1486 7091 319 19 0 0 rpc.mountd
- [401096.830943] [ 1509] 0 1509 123767 1161 27 0 0 osspd
- [401096.830945] [ 1579] 0 1579 6938 118 18 0 0 saned
- [401096.830946] [ 1580] 0 1580 6938 87 18 0 0 saned
- [401096.830948] [ 1640] 118 1640 28684 1392 57 0 0 timidity
- [401096.830950] [ 1652] 0 1652 5752 203 13 0 0 getty
- [401096.830952] [ 1665] 0 1665 43105 386 54 0 0 lightdm
- [401096.830954] [ 1683] 1001 1683 10731 328 25 0 0 init
- [401096.830956] [ 1793] 1001 1793 2654 79 9 0 0 ssh-agent
- [401096.830958] [ 1802] 1001 1802 11802 1520 27 0 0 dbus-daemon
- [401096.830960] [ 1809] 1001 1809 6323 176 15 0 0 upstart-event-b
- [401096.830962] [ 1829] 1001 1829 8444 102 16 0 0 upstart-file-br
- [401096.830964] [ 1830] 1001 1830 6325 67 12 0 0 upstart-dbus-br
- [401096.830966] [ 1832] 1001 1832 6325 69 11 0 0 upstart-dbus-br
- [401096.830968] [ 1852] 1001 1852 91887 333 46 0 0 at-spi-bus-laun
- [401096.830969] [ 1856] 1001 1856 9811 217 25 0 0 dbus-daemon
- [401096.830971] [ 1859] 1001 1859 31227 281 30 0 0 at-spi2-registr
- [401096.830973] [ 1878] 1001 1878 49908 820 31 0 0 gvfsd
- [401096.830975] [ 1888] 1001 1888 90107 356 44 0 0 gvfsd-fuse
- [401096.830977] [ 1922] 1001 1922 1111 137 7 0 0 sh
- [401096.830978] [ 1933] 1001 1933 82413 1291 93 0 0 xfce4-session
- [401096.830980] [ 1936] 1001 1936 9863 233 24 0 0 xfconfd
- [401096.830982] [ 1940] 1001 1940 138984 1363 60 0 0 gnome-keyring-d
- [401096.830984] [ 1943] 1001 1943 144169 2138 107 0 0 xfwm4
- [401096.830986] [ 1948] 1001 1948 198612 1598 165 0 0 Thunar
- [401096.830988] [ 1950] 1001 1950 168867 2383 234 0 0 xfce4-panel
- [401096.830989] [ 1951] 1001 1951 217130 8004 245 0 0 xfdesktop
- [401096.830991] [ 1952] 1001 1952 86757 781 100 0 0 xfsettingsd
- [401096.830993] [ 1954] 0 1954 76228 952 48 0 0 upowerd
- [401096.830995] [ 2002] 1001 2002 443292 39684 380 0 0 pandacoin-qt
- [401096.830997] [ 2005] 1001 2005 183922 8355 152 0 0 xfce4-terminal
- [401096.830999] [ 2016] 1001 2016 61168 613 87 0 0 xfce4-power-man
- [401096.831001] [ 2086] 1001 2086 162076 2008 114 0 0 panel-6-weather
- [401096.831003] [ 2090] 1001 2090 37271 780 72 0 0 xfce4-netload-p
- [401096.831005] [ 2104] 1001 2104 38919 752 76 0 0 panel-7-cpugrap
- [401096.831006] [ 2106] 1001 2106 3706 180 12 0 0 gnome-pty-helpe
- [401096.831008] [ 2114] 1001 2114 39817 636 79 0 0 panel-4-systray
- [401096.831010] [ 2115] 1001 2115 11035 324 25 0 0 ssh
- [401096.831012] [ 2116] 1001 2116 162394 1312 122 0 0 panel-28-indica
- [401096.831014] [ 2125] 1001 2125 97096 1210 57 0 0 gvfs-udisks2-vo
- [401096.831016] [ 2129] 1001 2129 33791 758 65 0 0 xfce4-oragecloc
- [401096.831017] [ 2136] 0 2136 112946 1320 55 0 0 udisksd
- [401096.831019] [ 2204] 1001 2204 50817 252 35 0 0 gvfs-mtp-volume
- [401096.831021] [ 2208] 1001 2208 72238 322 40 0 0 gvfs-afc-volume
- [401096.831023] [ 2213] 1001 2213 53858 368 39 0 0 gvfs-gphoto2-vo
- [401096.831025] [ 2215] 1001 2215 15057 317 31 0 0 gconfd-2
- [401096.831027] [ 2218] 1001 2218 10665 295 23 0 0 init
- [401096.831029] [ 2221] 1001 2221 92234 460 47 0 0 indicator-messa
- [401096.831031] [ 2223] 1001 2223 74670 337 47 0 0 indicator-power
- [401096.831032] [ 2224] 1001 2224 124696 1124 78 0 0 indicator-sound
- [401096.831034] [ 2226] 1001 2226 71687 421 70 0 0 indicator-appli
- [401096.831036] [ 2248] 1001 2248 111102 800 88 0 0 pulseaudio
- [401096.831038] [ 2252] 107 2252 42229 208 19 0 0 rtkit-daemon
- [401096.831040] [ 2260] 1001 2260 149624 434 58 0 0 gvfsd-trash
- [401096.831042] [ 2273] 65534 2273 9554 201 22 0 0 dnsmasq
- [401096.831044] [ 2382] 0 2382 57626 471 110 0 0 winbindd
- [401096.831046] [ 2386] 0 2386 47862 403 90 0 0 nmbd
- [401096.831048] [ 2390] 0 2390 57626 417 111 0 0 winbindd
- [401096.831050] [ 2553] 1001 2553 120774 1080 102 0 0 update-notifier
- [401096.831051] [ 2557] 1001 2557 61316 686 89 0 0 polkit-gnome-au
- [401096.831053] [ 2567] 1001 2567 130885 2434 99 0 0 zeitgeist-datah
- [401096.831055] [ 2570] 1001 2570 222037 1303 124 0 0 nm-applet
- [401096.831057] [ 2580] 1001 2580 64151 2528 90 0 0 applet.py
- [401096.831059] [ 2587] 1001 2587 74525 474 46 0 0 zeitgeist-daemo
- [401096.831061] [ 2600] 1001 2600 64112 819 57 0 0 zeitgeist-fts
- [401096.831063] [ 2620] 1001 2620 3601 136 11 0 0 cat
- [401096.831064] [ 2732] 113 2732 77742 609 52 0 0 colord
- [401096.831066] [32302] 1001 32302 44577 277 23 0 0 dconf-service
- [401096.831068] [18215] 1001 18215 31947 327 32 0 0 gvfsd-metadata
- [401096.831070] [20698] 1001 20698 142310 1345 72 0 0 gvfsd-http
- [401096.831072] [18503] 1001 18503 222686 11393 180 0 0 xchat
- [401096.831074] [20644] 0 20644 4869 84 13 0 0 upstart-udev-br
- [401096.831076] [20647] 0 20647 12924 346 29 0 -1000 systemd-udevd
- [401096.831078] [20723] 0 20723 10863 262 26 0 0 systemd-logind
- [401096.831081] [27583] 101 27583 63961 768 28 1 0 rsyslogd
- [401096.831083] [27636] 0 27636 4797 144 15 0 0 irqbalance
- [401096.831085] [32688] 1001 32688 202978 4670 225 0 0 scp-dbus-servic
- [401096.831086] [32568] 0 32568 37850 696 41 0 0 cupsd
- [401096.831088] [32538] 1001 32538 380742 46926 457 0 0 chromium-browse
- [401096.831091] [32550] 1001 32550 1626 83 9 0 0 chrome-sandbox
- [401096.831092] [32551] 1001 32551 152283 2740 252 0 0 chromium-browse
- [401096.831095] [32557] 1001 32557 160479 2616 213 0 0 chromium-browse
- [401096.831097] [32590] 1001 32590 257515 24042 466 54 300 chromium-browse
- [401096.831099] [32601] 1001 32601 245070 5832 291 0 300 chromium-browse
- [401096.831100] [32616] 1001 32616 266512 15283 363 0 300 chromium-browse
- [401096.831103] [32648] 1001 32648 241996 5630 287 0 300 chromium-browse
- [401096.831104] [32652] 1001 32652 271848 25240 460 0 300 chromium-browse
- [401096.831106] [32661] 1001 32661 240972 4588 281 0 300 chromium-browse
- [401096.831108] [32743] 1001 32743 347956 54162 615 0 300 chromium-browse
- [401096.831110] [32767] 1001 32767 250168 9626 356 8 300 chromium-browse
- [401096.831112] [ 311] 1001 311 424351 8381 398 0 300 chromium-browse
- [401096.831114] [ 338] 1001 338 271960 26057 477 3 300 chromium-browse
- [401096.831116] [ 351] 1001 351 273972 34430 374 0 300 chromium-browse
- [401096.831118] [ 362] 1001 362 369836 117733 778 2 300 chromium-browse
- [401096.831120] [ 372] 1001 372 252530 12142 311 0 300 chromium-browse
- [401096.831121] [ 388] 1001 388 243357 6603 287 0 300 chromium-browse
- [401096.831123] [ 398] 1001 398 252994 12790 311 0 300 chromium-browse
- [401096.831125] [ 2919] 1001 2919 740836 7297 284 0 0 claws-mail
- [401096.831127] [ 5829] 1001 5829 259516 18304 369 0 300 chromium-browse
- [401096.831129] [ 6325] 1001 6325 265448 26880 344 0 300 chromium-browse
- [401096.831131] [ 8523] 0 8523 4284 1216 15 0 0 atop
- [401096.831133] [ 8949] 1001 8949 254459 13293 319 0 300 chromium-browse
- [401096.831135] [ 9089] 1001 9089 255503 14497 327 0 300 chromium-browse
- [401096.831136] [ 9191] 1001 9191 7098 363 18 0 0 bash
- [401096.831138] [ 9445] 1001 9445 7098 337 17 0 0 bash
- [401096.831140] [ 9471] 1001 9471 8042 334 21 0 0 top
- [401096.831142] [ 9680] 1001 9680 7098 357 17 0 0 bash
- [401096.831144] [ 9910] 1001 9910 254699 15020 320 0 300 chromium-browse
- [401096.831146] [10092] 1001 10092 272276 24593 362 0 300 chromium-browse
- [401096.831147] [10770] 1001 10770 17438 3678 35 0 0 gdb
- [401096.831149] [10774] 1001 10774 564469749 2204792 1102481 0 0 a.out
- [401096.831151] Out of memory: Kill process 10774 (a.out) score 805 or sacrifice child
- [401096.831153] Killed process 10774 (a.out) total-vm:2257878996kB, anon-rss:8818732kB, file-rss:436kB
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement