[mythtv-users] Spontaneous Reboot w/ PVR-500/150

Joerg Rossdeutscher ratti at gesindel.de
Mon Sep 26 07:45:12 UTC 2005


Am Sonntag, den 25.09.2005, 19:54 +0200 schrieb Joerg Rossdeutscher:

> When I look TV with mythtv the machine reboots after ~10 Minutes without
> a warning.

I suspect a memory leak.

1.
I started mythfrontend as user and switched to any channel.

2.
CTRL-ALT-F1 to get a terminal. Logged in as root.

3.
# swapoff /dev/hda2
to get rid of any virtual memory. 'top' shows 0 Bytes of vm. Good. The
machine has 768 MB of "real" RAM.

4.
# watch --intervall=1 vmstat

The amount of free memory is permanently decreasing, starting at 300 MB.
At  ~70 MB the machine does a sudden reboot.


Hm.

I started mythfrontend from commandline with -v all and a small geometry
(256x128), just to have room an the screen. See mythfrontend --help. I
get LOTS of output each second. Is that normal? I cut off a piece:


2005-09-26 09:31:31.839 audio waiting for space on soundcard: have 1024 need 4096
2005-09-26 09:31:31.846 audio waiting for space on soundcard: have 2048 need 4096
2005-09-26 09:31:31.853 Broadcasting free space avail
2005-09-26 09:31:31.853 audio waiting for space on soundcard: have 0 need 4096
2005-09-26 09:31:31.860 audio waiting for space on soundcard: have 1024 need 4096
2005-09-26 09:31:31.867 audio waiting for space on soundcard: have 2048 need 4096
2005-09-26 09:31:31.874 audio waiting for space on soundcard: have 3072 need 4096
2005-09-26 09:31:31.881 Broadcasting free space avail
2005-09-26 09:31:31.881 audio waiting for space on soundcard: have 1024 need 4096
2005-09-26 09:31:31.888 audio waiting for space on soundcard: have 2048 need 4096
2005-09-26 09:31:31.895 audio waiting for space on soundcard: have 3072 need 4096
2005-09-26 09:31:31.903 Read(): reqd=128000, rcvd=128000, rept=128000, error=0
2005-09-26 09:31:31.903 Broadcasting free space avail
2005-09-26 09:31:31.904 audio waiting for space on soundcard: have 1024 need 4096
2005-09-26 09:31:31.906 _AddSamples bytes=4608, used=61953, free=450047, timecode=21680
2005-09-26 09:31:31.913 _AddSamples bytes=4608, used=66561, free=445439, timecode=21704
2005-09-26 09:31:31.914 _AddSamples bytes=4608, used=71169, free=440831, timecode=21728
2005-09-26 09:31:31.916 audio waiting for space on soundcard: have 3072 need 4096
2005-09-26 09:31:31.922 _AddSamples bytes=4608, used=75777, free=436223, timecode=21752
2005-09-26 09:31:31.923 _AddSamples bytes=4608, used=80385, free=431615, timecode=21776
2005-09-26 09:31:31.934 Broadcasting free space avail
2005-09-26 09:31:31.935 _AddSamples bytes=4608, used=80897, free=431103, timecode=21800
2005-09-26 09:31:31.941 Broadcasting free space avail
2005-09-26 09:31:31.941 audio waiting for space on soundcard: have 0 need 4096
2005-09-26 09:31:31.945 _AddSamples bytes=4608, used=81409, free=430591, timecode=21824
2005-09-26 09:31:31.947 _AddSamples bytes=4608, used=86017, free=425983, timecode=21848
2005-09-26 09:31:31.948 audio waiting for space on soundcard: have 1024 need 4096
2005-09-26 09:31:31.955 audio waiting for space on soundcard: have 3072 need 4096
2005-09-26 09:31:31.959 _AddSamples bytes=4608, used=90625, free=421375, timecode=21872
2005-09-26 09:31:31.961 _AddSamples bytes=4608, used=95233, free=416767, timecode=21896
2005-09-26 09:31:31.962 Broadcasting free space avail
2005-09-26 09:31:31.962 audio waiting for space on soundcard: have 0 need 4096
2005-09-26 09:31:31.969 audio waiting for space on soundcard: have 1024 need 4096
2005-09-26 09:31:31.974 _AddSamples bytes=4608, used=95745, free=416255, timecode=21920
2005-09-26 09:31:31.975 positionMap[ 45 ] == 13506598.
2005-09-26 09:31:31.976 audio waiting for space on soundcard: have 3072 need 4096

5.
This time tried "top" instead of "vmstat" in a different terminal
window. Also here I can see the amount of memory permanently shrink.

6.
This time I do NOT wait until the machine resets. I press ESC to leave
TV-mode an return to the main menu. BANG. The amount of free memory
raises up to the original value. Starting TV-mode again decreases
memory. Stopping TV mode gives me my RAM back.


Anyone can help? Brian, does this also happen on your machine?

Bye, Ratti

-- 
 -o) fontlinge | Fontmanagement for Linux | Schriftenverwaltung in Linux
 /\\ http://freshmeat.net/projects/fontlinge/
_\_V http://www.gesindel.de https://sourceforge.net/projects/fontlinge/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://mythtv.org/pipermail/mythtv-users/attachments/20050926/f6c8f0b5/attachment.pgp


More information about the mythtv-users mailing list