2005-12-31 18:18:17

by Bradley Reed

[permalink] [raw]
Subject: MPlayer broken under 2.6.15-rc7-rt1?

I have tried MPlayer versions 1.0pre6, 1.0pre7, and cvs from today and
they all work fine under 2.6.14 and 2.6.14-rt21/22.

I booted into 2.6.15-rc7-rt1 and the same MPlayer binaries segfault on
every video I try and play. Yes, I have nvidia modules loaded, so won't
get much help, but thought someone might like to know.

xine plays the videos fine.

BTW, other than MPLayer problems, everything else works great.

Brad

dmesg shows:
------------[ cut here ]------------
kernel BUG at include/linux/timer.h:83!
invalid operand: 0000 [#5]
PREEMPT
Modules linked in: snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_o
ss intel_agp snd_intel8x0 snd_ac97_codec snd_ac97_bus snd_pcm snd_timer snd snd_page_alloc nvidia agpgart b44
orinoco_cs orinoco hermes
CPU: 0
EIP: 0060:[<c031491c>] Tainted: P VLI
EFLAGS: 00010286 (2.6.15-rc7-rt1)
EIP is at rtc_do_ioctl+0xa13/0xa44
eax: 00000021 ebx: cf16e000 ecx: de8e8000 edx: cf16e000
esi: 00000246 edi: 00000001 ebp: 00007005 esp: cf16fe7c
ds: 007b es: 007b ss: 0068 preempt: 00000001
Process mplayer (pid: 4067, threadinfo=cf16e000 task=df315380 stack_left=7752 worst_left=-1)
Stack: c047704e c047dff9 00000053 00000000 00000000 00000246 dffb4e00 c0500380
00000087 00000000 c030809a de91e330 cb5f1b80 00000000 00000246 dffb4e00
dffb4e00 00000000 c0307fc3 c016ed76 de91e330 cb5f1b80 cf16ff38 00000003
Call Trace:
[<c030809a>] misc_open+0xd7/0x2ee (44)
[<c0307fc3>] misc_open+0x0/0x2ee (32)
[<c016ed76>] chrdev_open+0xf6/0x1c8 (4)
[<c016ec80>] chrdev_open+0x0/0x1c8 (32)
[<c0164380>] __dentry_open+0xc3/0x259 (4)
[<c0164656>] nameidata_to_filp+0x37/0x4f (28)
[<c016456a>] filp_open+0x54/0x60 (28)
[<c0178983>] do_ioctl+0x6f/0xa9 (40)
[<c0178b54>] vfs_ioctl+0x65/0x1e1 (36)
[<c01732ac>] putname+0x2b/0x37 (20)
[<c0178d15>] sys_ioctl+0x45/0x6c (16)
[<c0103171>] syscall_call+0x7/0xb (36)
Code: 73 14 00 e9 bb fd ff ff e8 d0 73 14 00 eb ae c7 44 24 08 53 00 00 00 c7 44 24 04 f9 df 47 c0 c7 04 24 4e
70 47 c0 e8 25 7d e0 ff <0f> 0b 53 00 f9 df 47 c0 e9 a1 fd ff ff fb 83 6b 14 01 8b 43 08

====
strace mplayer ends with:

munmap(0xb6cd8000, 790528) = 0
open("/dev/rtc", O_RDONLY|O_LARGEFILE) = 3
ioctl(3, RTC_IRQP_SET, 0x400) = 0
ioctl(3, RTC_PIE_ON <unfinished ...>
+++ killed by SIGSEGV +++



2005-12-31 19:09:06

by Mark Knecht

[permalink] [raw]
Subject: Re: MPlayer broken under 2.6.15-rc7-rt1?

On 12/31/05, Bradley Reed <[email protected]> wrote:
> I have tried MPlayer versions 1.0pre6, 1.0pre7, and cvs from today and
> they all work fine under 2.6.14 and 2.6.14-rt21/22.
>
> I booted into 2.6.15-rc7-rt1 and the same MPlayer binaries segfault on
> every video I try and play. Yes, I have nvidia modules loaded, so won't
> get much help, but thought someone might like to know.
>
> xine plays the videos fine.
>
> BTW, other than MPLayer problems, everything else works great.
>
> Brad

Hi,
Strange results here. I tried mplayer playing both audio only and
then some video recorded with MythTV. No segfault problems with either
one on my end but on the video (Tonight Show) the audio was very
clearly out of sync with the video.

To check it out further I tried watching the same clip in MythTV
and got a crash:

----------- [cut here ] --------- [please bite here ] ---------
Kernel BUG at include/linux/timer.h:83
invalid operand: 0000 [1] PREEMPT
CPU 0
Modules linked in: snd_seq_midi snd_pcm_oss snd_mixer_oss snd_seq_oss
snd_seq_mi di_event snd_seq realtime sbp2 ohci1394 ieee1394 snd_hdsp
snd_rawmidi snd_seq_de vice snd_hwdep snd_intel8x0 snd_ac97_codec
snd_ac97_bus snd_pcm snd_timer snd sn d_page_alloc radeon drm
Pid: 8553, comm: mythfrontend Not tainted 2.6.15-rc7-rt1 #1
RIP: 0010:[<ffffffff802ae2fa>] <ffffffff802ae2fa>{rtc_do_ioctl+730}
RSP: 0018:ffff81000adb9e08 EFLAGS: 00210282
RAX: 0000000000000000 RBX: 0000000000200202 RCX: ffff81001f9217c0
RDX: 0000000000000000 RSI: ffff81000a6d5030 RDI: ffff81001f9217c0
RBP: 0000000000000001 R08: ffff81000adb8000 R09: 0000000000000001
R10: 00002aaaaaac0660 R11: 0000000000200246 R12: 00000000fffffff3
R13: 0000000000007005 R14: 0000000000000013 R15: 00002aaaab3d3850
FS: 0000000043005960(0063) GS:ffffffff80573800(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 00002aaaac987620 CR3: 00000000063a9000 CR4: 00000000000006e0
Process mythfrontend (pid: 8553, threadinfo ffff81000adb8000, task
ffff81000a6d5 030)
Stack: ffff81001e986bc8 0000000000200246 0000000000200202 0000000000200246
ffff81001ffa13c0 ffffffff80181331 0000000000008000 0000000000008000
ffff81000adc56c0 ffff81001e986bc8
Call Trace:<ffffffff80181331>{chrdev_open+449} <ffffffff80181170>{chrdev_open+0}
<ffffffff801771fc>{__dentry_open+332} <ffffffff804051da>{lock_kernel+42}
<ffffffff8018b4e4>{do_ioctl+116} <ffffffff8018b7c2>{vfs_ioctl+690}
<ffffffff8018b85a>{sys_ioctl+106} <ffffffff8010dba6>{system_call+126}


Code: 0f 0b 68 9d 5f 42 80 c2 53 00 48 8b 35 25 54 2a 00 48 c7 c7
RIP <ffffffff802ae2fa>{rtc_do_ioctl+730} RSP <ffff81000adb9e08>

mark@lightning ~ $


* media-video/mplayer
Available versions: 1.0_pre7-r1
Installed: 1.0_pre7-r1


mark@lightning ~ $ eix mythtv
* media-tv/mythtv
Available versions: 0.18.1-r1 ~0.18.1-r2 [M]0.18.2_pre7882
Installed: 0.18.1-r1

lightning ~ # emerge info
Portage 2.0.53 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2,
2.6.15-rc7-rt1 x86_64)
=================================================================
System uname: 2.6.15-rc7-rt1 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.13
dev-lang/python: 2.3.5-r2, 2.4.2
sys-apps/sandbox: 1.2.12
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.16.1
sys-devel/libtool: 1.5.20
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="amd64"

Looks like there is a bit of an issue here.

- Mark