[Bug 18143] New: Kaffeine hangs with 99% CPU after half hour of DVB recording

bugzilla-daemon at bugzilla.ubuntu.com bugzilla-daemon at bugzilla.ubuntu.com
Wed Oct 19 21:05:15 UTC 2005


Please do not reply to this email.  You can add comments at
http://bugzilla.ubuntu.com/show_bug.cgi?id=18143
Ubuntu | kaffeine

           Summary: Kaffeine hangs with 99% CPU after half hour of DVB
                    recording
           Product: Ubuntu
           Version: unspecified
          Platform: i386
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: kaffeine
        AssignedTo: debzilla at ubuntu.com
        ReportedBy: Richard.Theil at web.de
         QAContact: kubuntu-bugs at lists.ubuntu.com


Platform: Ubuntu 5.10, stock install, universe/multiverse
enabled plus Kaffeine (also saw 17109/18072 btw.) and
appropriate codecs.

Hardware: AMD AthlonXP 1700 ("Palomino") on Epox EP-8KHA+
Avermedia 771 DVB-T Card (DVB-BT878 and MT352 Tuner)

Version: kaffeine (& -xine & -gstreamer) 0.7-0ubuntu4
kaffeine set to kaffeine-xine backend (to work around the
flaws with gstreamer like jerky motion and ghosted channels
for DVB in kaffeine (two bugs on their own...))

Severity: Grave. This bug renders non-reproducible
data useless when recordings of one-time broadcasts
get cut off.

Description: A DVB channel is set in kaffeine, immediate
recording is activated for it, then it is displayed in
the player tab. After roughly half an hour, the picture
freezes, the recording stops and the CPU use for kaffeine
goes to 99%. The rest of the system still responds fine.

Reproducibility: Haven't tried yet, lacking the time.
I considered this failure annoying enough though, to
warrant immediate filing, even if this happens only as
a 5% fluke. I also don't have permanent access to the
machine (it lives 'round my parents).

Further details: Recording has been done in the
Rhein-Main area of Germany from VHF Bocquet 1 at
198.5 MHz (Das Erste) over a room aerial that had
limited signal quality on that frequency (very rare
errors on blocks in the picture were observed), so
a codec issue with the live view might not be ruled
out.

Logs: Anticipating trouble, I ran kaffeine in a
terminal, excerpt below, annotated. Unfortunately I
didn't try to attach gdb or strace to the hung task.

### excerpt starts, instant recording clicked
Recording started : Das Erste
NOUT : 1
Audiostream: Layer: 2  BRate: 192 kb/s  Freq: 48.0 kHz
### Frame size from a news programme. Looks perfectly fine so far.
Videostream: ASPECT: 4:3  Size = 704x576  FRate: 25 fps  BRate: 7.00 Mbit/s
Launched ok, pid = 8432
OggS-SEEK: at 0 want 60408 got 51136 (diff-requested 60408)
OggS-SEEK: at 60352 want 520 got 0 (diff-requested -59832)
X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  20
  Minor opcode:  0
  Resource id:  0x30008c4
X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  20
  Minor opcode:  0
  Resource id:  0x30008c4
X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  18
  Minor opcode:  0
  Resource id:  0x30008c4
kaffeine: Kaffeine: Fake keypress event
kaffeine: KXineWidget: New video frame size: 1014x576 - aspect ratio: 1.45455
### Here the normal-screened news program ended and the widescreen movie begun.
kaffeine: KaffeinePart: got new frame size from xine
kaffeine: Kaffeine: new video frame size: 1014x576
kaffeine: Kaffeine: autoresize: old size: 765x725, video size: 1014x576, player
size: 761x576, resize to: 10 18x725
kaffeine: Kaffeine: autoresize: old size: 1018x725, video size: 1014x576, player
size: 1014x576, resize to: 1018x725
kaffeine: Kaffeine: Fake keypress event
### kaffeine issues keypresses to avoid the screensaver coming on
kaffeine: Kaffeine: Fake keypress event
kaffeine: Kaffeine: Fake keypress event
kaffeine: Kaffeine: Fake keypress event
kaffeine: Kaffeine: Fake keypress event
kaffeine: Kaffeine: Fake keypress event
kaffeine: Kaffeine: Fake keypress event
kaffeine: Kaffeine: Fake keypress event
kaffeine: Kaffeine: Fake keypress event
kaffeine: Kaffeine: Fake keypress event
kaffeine: Kaffeine: Fake keypress event
kaffeine: Kaffeine: Fake keypress event
kaffeine: Kaffeine: Fake keypress event
kaffeine: Kaffeine: Fake keypress event
kaffeine: Kaffeine: Fake keypress event
kaffeine: Kaffeine: Fake keypress event
kaffeine: Kaffeine: Fake keypress event
kaffeine: Kaffeine: Fake keypress event
kaffeine: Kaffeine: Fake keypress event
kaffeine: Kaffeine: Fake keypress event
kaffeine: Kaffeine: Fake keypress event
kaffeine: Kaffeine: Fake keypress event
kaffeine: Kaffeine: Fake keypress event
kaffeine: Kaffeine: Fake keypress event
kaffeine: Kaffeine: Fake keypress event
kaffeine: Kaffeine: Fake keypress event
kaffeine: Kaffeine: Fake keypress event
kaffeine: Kaffeine: Fake keypress event
kaffeine: Kaffeine: Fake keypress event
kaffeine: Kaffeine: Fake keypress event
kaffeine: Kaffeine: Fake keypress event
kaffeine: Kaffeine: Fake keypress event
kaffeine: Kaffeine: Fake keypress event
kaffeine: Kaffeine: Fake keypress event
kaffeine: Kaffeine: Fake keypress event
kaffeine: Kaffeine: Fake keypress event
kaffeine: Kaffeine: Fake keypress event
kaffeine: Kaffeine: Fake keypress event
kaffeine: Kaffeine: Fake keypress event
kaffeine: Kaffeine: Fake keypress event
kaffeine: Kaffeine: Fake keypress event
kaffeine: Kaffeine: Fake keypress event
kaffeine: Kaffeine: Fake keypress event
### I don't know if it went wrong precisely here?!
kaffeine: Kaffeine: Mouse press event
### Why would arts run if normal ubuntu runs esd?
### (the xine engine is set to "auto" detect by stock install)
warning: leaving MCOP Dispatcher and still 14 object references alive.
  - Arts::SampleStorage
  - Arts::Synth_MULTI_ADD
  - Arts::Synth_MULTI_ADD
  - Arts::Synth_PLAY
  - Arts::StereoVolumeControl
  - Arts::StereoEffectStack
  - Arts::Synth_BUS_DOWNLINK
  - Arts::SoundServerV2
  - Arts::Synth_BUS_UPLINK
  - Arts::AudioManagerClient
  - Arts::Synth_AMAN_PLAY
  - Arts::Synth_BUS_UPLINK
  - Arts::AudioManagerClient
  - Arts::Synth_AMAN_PLAY
warning: leaving MCOP Dispatcher and still 151 types alive.
kaffeine: Kaffeine: Mouse press event
kaffeine: Kaffeine: Mouse press event
kaffeine: Kaffeine: Fake keypress event
Launched ok, pid = 10305
OggS-SEEK: at 0 want 60408 got 51136 (diff-requested 60408)
OggS-SEEK: at 60352 want 520 got 0 (diff-requested -59832)
### unfortunately I didn't take note what of this happened before
### or after the failure :(
Asked to stop
pipe closed
Live stopped
kaffeine: Kaffeine: destructor
kaffeine: KXineWidget: xine event: playback finished
ICE default IO error handler doing an exit(), pid = 8429, errno = 0

-- 
Configure bugmail: http://bugzilla.ubuntu.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.




More information about the kubuntu-bugs mailing list