[mythtv] Possible memory leak in mythfrontend/music

Wendy Seltzer wendy at seltzer.com
Thu Jan 6 18:24:00 EST 2005


I've been running mythmusic on a box with 256MB of RAM and find that 
mythfrontend keeps being killed by the oom-killer.   (256 MB RAM, 500 
MB swap, on-board shared video, Pentium 4 2.8 GHz HT, SATA.  Current 
CVS. )

I know the video would be underpowered for TV, but I thought the 
setup should work for music only, so I wondered if these symptoms 
indicated a memory leak someplace.  It reliably crashes when I try to 
listen to a Mahler 6th that I've ripped as a single flac track, 
around 52 minutes into the 356MB file.

Here's the message from dmesg.  Let me know if other information would help.

oom-killer: gfp_mask=0x1d2
DMA per-cpu:
cpu 0 hot: low 2, high 6, batch 1
cpu 0 cold: low 0, high 2, batch 1
cpu 1 hot: low 2, high 6, batch 1
cpu 1 cold: low 0, high 2, batch 1
Normal per-cpu:
cpu 0 hot: low 28, high 84, batch 14
cpu 0 cold: low 0, high 28, batch 14
cpu 1 hot: low 28, high 84, batch 14
cpu 1 cold: low 0, high 28, batch 14
HighMem per-cpu: empty

Free pages:        1824kB (0kB HighMem)
Active:28382 inactive:27528 dirty:0 writeback:0 unstable:0 free:456 
slab:3235 mapped:56156 pagetables:566
DMA free:32kB min:32kB low:64kB high:96kB active:6364kB 
inactive:6068kB present:16384kB
protections[]: 0 0 0
Normal free:1792kB min:464kB low:928kB high:1392kB active:107036kB 
inactive:104108kB present:236080kB
protections[]: 0 0 0
HighMem free:0kB min:128kB low:256kB high:384kB active:0kB 
inactive:0kB present:0kB
protections[]: 0 0 0
DMA: 0*4kB 0*8kB 0*16kB 1*32kB 0*64kB 0*128kB 0*256kB 0*512kB 
0*1024kB 0*2048kB 0*4096kB = 32kB
Normal: 286*4kB 19*8kB 1*16kB 1*32kB 1*64kB 1*128kB 1*256kB 0*512kB 
0*1024kB 0*2048kB 0*4096kB = 1792kB
HighMem: empty
Swap cache: add 134265, delete 134265, find 30676/31729, race 0+0
Out of Memory: Killed process 28076 (mythfrontend).

Thanks!
--Wendy
-- 
--
Wendy Seltzer -- wendy at seltzer.com || wendy at eff.org
Staff Attorney, Electronic Frontier Foundation
Fellow, Berkman Center for Internet & Society at Harvard Law School
http://cyber.law.harvard.edu/seltzer.html


More information about the mythtv-dev mailing list