Totally fatal system hang when using mencoder to record video from BT878 device

Bug #67250 reported by Freemor
4
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: linux-source-2.6.17

Using:

Linux 2.6.17-10-generic #2 SMP i686 GNU/Linux
Edgy-RC1

MEncoder 2:0.99+1.0pre8-0ubuntu8

listing this as an kernel problem not an mencoder problem due to the fact that the crash is so bad I can not even use ctrl-alt-sysRq keys to shut the system down somewhat gracefully.

how to reproduce
use mencoder to record from BT878 card
After a varying amount of time system will be totally frozen

information Gleened so far:

last crash was proceeded by the syslog spitting out the following info on all open terms.

message from syslog@localhost:
CPU 0

message from syslog@localhost:
EIP: is at freeblock +0x7d/0x100

message from syslog@localhost:
EAX: cacdc9000
EBX: dd956fa0
ECX: c5555000
EDX: bfbdbcbc

message from syslog@localhost:
ESI: c555414
EDI: dd959c40
EBP: dd95709
ESP: dd911efc

message from syslog@localhost:
DS: 007b
ES: 007b
SS: 0068

Sorry for the slightly truncated nature of the above had to write it down by hand before hitting the reset button. Checked /var/log/syslog.log and the error messages do not appear there.

what is almost universally in my logs just prior to the crash is something akin to:

[17182685.328000] usb 1-6.2: reset low speed USB device using ehci_hcd and address 3

Strangely messages similar to this have persisted even though I unplugged all low speed usb devices after seeing it the first few times and thinking it might be a hardware problem.

will now try removing the usb 2.0 hub just to be sure it is not the problem. But doubt it is the hub alone as the crash only occurs while recording

If you require more info. Or can tell me how to get a core.dump or backtrace out of such a brutal crash I'm all ears.

will also try using ffmpeg to record and see if it crashes there too.

Tags: kernel
Revision history for this message
Freemor (freemor) wrote :

More info and another spew

the low speed usb device turned out to be my mouse <sigh>
so unplugged the mouse and tried recording with mencoder

as encoding proceeded there was increasing system wait times

then the following spew and the expected fatal crash

kernel: call trace
kernel: <c0166957> drain_array+0x67/0xd0 <c0168118> cache_reap+0xb8/0x1a0

kernel: <c0132702> run_workqueue+0x72/0xf0 <c0168060> cache_reap+0x0/0x140

kernel: <c01332e7> worker_thread+0x177/0x140 <c011bde0> default_wake_function+0x0/0x10

kernel: <c01331d0> worker_thread+0x0/0x140 <c0135f8b> kthread+0xab/0xe0

kernel: <co135ee0> kthread+0x0/0xe0 <c0101005> kernel_thread_helper+0x5/0x10

code:
  75 00 8d 96 00 00 00 40 c1 ea 0c c1 e2 05 03 15 00 cc 47 c0 8b 02 f6 c4 40 75 7f 8b 4a 1c 8b 44 24 20 8b 11 8b 5c 87 30 8b 41 04 <89> 42 04 89 10 31 d2 2b 71 0c c7 01 00 01 10 00 c7 41 04 00 02

EIP: [free_block+125/256] free_block+0x7d/0x100 ss:esp 0068:dd911efc

I've attached the various bits that made it into the logs and the names logs the bits are from .

Freemor (freemor)
description: updated
Revision history for this message
Freemor (freemor) wrote :

More playing around to day with various codecs/encoders.. managed to get a non-fatal dequeueing error. Seems the encoder my be outstripping the BT878. I have attached the related errors from syslog.

hope it is useful in tracking down the problem.

Revision history for this message
Freemor (freemor) wrote :

crashes and hangs the same way with other encoders

VLC 0.8.6-svn20061012 hangs system while encoding Video
streamer 3.95-4ubuntu1 hangs system while encoding video

Revision history for this message
Freemor (freemor) wrote :

Has anyone looked at this... If it is not addressed it is a major Block to upgrading for people like myself that do a lot of pvr'ing.

Revision history for this message
Andrew Ash (ash211) wrote :

Sorry no one has looked at this sooner, Freemor. Is it still an issue on the new version of Ubuntu, Hardy Heron? Thanks

Changed in linux-source-2.6.17:
status: New → Incomplete
Revision history for this message
Freemor (freemor) wrote :

Couldn't tell you anymore.. my life has moved on and I no longer have access to the hardware I was working whith when I reported the bug. sorry. perhaps someone else with a BT878 card can offer some input.

Revision history for this message
Andrew Ash (ash211) wrote :

If this was a showstopper for someone else with this hardware, they've had plenty of time to report it here! I'll go ahead and close the bug since we can't really work on fixing it anymore. If you happen to get the hardware again and it still doesn't work, reopen this bug and we'll take another look at it. Thanks!

Changed in linux-source-2.6.17:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.