FS#38529 - [amule] aMule 10832-2 leaks memory and OOM kills system
Attached to Project:
Arch Linux
Opened by Vorbote (vorbote) - Wednesday, 15 January 2014, 16:56 GMT
Last edited by Giovanni Scafora (giovanni) - Friday, 07 February 2014, 16:26 GMT
Opened by Vorbote (vorbote) - Wednesday, 15 January 2014, 16:56 GMT
Last edited by Giovanni Scafora (giovanni) - Friday, 07 February 2014, 16:26 GMT
|
Details
The amule 10832-2 package compiled with wxgtk3 has a memory
leak that consumes all available memory and swap, locking up
and eventually killing the system. In my setup this occurs
when clicking the information tabs related to KAD.
A possible solution: After recompiling aMule with wxgtk2.8, there have been no new memory leaks in my system (either under GNOME or fluxbox). |
This task depends upon
Closed by Giovanni Scafora (giovanni)
Friday, 07 February 2014, 16:26 GMT
Reason for closing: Fixed
Additional comments about closing: Rebuit against wxgtk2.8
Friday, 07 February 2014, 16:26 GMT
Reason for closing: Fixed
Additional comments about closing: Rebuit against wxgtk2.8
i downgrade to 10830-1 is OK.
but 10830-1 is use wxgtk (3.0.0-2)
gen 18 20:49:56 elric kernel: skype invoked oom-killer: gfp_mask=0x201da, order=0, oom_score_adj=0
gen 18 20:49:56 elric kernel: skype cpuset=/ mems_allowed=0
gen 18 20:49:56 elric kernel: CPU: 1 PID: 1533 Comm: skype Tainted: P W O 3.12.7-2-ck #1
gen 18 20:49:56 elric kernel: Hardware name: Sony Corporation VGN-SR21M_S/VAIO, BIOS R1110Y1 08/14/2008
gen 18 20:49:56 elric kernel: 0000000000000000 ffff8800a7d8fa20 ffffffff814caa94 ffff8800ac8e0000
gen 18 20:49:56 elric kernel: ffff8800a7d8faa8 ffffffff814c8c7c ffffffff81061626 ffff8800a7d8fa80
gen 18 20:49:56 elric kernel: ffffffff810de064 ffffffff818981b8 0000000000000000 ffff8800a7d8fa68
gen 18 20:49:56 elric kernel: Call Trace:
gen 18 20:49:56 elric kernel: [<ffffffff814caa94>] dump_stack+0x54/0x8d
gen 18 20:49:56 elric kernel: [<ffffffff814c8c7c>] dump_header.isra.10+0x7b/0x1f0
gen 18 20:49:56 elric kernel: [<ffffffff81061626>] ? put_online_cpus+0x56/0x80
gen 18 20:49:56 elric kernel: [<ffffffff810de064>] ? rcu_oom_notify+0xe4/0x100
gen 18 20:49:56 elric kernel: [<ffffffff810e3a6e>] ? __delayacct_freepages_end+0x2e/0x30
gen 18 20:49:56 elric kernel: [<ffffffff811226d2>] oom_kill_process+0x202/0x390
gen 18 20:49:56 elric kernel: [<ffffffff81122c71>] out_of_memory+0x251/0x290
gen 18 20:49:56 elric kernel: [<ffffffff81127d7a>] __alloc_pages_nodemask+0xa3a/0xa50
gen 18 20:49:56 elric kernel: [<ffffffff811215c3>] filemap_fault+0x193/0x440
gen 18 20:49:56 elric kernel: [<ffffffff81143c1c>] __do_fault+0x6c/0x580
gen 18 20:49:56 elric kernel: [<ffffffff811488fe>] handle_mm_fault+0x36e/0xdc0
gen 18 20:49:56 elric kernel: [<ffffffff814d5809>] __do_page_fault+0x1d9/0x5e0
gen 18 20:49:56 elric kernel: [<ffffffff811a25a4>] ? mntput+0x24/0x40
gen 18 20:49:56 elric kernel: [<ffffffff8118d7ee>] ? path_put+0x1e/0x30
gen 18 20:49:56 elric kernel: [<ffffffff81188c0d>] ? vfs_fstatat+0x6d/0xa0
gen 18 20:49:56 elric kernel: [<ffffffff810a94a8>] ? ktime_get_ts+0x48/0xe0
gen 18 20:49:56 elric kernel: [<ffffffff81081441>] ? posix_ktime_get_ts+0x11/0x20
gen 18 20:49:56 elric kernel: [<ffffffff814d5c1e>] do_page_fault+0xe/0x10
gen 18 20:49:56 elric kernel: [<ffffffff814d2848>] page_fault+0x28/0x30
gen 18 20:49:56 elric kernel: Mem-Info:
gen 18 20:49:56 elric kernel: DMA per-cpu:
gen 18 20:49:56 elric kernel: CPU 0: hi: 0, btch: 1 usd: 0
gen 18 20:49:56 elric kernel: CPU 1: hi: 0, btch: 1 usd: 0
gen 18 20:49:56 elric kernel: DMA32 per-cpu:
gen 18 20:49:56 elric kernel: CPU 0: hi: 186, btch: 31 usd: 39
gen 18 20:49:56 elric kernel: CPU 1: hi: 186, btch: 31 usd: 30
gen 18 20:49:56 elric kernel: Normal per-cpu:
gen 18 20:49:56 elric kernel: CPU 0: hi: 186, btch: 31 usd: 30
gen 18 20:49:56 elric kernel: CPU 1: hi: 186, btch: 31 usd: 57
gen 18 20:49:56 elric kernel: active_anon:656008 inactive_anon:244670 isolated_anon:32
active_file:701 inactive_file:1025 isolated_file:0
unevictable:0 dirty:0 writeback:4 unstable:0
free:21692 slab_reclaimable:11815 slab_unreclaimable:9282
mapped:11162 shmem:2795 pagetables:10261 bounce:0
free_cma:0
gen 18 20:49:56 elric kernel: DMA free:15812kB min:264kB low:328kB high:396kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB
gen 18 20:49:56 elric kernel: lowmem_reserve[]: 0 2948 3901 3901
gen 18 20:49:56 elric kernel: DMA32 free:54600kB min:50872kB low:63588kB high:76308kB active_anon:2194008kB inactive_anon:548632kB active_file:1720kB inactive_file:2360kB unevictab
gen 18 20:49:56 elric kernel: lowmem_reserve[]: 0 0 952 952
gen 18 20:49:56 elric kernel: Normal free:16356kB min:16440kB low:20548kB high:24660kB active_anon:430024kB inactive_anon:430048kB active_file:1084kB inactive_file:1740kB unevictab
gen 18 20:49:56 elric kernel: lowmem_reserve[]: 0 0 0 0
gen 18 20:49:56 elric kernel: DMA: 1*4kB (U) 0*8kB 0*16kB 0*32kB 1*64kB (U) 1*128kB (U) 1*256kB (U) 0*512kB 1*1024kB (U) 1*2048kB (R) 3*4096kB (M) = 15812kB
gen 18 20:49:56 elric kernel: DMA32: 80*4kB (UE) 249*8kB (UEM) 158*16kB (UEM) 319*32kB (UEM) 182*64kB (UE) 48*128kB (UE) 17*256kB (UE) 12*512kB (UE) 7*1024kB (UEM) 0*2048kB 1*4096k
gen 18 20:49:56 elric kernel: Normal: 57*4kB (UEM) 98*8kB (UEM) 73*16kB (UEM) 119*32kB (UEM) 42*64kB (UE) 18*128kB (UEM) 1*256kB (M) 0*512kB 1*1024kB (M) 0*2048kB 1*4096kB (R) = 16
gen 18 20:49:56 elric kernel: Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
gen 18 20:49:56 elric kernel: 6030 total pagecache pages
gen 18 20:49:56 elric kernel: 1504 pages in swap cache
gen 18 20:49:56 elric kernel: Swap cache stats: add 1265504, delete 1264000, find 24317/31987
gen 18 20:49:56 elric kernel: Free swap = 0kB
gen 18 20:49:56 elric kernel: Total swap = 2096124kB
gen 18 20:49:56 elric kernel: 1048575 pages RAM
gen 18 20:49:56 elric kernel: 74772 pages reserved
gen 18 20:49:56 elric kernel: 531008 pages shared
gen 18 20:49:56 elric kernel: 948314 pages non-shared
gen 18 20:49:56 elric kernel: [ pid ] uid tgid total_vm rss nr_ptes swapents oom_score_adj name
gen 18 20:49:56 elric kernel: [ 103] 0 103 34793 21 75 54 0 systemd-journal
gen 18 20:49:56 elric kernel: [ 130] 0 130 7972 44 18 179 -1000 systemd-udevd
gen 18 20:49:56 elric kernel: [ 420] 0 420 7973 17 20 81 0 atieventsd
gen 18 20:49:56 elric kernel: [ 457] 0 457 3368 19 11 120 0 crond
gen 18 20:49:56 elric kernel: [ 522] 0 522 6463 15 18 73 0 systemd-logind
gen 18 20:49:56 elric kernel: [ 523] 0 523 1059 16 8 38 0 acpid
gen 18 20:49:56 elric kernel: [ 524] 81 524 4495 123 14 90 -900 dbus-daemon
gen 18 20:49:56 elric kernel: [ 634] 0 634 2097 9 9 27 0 agetty
gen 18 20:49:56 elric kernel: [ 635] 0 635 5602 0 15 51 0 kdm
gen 18 20:49:56 elric kernel: [ 686] 0 686 89017 14299 182 7852 0 X
gen 18 20:49:56 elric kernel: [ 725] 0 725 1575 7 9 18 0 ifplugd
gen 18 20:49:56 elric kernel: [ 1010] 0 1010 8084 37 19 109 0 wpa_supplicant
gen 18 20:49:56 elric kernel: [ 1012] 0 1012 1052 11 7 15 0 wpa_actiond
gen 18 20:49:56 elric kernel: [ 1014] 87 1014 7287 62 19 103 0 ntpd
gen 18 20:49:56 elric kernel: [ 1034] 0 1034 18761 16 41 144 0 kdm
gen 18 20:49:56 elric kernel: [ 1090] 10085 1090 7213 44 19 65 0 systemd
gen 18 20:49:56 elric kernel: [ 1091] 10085 1091 3498 8 13 109 0 startkde
gen 18 20:49:56 elric kernel: [ 1093] 10085 1093 16818 7 36 295 0 (sd-pam)
gen 18 20:49:56 elric kernel: [ 1100] 10085 1100 3976 0 12 50 0 dbus-launch
gen 18 20:49:56 elric kernel: [ 1101] 10085 1101 4800 61 15 312 0 dbus-daemon
gen 18 20:49:56 elric kernel: [ 1126] 10085 1126 3994 22 12 77 0 gpg-agent
gen 18 20:49:56 elric kernel: [ 1140] 10085 1140 1016 0 6 20 -300 start_kdeinit
gen 18 20:49:56 elric kernel: [ 1141] 10085 1141 85547 158 131 1444 -300 kdeinit4
gen 18 20:49:56 elric kernel: [ 1142] 10085 1142 86342 159 119 1437 0 klauncher
gen 18 20:49:56 elric kernel: [ 1144] 10085 1144 205136 455 215 2810 0 kded4
gen 18 20:49:56 elric kernel: [ 1147] 10085 1147 108700 147 161 2324 0 kglobalaccel
gen 18 20:49:56 elric kernel: [ 1155] 0 1155 56992 0 42 342 0 upowerd
gen 18 20:49:56 elric kernel: [ 1160] 102 1160 126458 0 45 1537 0 polkitd
gen 18 20:49:56 elric kernel: [ 1191] 0 1191 104790 221 40 143 0 udisksd
gen 18 20:49:56 elric kernel: [ 1192] 10085 1192 1050 0 8 20 0 kwrapper4
gen 18 20:49:56 elric kernel: [ 1193] 10085 1193 129771 319 166 2114 0 ksmserver
gen 18 20:49:56 elric kernel: [ 1200] 10085 1200 227858 0 157 2223 0 kactivitymanage
gen 18 20:49:56 elric kernel: [ 1203] 10085 1203 714446 563 238 4399 0 kwin
gen 18 20:49:56 elric kernel: [ 1217] 10085 1217 805892 8739 355 16399 0 plasma-desktop
gen 18 20:49:56 elric kernel: [ 1221] 10085 1221 239603 767 243 6891 0 lancelot
gen 18 20:49:56 elric kernel: [ 1223] 10085 1223 2454 56 11 35 0 ksysguardd
gen 18 20:49:56 elric kernel: [ 1228] 10085 1228 39005 96 35 478 0 akonadi_control
gen 18 20:49:56 elric kernel: [ 1230] 10085 1230 336204 0 94 2528 0 akonadiserver
gen 18 20:49:56 elric kernel: [ 1232] 10085 1232 120144 9123 81 11572 0 mysqld
gen 18 20:49:56 elric kernel: [ 1275] 10085 1275 79649 30 107 1201 0 akonadi_agent_l
gen 18 20:49:56 elric kernel: [ 1276] 10085 1276 79649 30 109 1207 0 akonadi_agent_l
gen 18 20:49:56 elric kernel: [ 1277] 10085 1277 79680 50 107 1212 0 akonadi_agent_l
gen 18 20:49:56 elric kernel: [ 1278] 10085 1278 79679 55 108 1208 0 akonadi_agent_l
gen 18 20:49:56 elric kernel: [ 1279] 10085 1279 79679 51 107 1207 0 akonadi_agent_l
gen 18 20:49:56 elric kernel: [ 1280] 10085 1280 78054 5 105 1199 0 akonadi_agent_l
gen 18 20:49:56 elric kernel: [ 1281] 10085 1281 78026 37 108 1195 0 akonadi_agent_l
gen 18 20:49:56 elric kernel: [ 1282] 10085 1282 78026 36 105 1194 0 akonadi_agent_l
gen 18 20:49:56 elric kernel: [ 1283] 10085 1283 78026 41 106 1195 0 akonadi_agent_l
gen 18 20:49:56 elric kernel: [ 1284] 10085 1284 78026 39 104 1198 0 akonadi_agent_l
gen 18 20:49:56 elric kernel: [ 1285] 10085 1285 78026 41 103 1197 0 akonadi_agent_l
gen 18 20:49:56 elric kernel: [ 1286] 10085 1286 78026 41 105 1195 0 akonadi_agent_l
gen 18 20:49:56 elric kernel: [ 1287] 10085 1287 78718 43 110 1213 0 akonadi_agent_l
gen 18 20:49:56 elric kernel: [ 1288] 10085 1288 78717 34 107 1211 0 akonadi_agent_l
gen 18 20:49:56 elric kernel: [ 1289] 10085 1289 78719 38 108 1218 0 akonadi_agent_l
gen 18 20:49:56 elric kernel: [ 1290] 10085 1290 79682 16 109 1207 0 akonadi_agent_l
gen 18 20:49:56 elric kernel: [ 1291] 10085 1291 79649 31 111 1202 0 akonadi_agent_l
gen 18 20:49:56 elric kernel: [ 1292] 10085 1292 79682 26 105 1210 0 akonadi_agent_l
gen 18 20:49:56 elric kernel: [ 1293] 10085 1293 86172 52 157 1336 0 akonadi_maildis
gen 18 20:49:56 elric kernel: [ 1294] 10085 1294 75426 36 136 1252 0 akonadi_migrati
gen 18 20:49:56 elric kernel: [ 1295] 10085 1295 122417 33 158 1536 0 akonadi_nepomuk
gen 18 20:49:56 elric kernel: [ 1296] 10085 1296 99443 44 180 1675 0 akonadi_newmail
gen 18 20:49:56 elric kernel: [ 1297] 10085 1297 131209 36 226 2145 0 akonadi_sendlat
gen 18 20:49:56 elric kernel: [ 1481] 10085 1481 104881 134 120 1502 0 nepomukserver
gen 18 20:49:56 elric kernel: [ 1482] 10085 1482 214816 268 231 4580 0 krunner
gen 18 20:49:56 elric kernel: [ 1485] 10085 1485 131414 214 139 2122 0 nepomukstorage
gen 18 20:49:56 elric kernel: [ 1486] 10085 1486 211804 13248 303 28578 0 thunderbird
gen 18 20:49:56 elric kernel: [ 1487] 10085 1487 113941 4446 124 17940 0 skype
gen 18 20:49:56 elric kernel: [ 1497] 10085 1497 112257 31 89 639 0 pulseaudio
gen 18 20:49:56 elric kernel: [ 1498] 133 1498 42164 5 19 49 0 rtkit-daemon
gen 18 20:49:56 elric kernel: [ 1515] 10085 1515 94913 40 139 1242 0 polkit-kde-auth
gen 18 20:49:56 elric kernel: [ 1519] 10085 1519 169109 231 179 3437 0 kmix
gen 18 20:49:56 elric kernel: [ 1521] 10085 1521 99376 187 144 1327 0 knotify4
gen 18 20:49:56 elric kernel: [ 1522] 10085 1522 110592 152 166 2052 0 klipper
gen 18 20:49:56 elric kernel: [ 1556] 10085 1556 117265 6726 57 6080 0 virtuoso-t
gen 18 20:49:56 elric kernel: [ 1586] 10085 1586 65332 34 30 128 0 at-spi-bus-laun
gen 18 20:49:56 elric kernel: [ 1611] 10085 1611 132735 226 150 3424 0 nepomukfilewatc
gen 18 20:49:56 elric kernel: [ 1612] 10085 1612 113988 319 150 1436 0 nepomukfileinde
gen 18 20:49:56 elric kernel: [ 3570] 10085 3570 1532850 845305 2494 356099 0 amule
gen 18 20:49:56 elric kernel: [ 3623] 10085 3623 668601 987 207 7355 0 kscreenlocker_g
gen 18 20:49:56 elric kernel: Out of memory: Kill process 3570 (amule) score 788 or sacrifice child
gen 18 20:49:56 elric kernel: Killed process 3570 (amule) total-vm:6131400kB, anon-rss:3381168kB, file-rss:52kB
I made an AUR package with aMule SVN compiling against wxgtk 2.8: https://aur.archlinux.org/packages/amule-wx28/
And stable aMule 2.3.1: https://aur.archlinux.org/packages/amule-stable-upnp_from_svn/