Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 478208 - app-office/libreoffice-4.1.0.4 writer crashes while pasting image from web
Summary: app-office/libreoffice-4.1.0.4 writer crashes while pasting image from web
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:
Depends on:
Blocks:
 
Reported: 2013-07-26 08:00 UTC by Drunkard Zhang
Modified: 2014-12-30 15:07 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 Drunkard Zhang 2013-07-26 08:00:16 UTC
writer from app-office/libreoffice-4.1.0.4 still crashes while paste a image from web. I found this problem in first libreoffice-4 release, but still exists in 4.1.0.4, and 3.6.x is gone ...

Start writer in terminal got this:
15:04:46 ~ $ libreoffice --writer
Gtk-Message: Failed to load module "gnomesegvhandler"
terminate called after throwing an instance of 'com::sun::star::ucb::InteractiveAugmentedIOException'
15:55:33 ~ $ 

emerge --info =app-office/libreoffice-4.1.0.4
Portage 2.3.6-r5 (funtoo/1.0/linux-gnu/arch/x86-64bit, gcc-4.6.4, glibc-2.15-r4, 3.9.11-gentoo-r1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.9.11-gentoo-r1-x86_64-AMD_A8-3500M_APU_with_Radeon-tm-_HD_Graphics-with-gentoo-2.2.0
KiB Mem:     7634336 total,    481012 free
KiB Swap:     524284 total,    524284 free
Timestamp of tree: Thu, 25 Jul 2013 17:15:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p37
dev-java/java-config:     2.2.0-r1000
dev-lang/python:          2.7.5-r1000, 3.3.2-r1000
dev-util/cmake:           2.8.11.1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2.0-r4
sys-apps/openrc:          0.11.8::pentoo
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.4
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc:           2.15-r4
Repositories: gentoo hacking-gentoo sunrise science gentoo-zh ltsp pentoo drunkard
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=amdfam10 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-mtune=amdfam10 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync mini-manifest news nodoc parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS=""
GENTOO_MIRRORS="http://mirrors.163.com/gentoo/ http://mirrors.sohu.com/gentoo/ http://gentoo.gwbnsh.net.cn/ "
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
LINGUAS="zh_CN zh_TW zh en ru de bo ug"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/hacking-gentoo /var/lib/layman/sunrise /var/lib/layman/science /var/lib/layman/gentoo-zh /var/lib/layman/ltsp /var/lib/layman/pentoo /var/lib/layman/drunkard"
SYNC="git://github.com/funtoo/ports-2012.git"
SYNC_USER="root"
USE="3dnow 3dnowext X a52 acl acpi aio alsa amd64 ap apng bash-completion berkdb branding bzip2 caps cjk colord cracklib crypt cups cxx dbus djvu dri dvd dvdr dvdread encode evo ffmpeg flac gconf gdbm geoip gif gimp gmp gnome gpm gstreamer gtk gtk3 iconv icu idn ipv6 jpeg jpeg2k lame libass libsamplerate mad mmap mmx mmxext modules mp3 mpeg mplayer mtp mudflap multilib multitarget nautilus ncurses nls nptl ogg opengl openmp pam pch pcre pdf png postgres postscript pppd pulseaudio python readline realtime resolvconf smp sse sse2 ssl svg theora threads tiff truetype udev unicode utils vim-syntax vorbis wavpack wifi win32codecs x264 xattr xft xinerama xml xvmc zlib" ABI_X86="64" ALSA_CARDS="hda-intel" 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 authn_core authz_core socache_shmcb unixd" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" 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 synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="pdfimport presenter-minimizer" LINGUAS="zh_CN zh_TW zh en ru de bo ug" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_ABIS="2.7 3.3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="i386 sparc sparc64 x86_64" QEMU_USER_TARGETS="i386 sparc sparc64 x86_64" RUBY_TARGETS="ruby18 ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fglrx 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, SYNC_UMASK

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

app-office/libreoffice-4.1.0.4 was built with the following:
USE="cups gnome gtk jemalloc opengl (-aqua) -bluetooth -branding -dbus -debug -eds -gstreamer -gtk3 -java -kde -mysql -odk -postgres -telepathy -test -vba -webdav" LIBREOFFICE_EXTENSIONS="presenter-minimizer -nlpsolver -scripting-beanshell -scripting-javascript -wiki-publisher" PYTHON_SINGLE_TARGET="python2_7 -python3_3" PYTHON_TARGETS="python2_7 python3_3"
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2013-09-15 10:59:27 UTC
When I try to reproduce this I don't get this issue.


SAL_USE_VCLPLUGIN=gtk lowriter copy image from web and paste...


Could you try on command line something like (you have to close all libreoffice windows before):

SAL_USE_VCLPLUGIN=gen lowriter

and see if the issue happens?

Also if it crashes try to install libreoffice-bin with debug enabled and get the backtrace for the crash (http://www.gentoo.org/proj/en/qa/backtraces.xml) otherwise I can't help too much.
Comment 2 Drunkard Zhang 2013-10-29 07:20:36 UTC
No luck with SAL_USE_VCLPLUGIN=gen. This is backtrace without USE=debug:

(gdb) set environment SAL_USE_VCLPLUGIN=gen 
(gdb) file /usr/lib64/libreoffice/program/soffice.bin
Reading symbols from /usr/lib64/libreoffice/program/soffice.bin...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/lib64/libreoffice/program/soffice.bin /usr/lib64/libreoffice/program/soffice.bin
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7fffe4a8e700 (LWP 18123)]
[New Thread 0x7fffe35a1700 (LWP 18125)]
[New Thread 0x7fffe2da0700 (LWP 18126)]
[New Thread 0x7fffe206d700 (LWP 18127)]
[New Thread 0x7fffe1604700 (LWP 18128)]
[Thread 0x7fffe35a1700 (LWP 18125) exited]
[New Thread 0x7fffe35a1700 (LWP 18129)]
[New Thread 0x7fffc9f07700 (LWP 18132)]
[New Thread 0x7fffc9706700 (LWP 18133)]
[Thread 0x7fffc9706700 (LWP 18133) exited]
[Thread 0x7fffc9f07700 (LWP 18132) exited]
[New Thread 0x7fffc9f07700 (LWP 18135)]
[New Thread 0x7fffc9706700 (LWP 18136)]
[Thread 0x7fffc9706700 (LWP 18136) exited]
[Thread 0x7fffc9f07700 (LWP 18135) exited]
[New Thread 0x7fffc9f07700 (LWP 18137)]
[Thread 0x7fffc9f07700 (LWP 18137) exited]
[New Thread 0x7fffc9f07700 (LWP 18138)]
[Thread 0x7fffc9f07700 (LWP 18138) exited]
terminate called after throwing an instance of 'com::sun::star::ucb::InteractiveAugmentedIOException'

Program received signal SIGABRT, Aborted.
0x00007ffff3c62e15 in raise () from /lib64/libc.so.6
#0  0x00007ffff3c62e15 in raise () from /lib64/libc.so.6
#1  0x00007ffff3c642e5 in abort () from /lib64/libc.so.6
#2  0x00007fffea93daad in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/libstdc++.so.6
#3  0x00007fffea93ba86 in ?? () from /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/libstdc++.so.6
#4  0x00007fffea93bab3 in std::terminate() () from /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/libstdc++.so.6
#5  0x00007fffea93bd1f in __cxa_throw () from /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/libstdc++.so.6
#6  0x00007fffc107eda8 in ?? () from /usr/lib64/libreoffice/program/../program/libucpgio1lo.so
#7  0x00007fffc108eda8 in ?? () from /usr/lib64/libreoffice/program/../program/libucpgio1lo.so
#8  0x00007ffff685ba02 in utl::UcbLockBytes::Stat(SvLockBytesStat*, SvLockBytesStatFlag) const () from /usr/lib64/libreoffice/program/libmergedlo.so
#9  0x00007ffff66d37e5 in SvStream::SeekPos(unsigned long) () from /usr/lib64/libreoffice/program/libmergedlo.so
#10 0x00007ffff66d4650 in SvStream::Seek(unsigned long) () from /usr/lib64/libreoffice/program/libmergedlo.so
#11 0x00007ffff6940991 in ?? () from /usr/lib64/libreoffice/program/libmergedlo.so
#12 0x00007ffff694243d in GraphicFilter::ImpTestOrFindFormat(String const&, SvStream&, unsigned short&) ()
   from /usr/lib64/libreoffice/program/libmergedlo.so
#13 0x00007ffff6946e02 in GraphicFilter::ImportGraphic(Graphic&, String const&, SvStream&, unsigned short, unsigned short*, unsigned int, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>*, WMF_EXTERNALHEADER*) () from /usr/lib64/libreoffice/program/libmergedlo.so
#14 0x00007ffff694a167 in GraphicFilter::ImportGraphic(Graphic&, String const&, SvStream&, unsigned short, unsigned short*, unsigned int, WMF_EXTERNALHEADER*) () from /usr/lib64/libreoffice/program/libmergedlo.so
#15 0x00007ffff58a86f5 in ?? () from /usr/lib64/libreoffice/program/libmergedlo.so
#16 0x00007ffff58a8c58 in ?? () from /usr/lib64/libreoffice/program/libmergedlo.so
#17 0x00007ffff58b7b23 in sfx2::SvLinkSource::NotifyDataChanged() () from /usr/lib64/libreoffice/program/libmergedlo.so
#18 0x00007ffff58a8a05 in ?? () from /usr/lib64/libreoffice/program/libmergedlo.so
#19 0x00007ffff5d37476 in ?? () from /usr/lib64/libreoffice/program/libmergedlo.so
#20 0x00007ffff6ba3118 in ?? () from /usr/lib64/libreoffice/program/libmergedlo.so
#21 0x00007ffff6baa3df in SalGenericDisplay::DispatchInternalEvent() () from /usr/lib64/libreoffice/program/libmergedlo.so
#22 0x00007fffe37e77f1 in SalX11Display::Yield() () from /usr/lib64/libreoffice/program/libvclplug_genlo.so
#23 0x00007fffe37e7615 in ?? () from /usr/lib64/libreoffice/program/libvclplug_genlo.so
#24 0x00007fffe37e6f6c in SalXLib::Yield(bool, bool) () from /usr/lib64/libreoffice/program/libvclplug_genlo.so
#25 0x00007ffff68af6a0 in Application::Yield(bool) () from /usr/lib64/libreoffice/program/libmergedlo.so
#26 0x00007ffff68af767 in Application::Execute() () from /usr/lib64/libreoffice/program/libmergedlo.so
#27 0x00007ffff5bb6d33 in ?? () from /usr/lib64/libreoffice/program/libmergedlo.so
#28 0x00007ffff68b6db1 in ?? () from /usr/lib64/libreoffice/program/libmergedlo.so
#29 0x00007ffff68b6dd2 in SVMain() () from /usr/lib64/libreoffice/program/libmergedlo.so
#30 0x00007ffff5bdad25 in soffice_main () from /usr/lib64/libreoffice/program/libmergedlo.so
#31 0x00000000004006ab in ?? ()
#---Type <return> to continue, or q <return> to quit---
#32 0x00007ffff3c4f66d in __libc_start_main () from /lib64/libc.so.6
#33 0x00000000004006e1 in ?? ()
#34 0x00007fffffffd5a8 in ?? ()
#35 0x00000000ffffffff in ?? ()
#36 0x0000000000000002 in ?? ()
#37 0x00007fffffffda2f in ?? ()
#38 0x00007fffffffda5a in ?? ()
#39 0x0000000000000000 in ?? ()
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2014-09-11 18:10:28 UTC
Do you still have this problem with 4.2 ?
Comment 4 Drunkard Zhang 2014-09-12 09:43:47 UTC
(In reply to Andreas K. Hüttel from comment #3)
> Do you still have this problem with 4.2 ?

I have updated to 4.3.0.4, don't have this issue anymore. Thanks you all :-)
Comment 5 Andreas K. Hüttel archtester gentoo-dev 2014-12-30 15:07:51 UTC
(In reply to Drunkard Zhang from comment #4)
> (In reply to Andreas K. Hüttel from comment #3)
> > Do you still have this problem with 4.2 ?
> 
> I have updated to 4.3.0.4, don't have this issue anymore. Thanks you all :-)

Excellent.