Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 275971 - media-video/mplayer-1.0_rc2_p20090530 password "protected" .rar causes mplayer to hang
Summary: media-video/mplayer-1.0_rc2_p20090530 password "protected" .rar causes mplaye...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-30 17:02 UTC by Niko Efthymiou
Modified: 2009-07-28 17:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Niko Efthymiou 2009-06-30 17:02:15 UTC
mplayer can't handle password protected .rar and hangs, while unrar waits for a password (which it never gets).

Reproducible: Always

Steps to Reproduce:
1. get a password protected .rar file containing an .avi with the same basename (test.rar containing test.avi)
2. mplayer test.avi


Actual Results:  
mplayer hangs

Expected Results:  
mplayer should either ask for a password or skip the file stating that it can't handle password protected files

strace mplayer test.avi:
[...]
access("/usr/bin/unrar", R_OK|X_OK)     = 0
access("./test.rar", R_OK)              = 0
pipe([3, 5])                            = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f0164d10830) = 6575
close(5)                                = 0
fcntl(3, F_GETFL)                       = 0 (flags O_RDONLY)
fstat(3, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0164d42000
lseek(3, 0, SEEK_CUR)                   = -1 ESPIPE (Illegal seek)
read(3, "\nUNRAR 3.80 freeware      Copyrig"..., 4096) = 67
read(3,

[ebuild   R   ] media-video/mplayer-1.0_rc2_p20090530  USE="3dnow 3dnowext X a52 aac aalib alsa amrnb amrwb ass cddb cdio cdparanoia dirac dts dv dvd dvdnav enca encode faac faad fbcon gif iconv jack jpeg ladspa live lzo mad mmx mmxext mng mp2 mp3 nemesi network opengl osdmenu png pnm rar rtc samba schroedinger shm speex sse sse2 tga theora tremor truetype unicode vorbis x264 xanim xinerama xscreensaver xv xvid xvmc (-altivec) -bidi -bindist -bl -cpudetection -custom-cflags -custom-cpuopts -debug -dga -directfb -doc -dvb -dxr3 -esd -ftp -ggi -gmplayer -ipv6 -joystick -libcaca -lirc -md5sum -musepack -nas -nut -openal -oss -pulseaudio -pvr -quicktime -radio (-real) -sdl -ssse3 (-svga) -teletext -v4l -v4l2 -vdpau (-vidix) (-win32codecs) -zoran" VIDEO_CARDS="-mga -nvidia -s3virge -tdfx -vesa" 8,015 kB
Comment 1 Steve Dibb (RETIRED) gentoo-dev 2009-07-28 17:15:05 UTC
Not much we can do, you're best handling this upstream as it's a feature request, not a build / runtime problem.