Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71600 - openoffice-ximian-1.3.6 xoocalc crashes when deleting multiple rows of data
Summary: openoffice-ximian-1.3.6 xoocalc crashes when deleting multiple rows of data
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-17 13:58 UTC by Derek Berube
Modified: 2005-01-14 04:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Sample Calc Worksheet That Causes Crash (Test.sxc,10.26 KB, application/octet-stream)
2004-11-17 13:59 UTC, Derek Berube
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Derek Berube 2004-11-17 13:58:29 UTC
I have a spreadsheet that I've been working with all year.  After emerging to the 1.3.6 version of OpenOffice-Ximian (from 1.3.5-r1), whenever I try to delete a row from this spreadsheet, xoocalc crashes.

Reproducible: Always
Steps to Reproduce:
1. Open the Test.sxc spreadsheet.
2. Select any row (by left-clicking on the row number)
3. Right-click on the row number of the selected row and choose the "Delete" menu option.

Actual Results:  
xoocalc crashes.

Expected Results:  
The selected row should be deleted.

Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.4.2, glibc-2.3.4.20041102-r0,
2.6.9-gentoo-r3 i686)
=================================================================
System uname: 2.6.9-gentoo-r3 i686 Intel(R) Pentium(R) 4 Mobile CPU 2.00GHz
Gentoo Base System version 1.6.6
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=i686 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=i686 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg candy ccache distlocks sandbox
sfperms"GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com/
http://www.gtlib.cc.gatech.edu/pub/gentoo
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://gentoo.mirrors.pair.com/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-main
/usr/local/bmg-gnome-current"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb bitmap-fonts bonobo cdr crypt cups dvd encode
esd f77 fam foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml
guile imagemagick imlib java jpeg junit kerberos krb4 ldap libg++ libwww mad
mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pcmcia
pdflib perl png postgres python quicktime readline samba scanner sdl slang spell
ssl svga tcpd tiff truetype x86 xml xml2 xmms xv zlib"
Comment 1 Derek Berube 2004-11-17 13:59:42 UTC
Created attachment 44185 [details]
Sample Calc Worksheet That Causes Crash

I've attached the "test" spreadsheet that I've been using to replicate this
bug.  If there is any debugging information I can provide, I'd be happy to do
so.
Comment 2 Andreas Proschofsky (RETIRED) gentoo-dev 2004-11-18 01:54:56 UTC
I can reproduce that with your testfile, but it doesn't happen with any of my own Calc-Sheets.

As your CFLAGS are pretty generic, this most certainly an upstream bug, so it would be best if you also could file that at http://bugs.ximian.com/
Comment 3 Derek Berube 2004-11-18 02:15:42 UTC
Will do.  I'll update this bug with the Ximian Bugzilla number after I create it.
Comment 4 Derek Berube 2004-11-18 02:27:17 UTC
The Ximian Bugzilla ID for this ticket is 69649.

http://bugs.ximian.com/show_bug.cgi?id=69649
Comment 5 Derek Berube 2004-11-18 07:04:37 UTC
Ximian resolved the bug as invalid indicating that they cannot reproduce the problem.  Here is their comment:

------- Additional Comments From Michael Meeks 2004-11-18 09:55 -------

Gentoo => compiler / mind-mangledness bug
Not repeatable with sane build / environment.
Comment 6 Paul de Vrieze (RETIRED) gentoo-dev 2004-11-18 11:37:04 UTC
It works with plain openoffice for me
Comment 7 Andreas Proschofsky (RETIRED) gentoo-dev 2004-11-19 11:39:18 UTC
Works for me too with vanilla OOo compiled with gcc 3.4.x.
Comment 8 Derek Berube 2004-11-24 04:40:23 UTC
I did not have the problem with the openoffice-ximian-bin-1.1.53 package.  Further, I re-emerged the openoffice-ximian-1.3.6 using the GCC 3.3.4 compiler and experience the same crash.  I'll give vanilla openoffice-1.1.3-r1 a shot.
Comment 9 Derek Berube 2004-11-24 17:32:35 UTC
The openoffice-1.1.3-r1.ebuild compiled with GCC 3.4.3 does NOT exhibit the same crash I'm seeing under Ximian 1.3.6.
Comment 10 Derek Berube 2004-11-24 17:37:24 UTC
Here is some debugging information (in case it's useful):

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 14238)]
0xb08d0cf4 in component_getFactory () from /opt/Ximian-OpenOffice/program/libsc645li.so
(gdb) bt
#0  0xb08d0cf4 in component_getFactory () from /opt/Ximian-OpenOffice/program/libsc645li.so
#1  0xb08d0e6b in component_getFactory () from /opt/Ximian-OpenOffice/program/libsc645li.so
#2  0xb0901026 in component_getFactory () from /opt/Ximian-OpenOffice/program/libsc645li.so
#3  0xb08d7331 in component_getFactory () from /opt/Ximian-OpenOffice/program/libsc645li.so
#4  0xb0617e9d in CreateObjScDocShellDll () from /opt/Ximian-OpenOffice/program/libsc645li.so
#5  0xb063ea20 in CreateObjScDocShellDll () from /opt/Ximian-OpenOffice/program/libsc645li.so
#6  0xb06d5f4e in CreateObjScDocShellDll () from /opt/Ximian-OpenOffice/program/libsc645li.so
#7  0xb06d1516 in CreateObjScDocShellDll () from /opt/Ximian-OpenOffice/program/libsc645li.so
#8  0xb2489e95 in SfxDispatcher::Call_Impl () from /opt/Ximian-OpenOffice/program/libsfx645li.so
#9  0xb248b727 in SfxDispatcher::_Execute () from /opt/Ximian-OpenOffice/program/libsfx645li.so
#10 0xb249c57a in SfxBindings::Execute_Impl () from /opt/Ximian-OpenOffice/program/libsfx645li.so
#11 0xb249c24d in SfxBindings::Execute_Impl () from /opt/Ximian-OpenOffice/program/libsfx645li.so
#12 0xb249bfbc in SfxBindings::Execute () from /opt/Ximian-OpenOffice/program/libsfx645li.so
#13 0xb24b3a86 in SfxMenuManager::Select () from /opt/Ximian-OpenOffice/program/libsfx645li.so
#14 0xb24b39b6 in SfxMenuManager::LinkStubSelect () from /opt/Ximian-OpenOffice/program/libsfx645li.so
#15 0xb7ef2eff in Menu::Select () from /opt/Ximian-OpenOffice/program/libvcl645li.so
#16 0xb7ef99b4 in PopupMenu::ImplExecute () from /opt/Ximian-OpenOffice/program/libvcl645li.so
#17 0xb7ef9399 in PopupMenu::Execute () from /opt/Ximian-OpenOffice/program/libvcl645li.so
#18 0xb7ef930f in PopupMenu::Execute () from /opt/Ximian-OpenOffice/program/libvcl645li.so
#19 0xb24b53a8 in SfxPopupMenuManager::Execute () from /opt/Ximian-OpenOffice/program/libsfx645li.so
#20 0xb24b61a7 in SfxPopupMenuManager::ExecutePopup () from /opt/Ximian-OpenOffice/program/libsfx645li.so
#21 0xb248f62e in SfxDispatcher::ExecutePopup () from /opt/Ximian-OpenOffice/program/libsfx645li.so
#22 0xb06ca9b1 in CreateObjScDocShellDll () from /opt/Ximian-OpenOffice/program/libsc645li.so
#23 0xb7f41d2e in ImplCallEvent () from /opt/Ximian-OpenOffice/program/libvcl645li.so
#24 0xb7f4243d in ImplHandleMouseEvent () from /opt/Ximian-OpenOffice/program/libvcl645li.so
#25 0xb7f45e8b in ImplWindowFrameProc () from /opt/Ximian-OpenOffice/program/libvcl645li.so
#26 0xb5c49e20 in GtkSalFrame::signalButton () from /opt/Ximian-OpenOffice/program/libvclplug_gtk645li.so
#27 0xb5a48894 in _gtk_marshal_BOOLEAN__BOXED () from /usr/lib/libgtk-x11-2.0.so.0
#28 0x081d0858 in ?? ()
#29 0x08148a30 in ?? ()
#30 0xb15613d0 in ?? ()
#31 0xb5f9bdb5 in g_closure_unref () from /usr/lib/libgobject-2.0.so.0
#32 0xbfffe7d0 in ?? ()
#33 0xb7444a08 in ?? () from /opt/Ximian-OpenOffice/program/libsal.so.3
#34 0xbfffe5f8 in ?? ()
#35 0xb6e6e7ae in __pthread_alt_unlock () from /lib/libpthread.so.0
#36 0x081d0858 in ?? ()
#37 0x00000000 in ?? ()
#38 0x00000000 in ?? ()
#39 0x00000000 in ?? ()
#40 0x08109460 in ?? ()
#41 0x08148a30 in ?? ()
#42 0x00000000 in ?? ()
#43 0x08000000 in ?? ()
#44 0x00000000 in ?? ()
#45 0x081d5980 in ?? ()
#46 0xb5fa14be in g_object_unref () from /usr/lib/libgobject-2.0.so.0
#47 0x081d5980 in ?? ()
#48 0x00000050 in ?? ()
#49 0x081d5980 in ?? ()
#50 0xb58e0289 in _gdk_windowing_window_get_offsets () from /usr/lib/libgdk-x11-2.0.so.0
#51 0x081d59e0 in ?? ()
#52 0x080e5c48 in ?? ()
#53 0x037f0c7f in ?? ()
#54 0xb5910a98 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#55 0xb5910a98 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#56 0xb5910a98 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#57 0x080e47b8 in ?? ()
#58 0xb58d9be5 in gdk_x11_register_standard_event_type () from /usr/lib/libgdk-x11-2.0.so.0
#59 0x081d5980 in ?? ()
#60 0x08148a30 in ?? ()
#61 0x0000008f in ?? ()
#62 0xb5fb8577 in g_type_check_instance_is_a () from /usr/lib/libgobject-2.0.so.0
#63 0xb6e72ff4 in ?? () from /lib/libpthread.so.0
#64 0x0828cc90 in ?? ()
#65 0xb6e6e7ae in __pthread_alt_unlock () from /lib/libpthread.so.0
Previous frame inner to this frame (corrupt stack?)
Comment 11 Derek Berube 2004-11-24 17:41:20 UTC
Also note, that the crash does not occur if I delete rows at the end of the test spreadsheet.
Comment 12 Ermanno Poggi 2004-12-21 05:57:59 UTC
I have the same problem with all my old *.sxc! 
If I copy the content in a new sxc file, I don't have any error!

Bye

$ emerge info
Portage 2.0.51-r3 (gcc34-x86-2004.2, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.7-ck4 i686)
=================================================================
System uname: 2.6.7-ck4 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.5.2
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs candy ccache distlocks sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aac acpi alsa apm arts artswrappersuid audiofile avi bitmap-fonts bootsplash bzlib cdparanoia cdr codecs crypt cups dga divx4linux dvd dvdr encode esx exif f77 faac faad fbcon ffmpeg flac fortran freetype gif gimp gimpprint gphoto2 gpm gstreamer gtk2 imagemagick imap imlib2 java javascript jce jpeg jpeg2k justify kde kerberos krb4 lcms libwww mad maildir matroska mikmod mldonkeypango mmx monkey motifmozilla moznocompose moznoirc moznomail mozsvg mpeg mplayer ncurses nls nomac nptl nptlonly oggvorbis ooo-kde opengl pam pdflib perl pic plotutils png python qt quicktime readline samba scanner sdl slang smime spell sse ssl svg svga tcltk tcpd tetex theora tiff transcode truetype type1 unicode wmf wsconvert x86 xine xml2 xmms xv xvid zlib"
Comment 13 Robert Larkin 2005-01-07 11:52:58 UTC
I can reproduce this bug every time with any spreadsheet.  Since Debian knows of and fixed this bug, I didn't bother checking this page but just waited for an ebuild of 1.3.7 to show up on portage.  oops.

With a new spreadsheet, select cell B-1, then click the "equal" sign to enter a formula.  Click cell A-1 and hit enter so B-1 is '=A-1".  Delete row 1.  Wactch ximian oo crash.

http://lists.debian.org/debian-openoffice/2004/11/msg00282.html


Rob
Comment 14 Andreas Proschofsky (RETIRED) gentoo-dev 2005-01-12 15:05:49 UTC
1.3.7 is now in portage which fixes this, thanks for reporting and sorry for taking so long...
Comment 15 Derek Berube 2005-01-12 17:32:25 UTC
There is absolutely no reason to apologize for this.  All of the Gentoo developers  are absolutely fantastic!  You have put together the absolute best LINUX distribution available and the user community is second to none.  There is no question I have that can't be answered by browsing forums.gentoo.org!

Thanks for all the hard work!
Comment 16 Derek Berube 2005-01-14 04:14:53 UTC
Rock-on Gentoo (and Debian)!  It took a while for me to get 10 or twelve hours to run the build, but it's done and Calc no longer crashes!

Thanks to all the openoffice@gentoo.org developers for all your hard work at making Gentoo LINUX the highest quality distribution out there!  Keep of the phenomenal work!