Bug 335

Summary: MPlayer freezes after start
Product: Mageia Reporter: MichaÅ Walenciak <Kicer86>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: Normal CC: thierry.vignaud
Version: CauldronKeywords: NEEDINFO
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: mplayer CVE:
Status comment:
Attachments: whole strace log

Description MichaÅ Walenciak 2011-03-11 06:32:13 CET
Description of problem:

When I ran mplayer today it just showed me first frame and stopped. It's all the same with any video (except MPEG-4 ones). Double space press moves video forward for a few frames.

There is nothing special in mplayer's output in console (just the usual info). But when I straced it there was something like that:


socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC, 0) = 4
connect(4, {sa_family=AF_FILE, path=@"/tmp/.X11-unix/X0"}, 20) = 0
getpeername(4, {sa_family=AF_FILE, path=@"/tmp/.X11-unix/X0"}, [20]) = 0
uname({sys="Linux", node="Kicer", ...}) = 0
access("/home/michal/.Xauthority", R_OK) = 0


and then:

getsockname(4, {sa_family=AF_FILE, NULL}, [2]) = 0
fcntl(4, F_GETFL)                       = 0x2 (flags O_RDWR)
fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK)    = 0
fcntl(4, F_SETFD, FD_CLOEXEC)           = 0
poll([{fd=4, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=4, revents=POLLOUT}])
writev(4, [{"l\0\v\0\0\0\22\0\20\0\0\0", 12}, {"", 0}, {"MIT-MAGIC-COOKIE-1", 18}, {"\0\0", 2}, {"\206\351\3278]\307U\315WC:\"sL\332\233", 16}, {"", 0}], 6) = 48
read(4, "\1\0\v\0\0\0+\2", 8)           = 8
read(4, "\300a\246\0\0\0`\3\377\377\37\0\0\1\0\0\24\0\377\377\1\7\0\0  \10\377\0\0\0\0"..., 2220) = 2220
poll([{fd=4, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=4, revents=POLLOUT}])
writev(4, [{"b\0\5\0\f\0\0\0BIG-REQUESTS", 20}], 1) = 20
poll([{fd=4, events=POLLIN}], 1, -1)    = 1 ([{fd=4, revents=POLLIN}])
read(4, "\1\0\1\0\0\0\0\0\1\222\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096) = 32
poll([{fd=4, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=4, revents=POLLOUT}])
writev(4, [{"\222\0\1\0", 4}], 1)       = 4
poll([{fd=4, events=POLLIN}], 1, -1)    = 1 ([{fd=4, revents=POLLIN}])
read(4, "\1\0\2\0\0\0\0\0\377\377?\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096) = 32
read(4, 0x24c5204, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=4, revents=POLLOUT}])
writev(4, [{"7\0\5\0\0\0`\3Z\1\0\0\10\0\0\0\377\377\377\0\24\0\6\0Z\1\0\0\27\0\0\0"..., 44}, {NULL, 0}, {"", 0}], 3) = 44
poll([{fd=4, events=POLLIN}], 1, -1)    = 1 ([{fd=4, revents=POLLIN}])
read(4, "\1\10\4\0\250\r\0\0\37\0\0\0\0\0\0\0\2376\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 4096
read(4, "SelectionBox.foreground:\t#000000"..., 9920) = 9920
read(4, 0x24c5204, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=4, revents=POLLOUT}])
writev(4, [{"b\0\5\0\t\0`\3", 8}, {"XKEYBOARD", 9}, {"\0\0\0", 3}], 3) = 20
poll([{fd=4, events=POLLIN}], 1, -1)    = 1 ([{fd=4, revents=POLLIN}])
read(4, "\1\0\5\0\0\0\0\0\1\224w\252\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096) = 32
read(4, 0x24c5204, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
read(4, 0x24c5204, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=4, revents=POLLOUT}])
writev(4, [{"\224\0\2\0\1\0\0\0", 8}, {NULL, 0}, {"", 0}], 3) = 8
poll([{fd=4, events=POLLIN}], 1, -1)    = 1 ([{fd=4, revents=POLLIN}])
read(4, "\1\1\6\0\0\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096) = 32
read(4, 0x24c5204, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
read(4, 0x24c5204, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=4, revents=POLLOUT}])
writev(4, [{"\20\0\6\0\16\0\0\0_NET_SUPPORTED\6\0", 24}, {NULL, 0}, {"", 0}], 3) = 24
poll([{fd=4, events=POLLIN}], 1, -1)    = 1 ([{fd=4, revents=POLLIN}])
read(4, "\1\0\7\0\0\0\0\0#\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096) = 32
read(4, 0x24c5204, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
read(4, 0x24c5204, 4096)                = -1 EAGAIN (Resource temporarily unavailable)


and when (when video actually "plays"):

read(4, 0x24c5204, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
nanosleep({0, 20000000}, NULL)          = 0
select(5, [0 4], NULL, NULL, {0, 20000}) = 0 (Timeout)
read(4, 0x24c5204, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
nanosleep({0, 20000000}, NULL)          = 0
select(5, [0 4], NULL, NULL, {0, 20000}) = 0 (Timeout)
read(4, 0x24c5204, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
nanosleep({0, 20000000}, NULL)          = 0
select(5, [0 4], NULL, NULL, {0, 20000}) = 0 (Timeout)
read(4, 0x24c5204, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
nanosleep({0, 20000000}, NULL)          = 0
select(5, [0 4], NULL, NULL, {0, 20000}) = 0 (Timeout)
read(4, 0x24c5204, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
nanosleep({0, 20000000}, NULL)          = 0
select(5, [0 4], NULL, NULL, {0, 20000}) = 0 (Timeout)
read(4, 0x24c5204, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
nanosleep({0, 20000000}, NULL)          = 0
select(5, [0 4], NULL, NULL, {0, 20000}) = 0 (Timeout)
read(4, 0x24c5204, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
nanosleep({0, 20000000}, NULL)          = 0
select(5, [0 4], NULL, NULL, {0, 20000}) = 0 (Timeout)
read(4, 0x24c5204, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
nanosleep({0, 20000000}, NULL)          = 0
select(5, [0 4], NULL, NULL, {0, 20000}) = 0 (Timeout)
read(4, 0x24c5204, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
nanosleep({0, 20000000}, NULL)          = 0
select(5, [0 4], NULL, NULL, {0, 20000}) = 0 (Timeout)
read(4, 0x24c5204, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
nanosleep({0, 20000000}, NULL)          = 0
select(5, [0 4], NULL, NULL, {0, 20000}) = 0 (Timeout)
read(4, 0x24c5204, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
nanosleep({0, 20000000}, NULL)          = 0
select(5, [0 4], NULL, NULL, {0, 20000}) = 0 (Timeout)
read(4, 0x24c5204, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
nanosleep({0, 20000000}, NULL)          = 0
select(5, [0 4], NULL, NULL, {0, 20000}) = 0 (Timeout)
read(4, 0x24c5204, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
nanosleep({0, 20000000}, NULL)          = 0
select(5, [0 4], NULL, NULL, {0, 20000}) = 0 (Timeout)
read(4, 0x24c5204, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
nanosleep({0, 20000000}, NULL)          = 0

and it keeps repeating for ever.

The mplayer was surely working yesterday and stopped today. Since yesterday the following packages have been updated:

kradio-4.0.2-1.mga1                           czw, 10 mar 2011, 20:07:26
perl-Digest-SHA-5.610.0-1.mga1                czw, 10 mar 2011, 20:07:24
perl-Module-Build-0.380.0-1.mga1              czw, 10 mar 2011, 20:06:23
perl-IO-Socket-SSL-1.390.0-1.mga1             czw, 10 mar 2011, 20:06:23
perl-libwww-perl-6.10.0-1.mga1                czw, 10 mar 2011, 20:06:22
xulrunner-2.0-0.rc1.6.mga1                    czw, 10 mar 2011, 20:06:21
lib64xulrunner2.0-2.0-0.rc1.6.mga1            czw, 10 mar 2011, 20:06:20
perl-Net-HTTP-6.0.0-1.mga1                    czw, 10 mar 2011, 20:06:17
perl-HTTP-Negotiate-6.0.0-1.mga1              czw, 10 mar 2011, 20:06:17
perl-CPAN-Meta-2.110.580-1.mga1               czw, 10 mar 2011, 20:06:16
xdm-1.1.10-3.mga1                             czw, 10 mar 2011, 20:01:38
lib64jpeg62-6b-49.mga1                        czw, 10 mar 2011, 20:01:38
perl-HTTP-Daemon-6.0.0-1.mga1                 czw, 10 mar 2011, 20:01:37
perl-HTTP-Cookies-6.0.0-1.mga1                czw, 10 mar 2011, 20:01:37
lib64jpeg-devel-8b-5.mga1                     czw, 10 mar 2011, 20:01:36
jpeg-progs-8b-5.mga1                          czw, 10 mar 2011, 20:01:36
lib64jpeg8-8b-5.mga1                          czw, 10 mar 2011, 20:01:35
perl-HTTP-Message-6.10.0-1.mga1               czw, 10 mar 2011, 20:01:34
perl-WWW-RobotRules-6.0.0-1.mga1              czw, 10 mar 2011, 20:01:16
perl-Version-Requirements-0.101.20-1.mga1     czw, 10 mar 2011, 20:01:15
perl-LWP-MediaTypes-6.10.0-1.mga1             czw, 10 mar 2011, 20:01:15
perl-Parse-CPAN-Meta-1.440.100-3.mga1         czw, 10 mar 2011, 20:01:14
perl-File-Listing-6.0.0-1.mga1                czw, 10 mar 2011, 20:01:14
perl-Encode-Locale-1.10.0-1.mga1              czw, 10 mar 2011, 20:01:14
perl-JSON-PP-2.271.50-1.mga1                  czw, 10 mar 2011, 20:01:13
perl-HTTP-Date-6.0.0-1.mga1                   czw, 10 mar 2011, 20:01:13
perl-Task-Weaken-1.40.0-1.mga1                czw, 10 mar 2011, 11:28:08
perl-MIME-tools-5.502.0-1.mga1                czw, 10 mar 2011, 11:28:07
perl-Date-Manip-6.220.0-1.mga1                czw, 10 mar 2011, 11:28:02

it's all the same if I use mageia's mplayer or plf's one

How reproducible:
Always (except for MPEG-4 videos)

Steps to Reproduce:
1. play video with mplayer


Reproducible: 

Steps to Reproduce:
Comment 1 MichaÅ Walenciak 2011-03-11 06:33:31 CET
Created attachment 103 [details]
whole strace log

There is a whole strace log
Comment 2 Thierry Vignaud 2011-03-15 09:58:48 CET
What is your graphic card?
What X11 driver are you using?
What mplayer options are you using?

CC: (none) => thierry.vignaud
Source RPM: (none) => mplayer

Comment 3 MichaÅ Walenciak 2011-03-15 17:19:35 CET
nvidia
i guess You mean graphics card driver? nvidia one
notihng special, just file name.

But that was one and only incident. It works now...
Comment 4 Thierry Vignaud 2011-03-15 17:30:15 CET
There are 3 drivers for nvidia: nouveau, proprietary & nv.
Do you use the proprietary one?

Keywords: (none) => NEEDINFO

Comment 5 MichaÅ Walenciak 2011-03-16 09:15:33 CET
proprietary one
Comment 6 Thierry Vignaud 2011-03-16 09:42:49 CET
What works and what doesn't?
mplayer -vo gl foobar.avi
mplayer -vo x11 foobar.avi
mplayer -vo xv foobar.avi

Can you _attach_ (not paste) your /var/log/Xorg.0.log too?
Comment 7 MichaÅ Walenciak 2011-03-16 21:17:40 CET
each works. It was unfortunately one and only situation.
If it repeats, I'll let You know
Comment 8 Thierry Vignaud 2011-03-16 21:46:52 CET
Closing for now.
Reopen if it happens again

Status: NEW => RESOLVED
Resolution: (none) => WORKSFORME