Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 332757 - www-plugins/gnash-0.8.7_p20100812 retrieval of http objects fails with net-misc/curl[threads] eg. on megavideo
Summary: www-plugins/gnash-0.8.7_p20100812 retrieval of http objects fails with net-mi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Chí-Thanh Christopher Nguyễn
URL: http://www.megavideo.com
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-14 17:05 UTC by Emmanuel Andry
Modified: 2011-03-21 01:36 UTC (History)
3 users (show)

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 Emmanuel Andry 2010-08-14 17:05:34 UTC
Since unstable gnash 0.8.8, I cannot play megavideo videos anymore. It just display "Connection problem"

I'm a mandriva packager, and I provided a gnash snapshot (from 20100810) with ffmpeg for codec support, and it works fine on megavideo.

Maybe as missing dep or something else on gentoo ?

Thanks !

Reproducible: Always




# emerge --info gnash
Portage 2.1.8.3 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.4, glibc-2.11.2-r0, 2.6.35-gentoo-r1 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.35-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T5450_@_1.66GHz-with-gentoo-2.0.1
Timestamp of tree: Sat, 14 Aug 2010 16:00:01 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA googleearth"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -mtune=native -fomit-frame-pointer -pipe -floop-interchange -floop-strip-mine -floop-block"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -mtune=native -fomit-frame-pointer -pipe -floop-interchange -floop-strip-mine -floop-block"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ ftp://mirrors.ipv6.linuxant.fr/distfiles.gentoo.org/ ftp://mirror.ovh.net/gentoo-distfiles/ rsync://de-mirror.org/gentoo/"
LANG="fr_FR@euro"
LC_ALL="fr_FR@euro"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="fr"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi agg akonadi alsa amd64 audit autoipd avahi bash-completion berkdb bluetooth branding bzip2 cairo caps cdda cddb cdr cg chm cleartype cli colordiff consolekit cracklib crypt cuda cups curl cxx dbus desktopglobe device-mapper dga dhcp dirac dri dts dvb dvd dvdr eap-sim ebook embedded-fuseiso emboss encode exif expat extras faac faad facebook fam ffmpeg fftw firefox flac fluidsynth fontconfig fortran freetype fts3 fuse gdbm gif glitz gmp gnutls gphoto2 gpm graphite gs gsm gstreamer gtk hal hdri hpn iconv icoutils icu id3tag idn ieee1394 imagemagick inotify ipv6 java jbig jpeg jpeg2k kde kdrive kipi ladspa laptop lash lcdfilter lcms ldap libedit libnl libnotify libsamplerate libv4l2 live lm_sensors lto lua lzma lzo mad matroska midi mikmod mktemp mmap mmx mng modules mp3 mp4 mpeg msn mudflap multilib musicbrainz mysql ncurses network network-cron nls nptl nptlonly nsplugin nss ntp offensive ogg openal opencl openexr opengl openmp openssl optimized-qmake pae pam pango pcre pdf perl phonon physfs plasma png policykit polkit portaudio ppds pppd projectm pulseaudio python qt3support qt4 quicktime readline reflection resolvconf rss rtmp rtsp samba schroedinger sdl secure-delete semantic-desktop session sip skey skype sndfile spell spl sql sqlite sse sse2 sse3 ssh ssl ssse3 startup-notification stream strong-optimization suid svg symlink synaptics sysfs system-sqlite taglib tcpd theora threads thumbnail tiff truetype udev unicode upnp usb utempter v4l2 vaapi vdpau vnc vorbis vp8 vpx wav webkit webm wicd wifi windeco winetriks wps x264 xattr xcb xcomposite xinerama xml xmp xorg xosd xpm xulrunner xv xvid zeroconf zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev joystick synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

www-plugins/gnash-0.8.7_p20100812 was built with the following:
USE="agg dbus ffmpeg gtk kde (multilib) nls openssl python sdl ssh vaapi (-aqua) -cairo -cygnal -doc -fbcon -gnome -gstreamer (-kdeenablefinal) (-lirc) -mysql -nsplugin -opengl -sdl-sound -test -xv" VIDEO_CARDS="-intel"
Comment 1 Emmanuel Andry 2010-08-23 19:26:31 UTC
Still valid with gnash 0.8.8 final
Comment 2 Emmanuel Andry 2010-08-23 21:20:52 UTC
Same result with gstreamer.

I saw in the debug file that it couldn't read the header.
Maybe the problem lies in libcurl.


net-misc/curl-7.21.0 was built with the following:
USE="idn ipv6 ldap (multilib) nss ssl threads -ares -gnutls -kerberos -libssh2 -test" 
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-08-23 21:27:22 UTC
Try to build curl with USE="-threads", there are reports of problems otherwise. https://savannah.gnu.org/bugs/?func=detailitem&item_id=30357
Comment 4 Emmanuel Andry 2010-08-23 22:27:06 UTC
That was it !

Is it possible to add a USE curl -threads to gnash dependencies ?

Comment 5 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-08-23 22:41:45 UTC
I am still discussing these (and other) issues with upstream. Blocking net-misc/curl[threads] would probably create more headaches for users. I will add a warning for now, and keep this bug open until a proper resolution is found.
Comment 6 dongxu li 2010-08-24 05:02:18 UTC
(In reply to comment #5)
> I am still discussing these (and other) issues with upstream. Blocking
> net-misc/curl[threads] would probably create more headaches for users. I will
> add a warning for now, and keep this bug open until a proper resolution is
> found.
> 

I feel the upstream is waiting to rewrite the gnash CurlSession, since the current handling of cookies is a quick hack only. The curlSession should be rewritten in a proper way, and the shared libcurl handles should be removed. By then, gnash will be thread safe on libcurl.

Clear the gnash project needs more hackers.
Comment 7 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-10-09 14:46:58 UTC
Upstream has committed two patches which are supposed to fix the curl threading issue.

http://git.savannah.gnu.org/gitweb/?p=gnash.git;a=commit;h=c6116b3f7eb2d657141a55afa66d573fd1cda7af
http://git.savannah.gnu.org/gitweb/?p=gnash.git;a=commit;h=d7753930b9f710c6ee60af6d536d08e672db1491

You may want to give them a try. I will probably commit a new revision or snapshot in a week or so.
Comment 8 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-03-21 01:36:07 UTC
gnash-0.8.9 has been released with this fix.