Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 389897 - various apps (firefox, quassel, konqueror) spontaneously start <app-office/libreoffice-3.5 (nsplugin issue)
Summary: various apps (firefox, quassel, konqueror) spontaneously start <app-office/li...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
: 405185 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-11-08 15:56 UTC by Horst Prote
Modified: 2016-05-21 11:51 UTC (History)
4 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 Horst Prote 2011-11-08 15:56:43 UTC
Since upgrading to version 7.0.1-r1 firefox starts libreoffice on quit.

Suspecting a broken profile I started with a clean new profile and copied step by step some files from my old profile and finally found that the cause is the "[ ] Cookies" select box under "Settings for Clearing History" in the Privacy Tab of the Preferences dialog (aka "privacy.clearOnShutdown.cookies" in prefs.js): When I set this to true (seems to be the default when one selects "Clear history when Firefox closes") and quit firefox libreoffice starts. When I set this to false firefox quits nicely.

Reproducible: Always

Steps to Reproduce:
1. firefox -ProfileManager
2. Create new profile and start firefox
3. Open Preferences -> Privacy and set under "History":
   Firefox will: "Use custom settings for history"
   ...
   [x] Clear history when Firefox closes
   Then press the "Settings"-Button and make sure
   [x] Cookies
   is selected.
4. Quit firefox.
5. Start firefox again with this new profile and quit again.

Actual Results:  
Now libreoffice starts with the following command (according to "ps auxww"):
/usr/lib64/libreoffice/program/oosplash.bin -nologo -nodefault -nolockcheck -accept=pipe,name=-1470415805;urp;

Expected Results:  
Firefox should just quit.

[ebuild   R    ] www-client/firefox-7.0.1-r1  USE="alsa crashreporter dbus ipc libnotify startup-notification webm -bindist -custom-cflags -custom-optimization -debug -pgo -system-sqlite -wifi" LINGUAS="de en fr ru -af -ak -ar -ast -be -bg -bn -bn_BD -bn_IN -br -bs -ca -cs -cy -da -el -en_GB -en_US -en_ZA -eo -es -es_AR -es_CL -es_ES -es_MX -et -eu -fa -fi -fy -fy_NL -ga -ga_IE -gd -gl -gu -gu_IN -he -hi -hi_IN -hr -hu -hy -hy_AM -id -is -it -ja -kk -kn -ko -ku -lg -lt -lv -mai -mk -ml -mr -nb -nb_NO -nl -nn -nn_NO -nso -or -pa -pa_IN -pl -pt -pt_BR -pt_PT -rm -ro -si -sk -sl -son -sq -sr -sv -sv_SE -ta -ta_LK -te -th -tr -uk -vi -zh -zh_CN -zh_TW -zu" 0 kB
[ebuild   R    ] app-office/libreoffice-3.4.3.2-r1  USE="bash-completion binfilter branding dbus eds gnome gstreamer gtk java kde ldap nsplugin opengl (-aqua) -custom-cflags -debug -graphite (-kdeenablefinal) -mysql -odk -python -templates -test -vba -webdav" LINGUAS="de fr -en_GB -en_ZA -es -hu -it" 0 kB


emerge --info
Portage 2.1.10.11 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.12.2-r0, 2.6.39-gentoo-r3 x86_64)
=================================================================
System uname: Linux-2.6.39-gentoo-r3-x86_64-AMD_Opteron-tm-_Processor_285-with-gentoo-2.0.3
Timestamp of tree: Mon, 31 Oct 2011 07:45:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.4.5, 4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo ltsp science theorie kde-sunset
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 googleearth AdobeFlash-10.1 PUEL"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/ltsp-4.2/i386/etc /tftpboot/pxe/pxelinux.cfg /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/xsessions /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"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-unmerge-warn"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://theogent.informatik.uni-stuttgart.de/gentoo http://theogent.informatik.uni-stuttgart.de/theorie-overlay http://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/ http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en de fr ru"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=30"
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="/var/lib/layman/ltsp /var/lib/layman/science /var/lib/layman/theorie /var/lib/layman/kde-sunset"
SYNC="rsync://kresse/portage"
USE="X a52 aac acl acpi alsa amd64 avahi bash-completion berkdb branding bzip2 cairo caps cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emacs emboss encode esd evo exif fam firefox flac fontgcj gcj gdbm gdu gif gimpprint gnome gpm gstreamer gtk iconv imap jpeg kde latex lcms ldap libnotify mad mbox mdnsresponder-compat mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf png policykit ppds pppd pulseaudio qt3support qt4 readline sdl session spell sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype udev unicode urandom usb userlocales vorbis wmf x264 xemacs xml xorg xscreensaver xulrunner xv xvid 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de fr ru" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="epson" USERLAND="GNU" VIDEO_CARDS="vga vesa fbdev mach64 nvidia r128 radeon" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Dustin Polke 2011-11-08 16:43:01 UTC
Maybe related, for me it libreoffice starts when starting midori.

www-client/midori-0.4.0 USE="idn libnotify nls unique -doc -gnome"
app-office/libreoffice-3.4.3.2-r1 USE="bash-completion branding dbus eds gnome gstreamer gtk java linguas_de nsplugin opengl pdfimport test vba -aqua -binfilter -custom-cflags -debug -elibc_FreeBSD -graphite -kde -kdeenablefinal -ldap -linguas_en_GB -linguas_en_ZA -linguas_es -linguas_fr -linguas_hu -linguas_it -mysql -odk -python -templates -webdav"

# ps aux | grep libre
dustin   30492  0.4  0.3  71880 13812 pts/2    Sl   17:38   0:00 /usr/lib64/libreoffice/basis-link/program/nsplugin 37 86 -env:INIFILENAME=vnd.sun.star.pathname:/usr/lib64/libreoffice/program/redirectrc /usr/lib64/libreoffice/program
dustin   30519  0.7  0.0  38912  2028 pts/2    Dl   17:38   0:00 /usr/lib64/libreoffice/program/oosplash.bin -nologo -nodefault -nolockcheck -accept=pipe,name=-1470415805;urp;
Comment 2 Tomáš Chvátal (RETIRED) gentoo-dev 2011-11-08 17:15:56 UTC
Try to build it with -nsplugin please...
Comment 3 Jouni Kosonen 2011-11-08 20:32:33 UTC
(In reply to comment #2)
> Try to build it with -nsplugin please...

That would work, but then one loses the entire Macro Security -section AFAIK.
( See bug 364069#c5 )

Separation of that and the actual plugin would of course be nice, but 
personally, I just nuke the /usr/lib64/nsbrowser/plugins/libnpsoplugin.so link after emerging libreoffice.
Comment 4 Jory A. Pratt gentoo-dev 2011-11-09 01:46:58 UTC
re-assigning, if a plugin is causing issues it is due to a plugin issue not the browser.
Comment 5 Tomáš Chvátal (RETIRED) gentoo-dev 2011-11-10 20:51:36 UTC
Fixed in 3.5. Can't backport the fix is too large :(

Just posting it here to not forget closing this when 3.5 is around with some release.
Comment 6 David 2012-02-09 03:35:24 UTC
Firefox 7 is no longer in Portage.   Can this bug be closed?
Comment 7 Horst Prote 2012-02-09 08:56:58 UTC
(I changed the Summary to make clear that this is an libreoffice bug.)

 > Can this bug be closed?
Yes and No.
No: As it's a bug in libreoffice it's still there even with firefox-9.
Yes: As Tomáš said in comment 5 it will be / is fixed in libreoffice-3.5, which is in the tree already (but still marked ~, so I haven't tried it yet).
Comment 8 Andreas K. Hüttel archtester gentoo-dev 2012-02-22 08:53:55 UTC
*** Bug 405185 has been marked as a duplicate of this bug. ***
Comment 9 djinnZ 2012-02-22 13:09:08 UTC
not sure but disabling the build of the quickstart will help?
Comment 10 Tomáš Chvátal (RETIRED) gentoo-dev 2012-02-22 13:44:14 UTC
Nope but -nsplugin would fix this.
Comment 11 Andreas K. Hüttel archtester gentoo-dev 2012-05-07 12:47:29 UTC
(In reply to comment #5)
> Fixed in 3.5. Can't backport the fix is too large :(
> 
> Just posting it here to not forget closing this when 3.5 is around with some
> release.

Is stable now.