When I open MS format files (*.doc, *.ppt, *.xls) or the same files converted (on another pc) to openoffice formats the application crashes. Especially I have this problem with files containg matematical formulas (in docs and ppt-ies) and excel macros. Reproducible: Always Steps to Reproduce: 1a. $ xooffice *.xls or 1b. $ xooffice 2b. Open file *.xls or 2c. Open file containg mathematical formulas 3c. try to modify formula Actual Results: when opening xls files with macros converted to sxc, a message on display appears telling "An unrecoverable error was occured All modified files have been saved and can probably be recovered at program restart" and on the console I have "sh: crash_report: command not found Fatal exception: Signal 11 Stack: /opt/Ximian-OpenOffice/program/libsal.so.3[0xb6f1b474] /opt/Ximian-OpenOffice/program/libsal.so.3[0xb6f1b680] /opt/Ximian-OpenOffice/program/libsal.so.3[0xb6f1b756] [0xffffe420] /opt/Ximian-OpenOffice/program/libsal.so.3(rtl_uString_acquire+0x2d)[0xb6f2d08d] /opt/Ximian-OpenOffice/program/libcppu.so.3(typelib_typedescription_newInterfaceMethod+0x1c3)[0xb70ca993] /opt/Ximian-OpenOffice/program/libanalysis645li.so[0xae2e533f] /opt/Ximian-OpenOffice/program/libanalysis645li.so[0xae2cc7ae] /opt/Ximian-OpenOffice/program/libcppuhelpergcc3.so.3[0xb711f074] /opt/Ximian-OpenOffice/program/libcppuhelpergcc3.so.3[0xb711f259] /opt/Ximian-OpenOffice/program/libcppuhelpergcc3.so.3(_ZN4cppu20WeakImplHelper_queryERKN3com3sun4star3uno4TypeEPNS_10class_dataEPvPNS_11OWeakObjectE+0x1a2)[0xb711de82] /opt/Ximian-OpenOffice/program/libanalysis645li.so[0xae2cc10c] /opt/Ximian-OpenOffice/program/libsc645li.so[0xafc61315] /opt/Ximian-OpenOffice/program/libsc645li.so[0xafc6005c] /opt/Ximian-OpenOffice/program/libsc645li.so[0xafc632a8] /opt/Ximian-OpenOffice/program/libsc645li.so[0xafbd5532] /opt/Ximian-OpenOffice/program/libsc645li.so[0xafbd7b33] /opt/Ximian-OpenOffice/program/libsc645li.so[0xafbd7fa9] /opt/Ximian-OpenOffice/program/libsc645li.so[0xafc37f41] /opt/Ximian-OpenOffice/program/libsc645li.so[0xafa2da67] /opt/Ximian-OpenOffice/program/libsc645li.so[0xafda68cb] /opt/Ximian-OpenOffice/program/libsc645li.so[0xafda6eb1] /opt/Ximian-OpenOffice/program/sax.uno.so[0xb45f22d7] /opt/Ximian-OpenOffice/program/libsc645li.so[0xafd94f2f] /opt/Ximian-OpenOffice/program/libsc645li.so[0xafd9676d] /opt/Ximian-OpenOffice/program/libsc645li.so[0xaf762b9b] /opt/Ximian-OpenOffice/program/libsc645li.so[0xaf762dc0] /opt/Ximian-OpenOffice/program/libsfx645li.so(_ZN14SfxObjectShell13LoadOwnFormatER9SfxMedium+0x19d)[0xb1aa2bfd] /opt/Ximian-OpenOffice/program/libsfx645li.so(_ZN14SfxObjectShell6DoLoadEP9SfxMedium+0x1117)[0xb1a992d7] /opt/Ximian-OpenOffice/program/libsfx645li.so(_ZN20LoadEnvironment_Impl4LoadEPK16SfxObjectFactory+0x3f2)[0xb1a01422] /opt/Ximian-OpenOffice/program/libsfx645li.so(_ZN20LoadEnvironment_Impl17LoadDataAvailableEv+0x1c6)[0xb1a032c6] /opt/Ximian-OpenOffice/program/libsfx645li.so(_ZN20LoadEnvironment_Impl17LoadDataAvailableEv+0x125)[0xb1a03225] /opt/Ximian-OpenOffice/program/libsfx645li.so(_ZN20LoadEnvironment_Impl5StartEv+0x108)[0xb19ffe88] /opt/Ximian-OpenOffice/program/libsfx645li.so(_ZN19SfxFrameLoader_Impl4loadERKN3com3sun4star3uno8SequenceINS2_5beans13PropertyValueEEERKNS3_9ReferenceINS2_5frame6XFrameEEE+0xb25)[0xb1b06dc5] /opt/Ximian-OpenOffice/program/libfwk645li.so[0xb0352064] /opt/Ximian-OpenOffice/program/libfwk645li.so[0xb035a6a9] /opt/Ximian-OpenOffice/program/libfwk645li.so[0xb034bd4a] /opt/Ximian-OpenOffice/program/libfwk645li.so[0xb036923f] /opt/Ximian-OpenOffice/program/soffice.bin(_ZN7desktop15DispatchWatcher23executeDispatchRequestsERKN4_STL6vectorINS0_15DispatchRequestENS1_9allocatorIS3_EEEE+0x273e)[0x80050520] /opt/Ximian-OpenOffice/program/soffice.bin(_ZN7desktop15OfficeIPCThread22ExecuteCmdLineRequestsERNS_23ProcessDocumentsRequestE+0x1b2)[0x800447fe] /opt/Ximian-OpenOffice/program/soffice.bin(_ZN7desktop7Desktop11OpenClientsEv+0x2198)[0x800396da] /opt/Ximian-OpenOffice/program/soffice.bin(_ZN7desktop7Desktop16OpenClients_ImplEPv+0x2d)[0x80037001] /opt/Ximian-OpenOffice/program/soffice.bin(_ZN7desktop7Desktop24LinkStubOpenClients_ImplEPvS1_+0x34)[0x80036fae] /opt/Ximian-OpenOffice/program/libvcl645li.so[0xb7eac294] /opt/Ximian-OpenOffice/program/libvcl645li.so(_Z19ImplWindowFrameProcPvP8SalFrametPKv+0x38c)[0xb7eacccc] /opt/Ximian-OpenOffice/program/libvclplug_gen645li.so(_ZN10SalDisplay21DispatchInternalEventEv+0xc4)[0xb5b9b2c4] /opt/Ximian-OpenOffice/program/libvclplug_gen645li.so(_ZN13SalX11Display5YieldEh+0x33)[0xb5b9b343] /opt/Ximian-OpenOffice/program/libvclplug_gen645li.so[0xb5b96d80] /opt/Ximian-OpenOffice/program/libvclplug_gen645li.so(_ZN7SalXLib5YieldEh+0x6a1)[0xb5b95281] /opt/Ximian-OpenOffice/program/libvclplug_gen645li.so(_ZN14X11SalInstance5YieldEh+0x3f)[0xb5b9f64f] /opt/Ximian-OpenOffice/program/libvcl645li.so(_ZN11Application5YieldEv+0x57)[0xb7d0e0d7] /opt/Ximian-OpenOffice/program/libvcl645li.so(_ZN11Application7ExecuteEv+0x6a)[0xb7d0dfca] /opt/Ximian-OpenOffice/program/soffice.bin(_ZN7desktop7Desktop4MainEv+0x2186)[0x8003633c] /opt/Ximian-OpenOffice/program/libvcl645li.so(_Z6SVMainv+0x57)[0xb7d15117] /opt/Ximian-OpenOffice/program/libvcl645li.so(main+0x44)[0xb7f2a5c4] /lib/libc.so.6(__libc_start_main+0xed)[0xb66ca1ad] /opt/Ximian-OpenOffice/program/soffice.bin[0x8002e4f1] Aborted" Then if I try to work with mathematical formulas the application just crashes without any advise and I have on console "soffice.bin: stack smashing attack in function virtual void SdrModel::ReadData(const SdrIOHeader&, SvStream&)() Aborted" Expected Results: Open file or make it possible to modify the formula I've used hardened use flag with either gcc, glibc and also openoffice
forgot to post important infos ### emerge info ### Portage 2.0.51.19 (hardened/x86/2.6, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r9 i686) ================================================================= System uname: 2.6.11-gentoo-r9 i686 mobile AMD Athlon(tm) XP 1800+ Gentoo Base System version 1.6.12 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Jun 17 2005, 02:28:31)] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -fforce-addr -ffast-math" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -fforce-addr -ffast-math" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distcc distlocks noauto sandbox sfperms strict" GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources" LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,-z,now" LINGUAS="en it ru" MAKEOPTS="-j4" PKGDIR="/usr/portage//packages/x86/" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage/" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa berkdb crypt cups dlloader esd fam gif gpm gtk hardened imagemagick java ncurses nls opengl pam perl pic png python readline samba ssl tcpd tiff userlocales x86 xml2 zlib linguas_en linguas_it linguas_ru userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, PORTDIR_OVERLAY ### /etc/make.conf ### # These settings were set by the catalyst build script that automatically built this stage # Please consult /etc/make.conf.example for a more detailed example CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -fforce-addr -ffast-math" CXXFLAGS="$CFLAGS" FEATURES="distcc ccache noauto" LINGUAS="en it ru" LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,-z,now" GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources" #PORTDIR_OVERLAY=/usr/local/portage MAKEOPTS="-j4" ### /etc/portage/packages.use ### sys-libs/glibc nptl nptlonly x11-base/xorg-x11 sse mmx 3dnow insecure-drivers opengl xv bitmap-fonts truetype-fonts type1-fonts media-video/mplayer sse sse2 mmx mmxext 3dnow 3dnowext alsa dga divx4linux dvd opengl real xvid xv win32codecs avi rtc real media-libs/win32codecs real quicktime www-client/mozilla-firefox java app-office/openoffice-ximian nptl ### /etc/portage/packages.keywords ### #sys-libs/glibc ~x86 =app-text/acroread-7.0 ~x86 #app-office/openoffice-ximian-bin ~x86 =net-im/licq-1.3.0 ~x86 dev-db/oracle-instantclient-sqlplus ~x86 dev-db/oracle-instantclient-basic ~x86 #=x11-base/xorg-x11-6.8.99.8 ~x86 ### /etc/prelink.conf ### # prelink.conf autogenerated by env-update; make all changes to # contents of /etc/env.d directory -l /bin -l /sbin -l /usr/bin -l /usr/sbin -l /lib -l /usr/lib -h /usr/local/lib/ -h /usr/lib/opengl/xorg-x11/lib/ -h /usr/i686-pc-linux-gnu/lib/ -h /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/ -h /usr/lib/MozillaFirefox/ -h /usr/lib/ -h /opt/blackdown-jdk-1.4.2.01/jre/lib/i386/ -h /opt/blackdown-jdk-1.4.2.01/jre/lib/i386/native_threads/ -h /opt/blackdown-jdk-1.4.2.01/jre/lib/i386/classic/ -h /opt/blackdown-jdk-1.4.2.01/jre/lib/i386/server/ -h /opt/bin/ -h /usr/i686-pc-linux-gnu/gcc-bin/3.3.5-20050130/ -h /usr/i386-pc-linux-gnu/gcc-bin/3.3.5/ -h /opt/blackdown-jdk-1.4.2.01/bin/ -h /opt/blackdown-jdk-1.4.2.01/jre/bin/ -b /lib/modules -b /usr/lib/locale -b /usr/lib/wine -b /usr/lib/valgrind -b *.la -b *.png -b *.py -b *.pl -b *.pm -b *.sh -b *.xml -b *.xslt -b *.a -b *.js NOTE: when I got the first error I thought that probably prelink created some trouble to openoffice, so I've tried to restore by 'prelink -auv' - but still nothing.
Not really a problem that Gentoo could fix...
(In reply to comment #2) > Not really a problem that Gentoo could fix... since openoffice-1.1.4 works fine and ximian versions never gave me any problem before, I thought that probably I used some kind of wrong combination of 'hardened' and 'nptl' flags. and sincerely speaking; I just can't suffer crashes that math editor causes to me.
@Hekaton: Did you try with a more recent version of openoffice-ximian? If not: Could you please and see if the problem is still there. Other than that, I agree with Jakub, there is not a lot we can do about this, you should file that upstream.
(In reply to comment #4) > @Hekaton: Did you try with a more recent version of openoffice-ximian? If not: > Could you please and see if the problem is still there. Other than that, I agree > with Jakub, there is not a lot we can do about this, you should file that upstream. I have to reformulate the problem: With Gentoo 2005.0, starting from hardened stage1, Ximian-Openoffice-1.3.9-r1 crashes not only on microsoft format files but on many operations (math editor, import xsl files etc...). Probable cause: maybe there are some too much restricted protections in hardened glibc and gcc, if I'm not wrong that's SSP reporting "Stack Smashing Atack" when I start math editor. please refer to http://groups-beta.google.com/group/alt.os.linux.gentoo/browse_thread/thread/bb7509a2be4f6859/ce9854157632bff6?q=ximian+openoffice&rnum=5#ce9854157632bff6 workarounds: disable hardened flag in /etc/make.conf with USE="... -hardened" rebuild gcc, glibc and ximian-openoffice in this order NOTE: I've used hardened 2005.0 cause I found this on my review DVD, and wanted to test it - in fact initially I supposed that probably there'd be some too much restricted protection...
So yet another hardened bug, just correcting the bug title
Is this still an issue with OpenOffice 2.0 (which seems to work better with hardened)?
Need feedback on this, closing for now