As mentioned in bug #245841, comment #10, this new nsdejavu (app-text/djview4-4.5-r1 (nsplugin), app-text/djvu-3.5.22-r1 (jpeg nls tiff xml)) does not work on my www-client/mozilla-firefox-3.5.7 (net-libs/xulrunner-1.9.1.7). Anybody here with the same problem? Short problem description: plug-in loads, opens (e.g. local) file, renders user interface and first document page. But once I click into the document area, browser loses plugins X window and I get blank browser viewport. My Qt4: x11-libs/qt-core-4.5.3-r2 (glib iconv qt3support ssl) x11-libs/qt-dbus-4.5.3-r1 x11-libs/qt-gui-4.5.3-r2 (accessibility dbus glib gtk mng nas qt3support tiff) x11-libs/qt-opengl-4.5.3-r1 (qt3support) x11-libs/qt-qt3support-4.5.3 (accessibility kde) x11-libs/qt-script-4.5.3-r1 (iconv) x11-libs/qt-sql-4.5.3 (iconv qt3support sqlite) x11-libs/qt-svg-4.5.3-r1 (iconv) x11-libs/qt-test-4.5.3-r1 (iconv) x11-libs/qt-webkit-4.5.3 (kde) Portage 2.1.7.16 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.32-gentoo-r3 i686) ================================================================= System uname: Linux-2.6.32-gentoo-r3-i686-AMD_Duron-tm-_processor-with-gentoo-2.0.1 Timestamp of tree: Mon, 01 Feb 2010 10:45:01 +0000 distcc 3.1 i686-pc-linux-gnu [disabled] app-shells/bash: 4.0_p35 dev-java/java-config: 2.1.10 dev-lang/python: 2.6.4 dev-python/pycrypto: 2.1.0_beta1 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.0-r1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.5, 1.9.6-r2, 1.10.3 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-tbird -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb" 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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=athlon-tbird -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="ftp://ftp.fi.muni.cz/pub/linux/gentoo/ ftp://gentoo.mirror.dkm.cz/pub/gentoo/" LANG="cs_CZ.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="cs en" MAKEOPTS="-j2" 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/layman/sunrise /usr/local/portage/layman/lisp /usr/local/portage/layman/zugaina /usr/local/portage/layman/ikelos /usr/local/portage/layman/java-overlay /usr/local/portage/layman/science /usr/local/portage/petr_p" SYNC="rsync://rsync6.europe.gentoo.org/gentoo-portage" USE="3dnow a52 aac acl acpi alsa audiofile avi berkdb bzip2 caps cdparanoia cjk cli cracklib crypt custom-cxxflags cxx dri esd ffmpeg flac fortran ftp gd gdbm gif gnutls gpm gtk gtk2 iconv icq idn imagemagick imap imlib ipv6 irc jabber java javascript jpeg jpeg2k lcms live lm_sensors matroska mbox mikmod mime mmap mmx mmxext mng modules motif mp3 mpeg mudflap nas ncurses nls nodrm nptl nptlonly ogg openmp pam pcre pdf perl plotutils png posix ppds pppd python qt3support readline recode reflection rss samba sasl sdl session sharedmem sndfile sockets speex spell spl ssl svg sysfs sysvipc tcpd tetex theora threads tiff truetype ucs2 ucs4 unicode usb vorbis win32codecs x86 xattr xml xml2 xorg xosd xpm xsl xv xvid zlib" ALSA_CARDS="snd_via82xx" 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 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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs en" QEMU_SOFTMMU_TARGETS="i386 mipsel" QEMU_USER_TARGETS="i386 mipsel" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I compiled mozilla-firefox-3.6: net-libs/xulrunner-1.9.2-r1 (alsa java) www-client/mozilla-firefox-3.6-r1 (alsa java linguas_cs linguas_en) and it still fails.
Well, I've tried on partially stable x86 system www-client/mozilla-firefox and so far plugin works... Do you have the same behaviour with all djvu files (try http://theor.ran.gpi.ru/latex.djvu that works here...) x11-libs/qt-assistant-4.5.3 x11-libs/qt-core-4.5.3-r2 (glib iconv qt3support ssl) x11-libs/qt-dbus-4.5.3-r1 x11-libs/qt-gui-4.5.3-r2 (accessibility cups dbus glib gtk mng qt3support tiff) x11-libs/qt-opengl-4.5.3-r1 (qt3support) x11-libs/qt-qt3support-4.5.3 (accessibility kde) x11-libs/qt-script-4.5.3-r1 (iconv) x11-libs/qt-sql-4.5.3 (iconv qt3support sqlite) x11-libs/qt-svg-4.5.3-r1 (iconv) x11-libs/qt-test-4.5.3-r1 (iconv) x11-libs/qt-webkit-4.5.3 (kde) Could you try to reproduce this problem with empty profile? (just create new user with empty homedir and try there) Could you try to attach gdb and see where it goes?
The same problem with empty profile, the same problem with provided `Nabor i verstka v sisteme LaTeX' document. Acctually, the djview4 (nor firefox) does not crash. One of the party just destroys plugin window. And even after that djview receive window focus events (when I strace djview and move pointer to the firefox window, it recieve data on unix socket). OTOH, the main loop with short sleep does not cycle anymore. Other interesting thing is clicking on icons in the toobar (e.g. zoom in, next page) or scrolling by mouse wheel works. But click into djview canvas or sidebar invokes the bug. Unfortunatelly, all my binaries are compiled with -fommit-frame-pointer and stripped so I can no get any usefull data from gdm. I can recompile djview, but recompiling Qt or firefox takes on my machine very long time, thus I don't want do that. I tested binary firefox (development snapshot from Mozilla) with the same result. What I can say definitively is pre-djvu-3.5.22 nsplugin code worked for me. Also npplugin works. I have somewhere another Gentoo i686 box with more stable packages installed. I will try to reproduce it on the other box.
Unfortunately qt team eagers to drop qt:3 from the tree as fast as possible... I can push old djvu to sunset overlay but still it'll will be removed from the tree in not far future. That said, could you try to download and install qt libraries from http://gnome.i686.buildhost.0xd.ru/ ? They were built with debugging symbols so this may help to debug problem further. If you wish to review make.conf is there too.
Any progress here? I'm unable to reproduce this problem, so in order to fix that I need you to investigate it... Closing as NEEDINFO at the moment.