[vdr] vdr 1.7.7 run out of memory

Josce josce at welho.com
Mon May 25 11:57:53 CEST 2009


Hi,

I installed vdr 1.7.7 and reelbox plugin as described here:
http://www.vdr-wiki.de/wiki/index.php/OpenSUSE_VDR_DVB-S2_-_Teil2.1:_eHD

When I replay a recording and stop the replay before it reaches the end everything
works fine. But if I let the recording run to the end vdr uses up all memory.

Before replay as reported by top:
Mem:    967700k total,   119576k used,   848124k free

May 25 12:10:58 localhost vdr: [2214] replay /video/Test1/2009-05-22.17.58.5-0.rec
May 25 12:10:58 localhost vdr: [2214] playing '/video/Test1/2009-05-22.17.58.5-0.rec/00001.ts'
May 25 12:10:59 localhost vdr: [2272] TS buffer on device 1 thread ended (pid=2214, tid=2272)
May 25 12:10:59 localhost vdr: [2271] buffer stats: 106784 (5%) used
May 25 12:10:59 localhost vdr: [2271] receiver on device 1 thread ended (pid=2214, tid=2271)
May 25 12:10:59 localhost vdr: [2214] Picture settings OK.
May 25 12:10:59 localhost vdr: [2352] dvbplayer thread started (pid=2214, tid=2352)
May 25 12:10:59 localhost vdr: [2352] resuming replay at index 62688 (0:41:47.14)
May 25 12:10:59 localhost vdr: [2353] non blocking file reader thread started (pid=2214, tid=2353)
May 25 12:10:59 localhost vdr: ALSA pcm underrun
May 25 12:10:59 localhost vdr: [2354] subtitleConverter thread started (pid=2214, tid=2354)
May 25 12:11:15 localhost vdr: [2353] non blocking file reader thread ended (pid=2214, tid=2353)
May 25 12:11:15 localhost vdr: [2352] dvbplayer thread ended (pid=2214, tid=2352)
May 25 12:11:15 localhost vdr: [2354] subtitleConverter thread ended (pid=2214, tid=2354)
May 25 12:11:15 localhost vdr: [2214] switching to channel 1
May 25 12:11:15 localhost vdr: [2359] receiver on device 1 thread started (pid=2214, tid=2359)
May 25 12:11:15 localhost vdr: [2359] ERROR: can't allocate ring buffer (size=2097152)
May 25 12:11:15 localhost vdr: [2360] TS buffer on device 1 thread started (pid=2214, tid=2360)
May 25 12:11:15 localhost vdr: [2360] ERROR (cam.c,2466): Bad address
May 25 12:11:15 localhost vdr: [2360] TS buffer on device 1 thread ended (pid=2214, tid=2360)
May 25 12:11:16 localhost vdr: [2214] Picture settings OK.

After first replay:
Mem:    967700k total,   652608k used,   315092k free,     8736k buffers

May 25 12:12:38 localhost vdr: [2368] replay /video/Test2/2009-05-22.23.16.5-0.rec
May 25 12:12:38 localhost vdr: [2368] playing '/video/Test2/2009-05-22.23.16.5-0.rec/00001.ts'
May 25 12:12:39 localhost vdr: [2410] TS buffer on device 1 thread ended (pid=2368, tid=2410)
May 25 12:12:39 localhost vdr: [2409] buffer stats: 104528 (4%) used
May 25 12:12:39 localhost vdr: [2409] receiver on device 1 thread ended (pid=2368, tid=2409)
May 25 12:12:39 localhost vdr: [2368] Picture settings OK.
May 25 12:12:39 localhost vdr: [2411] dvbplayer thread started (pid=2368, tid=2411)
May 25 12:12:39 localhost vdr: [2411] resuming replay at index 62688 (0:41:47.14)
May 25 12:12:39 localhost vdr: [2412] non blocking file reader thread started (pid=2368, tid=2412)
May 25 12:12:39 localhost vdr: ALSA pcm underrun
May 25 12:12:39 localhost vdr: [2413] subtitleConverter thread started (pid=2368, tid=2413)
May 25 12:12:51 localhost vdr: [2368] ERROR: can't allocate bitmap!
May 25 12:12:51 localhost kernel: vdr[2368]: segfault at 0 ip 00922636 sp bfc82df8 error 4 in libc-2.9.so[8a9000+16e000]

After segfault:
Mem:    967700k total,   117252k used,   850448k free,    10488k buffers

BR,

Josce




More information about the vdr mailing list