Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 139843 - vlc-0.8.5-r5 - undefined symbol xtWindowToWidget in libvlcplugin.so
Summary: vlc-0.8.5-r5 - undefined symbol xtWindowToWidget in libvlcplugin.so
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Diego Elio Pettenò (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-09 21:51 UTC by Graham Murray
Modified: 2006-11-30 18:43 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 Graham Murray 2006-07-09 21:51:54 UTC
Using vlc-0.8,5-r5, both seamonkey-1.0.2 and mozilla-firefox-1.5.0.4 crash with the message "/usr/lib/seamonkey/seamonkey-bin: symbol lookup error: /usr/lib/nsbrowser/plugins/libvlcplugin.so: undefined symbol: XtWindowToWidget
seamonkey-bin exited with non-zero status (127)" when attempting to view content which would invoke the vlc plugin. 

Attaching gdb to the running seamonkey prior to attempting to acess the content which crashes it, only shows program termination when it crashes (ie no back trace)

Vlc is built with [ebuild   R   ] media-video/vlc-0.8.5-r5  USE="X a52 aalib alsa arts cdda cddb corba dts dvd esd fbcon flac gnutls hal httpd mp3 mpeg ncurses nls nsplugin ogg opengl oss png rtsp screen sdl seamonkey shout speex stream svg theora truetype v4l vorbis win32codecs wxwindows xml xv -3dfx -avahi -bidi -daap -debug -directfb -dvb -ggi -libcaca -lirc -live -matroska -mod -optimisememory -samba -skins -svga -upnp -vcd -vlm -xinerama -xosd" 0 kB

emerge --info
Portage 2.1.1_pre2-r6 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo-r2 i686)
=================================================================
System uname: 2.6.17-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.12.1
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.3.5, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -mtune=nocona -pipe -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=nocona -mtune=nocona -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms splitdebug strict"
GENTOO_MIRRORS="http://ftp.romnet.org/gentoo/ http://ftp.du.se/pub/os/gentoo http://mirror.datapipe.net/gentoo http://gentoo.ynet.sk/pub http://distro.ibiblio.org/pub/linux/distributions/gentoo/"
LANG="en_GB.UTF-8"
LC_ALL="en_GB.UTF-8"
LINGUAS="en_GB"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acl acpi aim alsa apache2 arts audiofile avi bash-completion berkdb bitmap-fonts bonobo browserplugin bzip2 bzlib caps cdparanoia cdr cjk cli crypt cups curl dbus dlloader doc dri dts dvd dvdr dvdread eds emacs emboss encode esd ethereal examples exif expat fam fbcon ffmpeg flac foomaticdb fortran gcj gd gdbm gif glut gmp gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal iconv icq idn ieee1394 imagemagick imlib ipv6 isdnlog jabber jack java javascript jce jpeg junit kde kdehiddenvisibility lcms leim libg++ libgda libwww lm_sensors logrotate mad mbox mikmod milter mime mmap mmx mng motif mp3 mpeg mpi msn ncurses nls nptl nsplugin offensive ogg oggvorbis openal opengl oscar oss pam pcntl pcre pdf pdflib perl png postgres pppd profile python qt qt3 qt4 quicktime readline recode reflection ruby sdl seamonkey session sharedmem sndfile snmp sockets sox speex spell spl sse sse2 ssl svg sysvipc tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts udev uicktime unicode usb v4l vhosts vorbis win32codecs wmf wxwindows xface xine xml xml2 xmms xorg xv xvid yahoo zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en_GB userland_GNU video_cards_radeon video_cards_vesa video_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-07-10 03:36:26 UTC
Can you give me the "scanelf -n libvlcplugin.so" output?
Comment 2 Graham Murray 2006-07-10 11:11:46 UTC
(In reply to comment #1)
> Can you give me the "scanelf -n libvlcplugin.so" output?
> 

scanelf -n /usr/lib/nsbrowser/plugins/libvlcplugin.so
 TYPE   NEEDED FILE
ET_DYN libxpcom.so,libplds4.so.6,libplc4.so.6,libnspr4.so.6,libshout.so.3,libvorbis.so.0,libhal.so.1,libdbus-1.so.2,libnsl.so.1,librt.so.1,libpthread.so.0,libdl.so.2,libdvbpsi.so.4,libtheora.so.0,libogg.so.0,libstdc++.so.6,libm.so.6,libgcc_s.so.1,libc.so.6 /usr/lib/nsbrowser/plugins/libvlcplugin.so
Comment 3 John Youells 2006-08-16 20:28:11 UTC
I'm showing the same error on an AMD X2 with a 32bit ~x86 current for both seamonkey and firefox.
Comment 4 Steve Garcia 2006-09-05 14:07:40 UTC
Here's a workaround.  Add the line

export LD_PRELOAD=libXt.so

to your /usr/bin/firefox.  Don't forget to do it again if you upgrade Firefox, since you'll start getting the mysterious crashes again (and by then you will have forgotten what you had done.)
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-09-08 18:11:20 UTC
Please in a couple of hours try to sync, get vlc-0.8.5-r5, make sure it has PATCHLEVEL set to 27 in ebuild, and try again, the problem should be fixed.
Comment 6 Graham Murray 2006-09-09 07:35:02 UTC
(In reply to comment #5)
> Please in a couple of hours try to sync, get vlc-0.8.5-r5, make sure it has
> PATCHLEVEL set to 27 in ebuild, and try again, the problem should be fixed.
> 

Sorry, but I am still seeing the problem in both firefox and seamonkey. I have re-synced and re-emerged vlc and checked that the patch level is set to 27. 

graham@newton ~ $ firefox
No running windows found
/usr/lib/mozilla-firefox/firefox-bin: symbol lookup error: /usr/lib/nsbrowser/plugins/libvlcplugin.so: undefined symbol: XtWindowToWidget
firefox-bin exited with non-zero status (127)
graham@newton ~ $ seamonkey
No running windows found
/usr/lib/seamonkey/seamonkey-bin: symbol lookup error: /usr/lib/nsbrowser/plugins/libvlcplugin.so: undefined symbol: XtWindowToWidget
seamonkey-bin exited with non-zero status (127)

graham@newton ~ $ scanelf -n /usr/lib/nsbrowser/plugins/libvlcplugin.so
 TYPE   NEEDED FILE
ET_DYN libxpcom.so,libplds4.so.6,libplc4.so.6,libnspr4.so.6,libshout.so.3,libvorbis.so.0,libhal.so.1,libdbus-1.so.2,libnsl.so.1,librt.so.1,libpthread.so.0,libdl.so.2,libdvbpsi.so.4,libtheora.so.0,libogg.so.0,libstdc++.so.6,libm.so.6,libgcc_s.so.1,libc.so.6 /usr/lib/nsbrowser/plugins/libvlcplugin.so


ls -l  /usr/lib/nsbrowser/plugins/libvlcplugin.so
-rw-r--r-- 1 root root 858288 2006-09-09 15:11 /usr/lib/nsbrowser/plugins/libvlcplugin.so

Comment 7 Muelli 2006-11-19 12:58:37 UTC
Same problem here with firefox 1.5.0.8 and vlc-0.8.5-r5

/usr/lib/mozilla-firefox/firefox-bin: symbol lookup error: /usr/lib/nsbrowser/plugins/libvlcplugin.so: undefined symbol: XtWindowToWidget
firefox-bin exited with non-zero status (127)

 ~ $ ldd /usr/lib/nsbrowser/plugins/libvlcplugin.so
ldd: warning: you do not have execution permission for `/usr/lib/nsbrowser/plugins/libvlcplugin.so'
        linux-gate.so.1 =>  (0xffffe000)
        libxpcom.so => /usr/lib/mozilla-firefox/libxpcom.so (0xb7dc5000)
        libplds4.so.6 => /usr/lib/nspr/libplds4.so.6 (0xb7dc2000)
        libplc4.so.6 => /usr/lib/nspr/libplc4.so.6 (0xb7dbd000)
        libnspr4.so.6 => /usr/lib/nspr/libnspr4.so.6 (0xb7d86000)
        libhal.so.1 => /usr/lib/libhal.so.1 (0xb7d5f000)
        libdbus-1.so.2 => /usr/lib/libdbus-1.so.2 (0xb7d34000)
        libnsl.so.1 => /lib/libnsl.so.1 (0xb7d1e000)
        librt.so.1 => /lib/librt.so.1 (0xb7d15000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb7d01000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7cfd000)
        libdvbpsi.so.4 => /usr/lib/libdvbpsi.so.4 (0xb7cf2000)
        libtheora.so.0 => /usr/lib/libtheora.so.0 (0xb7cc2000)
        libogg.so.0 => /usr/lib/libogg.so.0 (0xb7cbc000)
        libstdc++.so.6 => /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so.6 (0xb7bee000)
        libm.so.6 => /lib/libm.so.6 (0xb7bca000)
        libgcc_s.so.1 => /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libgcc_s.so.1 (0xb7bc1000)
        libc.so.6 => /lib/libc.so.6 (0xb7aa4000)
        libxpcom_core.so => /usr/lib/mozilla-firefox/libxpcom_core.so (0xb79fc000)
        /lib/ld-linux.so.2 (0x80000000)


LD_PRELOAD=/usr/lib/libXt.so firefox
works though
Comment 8 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-11-30 18:43:23 UTC
This is gonna be fixed in 0.8.6.