Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 390847 - app-office/libreoffice-bin-3.4.3.2-r1 calc crashes when tweaking the page's bottom area via the mouse
Summary: app-office/libreoffice-bin-3.4.3.2-r1 calc crashes when tweaking the page's b...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-17 17:08 UTC by sphakka
Modified: 2012-02-18 09:03 UTC (History)
0 users

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


Attachments
gdb backtrace (localc_trace2.txt,37.63 KB, text/plain)
2011-12-28 19:44 UTC, Jack
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sphakka 2011-11-17 17:08:03 UTC
Hi there,

app-office/libreoffice-bin-3.4.3.2-r1 calc crashes when doing the following operations in the page's bottom area (*not* the status bar) by means of moiuse dragging:
- resizing the horizontal scroll bar via 
- moving the view splitter
- moving sheet tabs

Notice that a single drag and drop operation might work, f.i., drag the horizontal scroll bar resize handle, move once, drop the handle. The crash probability is almost 100% when dragging repeatedly (f.i., swinging left-right) a tab or a resize handle.

Installed versions:  3.4.3.2-r1!s!t(11:22:27 AM 11/17/2011)(kde -aqua -elibc_FreeBSD -gnome -java -kdeenablefinal)

Running in KDE-4.6.5 / QT-4.7.2-r2.

I can't debug as this is a bin installation (and I'm not so keen on compiling it, unless someone tells me that the compiled version works ;-)).

Cheers,

  ^m'e

Reproducible: Always

Steps to Reproduce:
1. run: $ libreoffice --calc
2. click and hold any of:
   - horizontal scroll resize handler
   - a sheet tab
   - page split resize handler
3. drag the grabbed object repeatedly left-right
4. libreoffice-bin crashes
Actual Results:  
libreoffice-bin crashes, no message on console. 

Expected Results:  
sheet tab moved or 
horizontal scroll bar resized or
page split view resized 

Portage 2.1.10.11 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.3, glibc-2.12.2-r0, 3.0.6-gentoo-dsdtmod x86_64)
=================================================================
System uname: Linux-3.0.6-gentoo-dsdtmod-x86_64-AMD_Turion-tm-_64_X2-with-gentoo-2.0.3
Timestamp of tree: Wed, 16 Nov 2011 16:15:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.6.6-r2, 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.9.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13::<unknown repository>, 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.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 x-unsupported x-portage-aeskulap
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O3 -pipe -fomit-frame-pointer -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
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=athlon64 -O3 -pipe -fomit-frame-pointer -msse3"
DISTDIR="/usr/portage/distfiles"
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://mirror.switch.ch/ftp/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ ftp://ftp.solnet.ch/mirror/Gentoo http://gentoo.mirror.solnet.ch"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
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/unsupported /usr/local/portage/portage-aeskulap"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="32bit 3dnow 3dnowext 64bit X a52 aac acpi alsa amd64 amr apng bash-completion berkdb bittorrent bluetooth branding bzip2 cairo cdda cddb cdr cli consolekit cracklib crypt cups curl cvs cxx dbus declarative directfb djvu dri dts dvd dvdr emacs embedded emboss encode exif fam fbcon ffmpeg firefox flac fortran gdbm gdu gif git gnutls gpm h323 iconv ipv6 jabber jack jpeg kde kipi kontact ladspa lame laptop lcms ldap libnotify libsamplerate mad mmx mng modules mp3 mp4 mpeg mplayer mudflap multilib musepack mysql ncurses nls nptl nptlonly nvidia ogg opengl openmp openvg pam pango pcre pdf phonon plasma png policykit ppds pppd qt3support qt4 quicktime readline rtmp samba sdl seamonkey semantic-desktop session spell sql sqlite sse sse2 ssl startup-notification svg sysfs tcpd tiff tordns truetype udev unicode usb v4l v4l2 vlc vorbis wifi x264 xcb xinerama xml xorg xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="hda-intel usb-audio" 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 synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="epson2" USERLAND="GNU" VIDEO_CARDS="nvidia fbdev vga vesa" 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, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 sphakka 2011-11-17 19:10:51 UTC
Further info from dmesg:

soffice.bin[21030]: segfault at 24 ip 00007f1666324d86 sp 00007f165ea14b30 error 4 in libQtGui.so.4.7.2[7f1666057000+b26000]
ld-linux.so.2[28761]: segfault at b581d189 ip 00000000479bdadc sp 00000000ff8937b4 error 6 in ld-2.12.2.so[479b2000+1c000]
soffice.bin[21813]: segfault at 24 ip 00007f08aedc1d86 sp 00007f08a4c18b30 error 4 in libQtGui.so.4.7.2[7f08aeaf4000+b26000]
soffice.bin[30632] trap divide error ip:398af25449 sp:7fffa5ea45e0 error:0 in libQtGui.so.4.7.2[398aa00000+b26000]
soffice.bin[31519] trap divide error ip:398af25449 sp:7fff64fbbed0 error:0 in libQtGui.so.4.7.2[398aa00000+b26000]
soffice.bin[31603] trap divide error ip:398af25449 sp:7ffff6a6c640 error:0 in libQtGui.so.4.7.2[398aa00000+b26000]
soffice.bin[31865] trap divide error ip:398af25449 sp:7fff44ce9370 error:0 in libQtGui.so.4.7.2[398aa00000+b26000]
soffice.bin[31977] trap divide error ip:398af25449 sp:7fffb8d4c820 error:0 in libQtGui.so.4.7.2[398aa00000+b26000]
soffice.bin[32090] trap divide error ip:398af25449 sp:7fffc340cd50 error:0 in libQtGui.so.4.7.2[398aa00000+b26000]
soffice.bin[32123] trap divide error ip:398af25449 sp:7fff3afbc080 error:0 in libQtGui.so.4.7.2[398aa00000+b26000]
soffice.bin[32148] trap divide error ip:398af25449 sp:7fff7f493700 error:0 in libQtGui.so.4.7.2[398aa00000+b26000]
soffice.bin[32199]: segfault at 24 ip 000000398accdd86 sp 00007fbd6b81db30 error 4 in libQtGui.so.4.7.2[398aa00000+b26000]
soffice.bin[32248]: segfault at 24 ip 000000398accdd86 sp 00007f3ad8623b30 error 4 in libQtGui.so.4.7.2[398aa00000+b26000]
soffice.bin[32270] trap divide error ip:398af25449 sp:7fff905a2270 error:0 in libQtGui.so.4.7.2[398aa00000+b26000]
soffice.bin[32329]: segfault at 24 ip 000000398accdd86 sp 00007ff2105aab30 error 4 in libQtGui.so.4.7.2[398aa00000+b26000]
soffice.bin[32380] trap divide error ip:398af25449 sp:7fffe4acb330 error:0 in libQtGui.so.4.7.2[398aa00000+b26000]
soffice.bin[32405] trap divide error ip:398af25449 sp:7fffb98148c0 error:0 in libQtGui.so.4.7.2[398aa00000+b26000]
soffice.bin[32431] trap divide error ip:398af25449 sp:7fffc4532690 error:0 in libQtGui.so.4.7.2[398aa00000+b26000]
soffice.bin[32534]: segfault at 24 ip 000000398accdd86 sp 00007f6c0abd7b30 error 4 in libQtGui.so.4.7.2[398aa00000+b26000]
soffice.bin[32574] trap divide error ip:398af25449 sp:7fff4442a8b0 error:0 in libQtGui.so.4.7.2[398aa00000+b26000]
soffice.bin[32650] trap divide error ip:398af25449 sp:7fffe0f89130 error:0 in libQtGui.so.4.7.2[398aa00000+b26000]
soffice.bin[577] trap divide error ip:398af25449 sp:7fffe6610ee0 error:0 in libQtGui.so.4.7.2[398aa00000+b26000]
Comment 2 Tomáš Chvátal (RETIRED) gentoo-dev 2011-11-18 18:35:07 UTC
Damn, this would be awesome if you could reproduce it with debug symbols.

And with that on my mind i should build binaries with splitdebug.
Comment 3 sphakka 2011-11-18 22:09:50 UTC
(In reply to comment #2)
> Damn, this would be awesome if you could reproduce it with debug symbols.

If it can help, core dump says: "Program terminated with signal 8, Arithmetic exception." (8 = SIGFPE).
The point is, if I compile it, then it'll be a *different* thing. So, I wonder, if it actually crashes in libQtGui then I might recompile qt-gui with '-g' in CFLAGS? But I wouldn't like then to have to rebuild all its dependencies (O(10^2))... Simply put, all of my system is not build with debugging support.

> 
> And with that on my mind i should build binaries with splitdebug.

Please do it and I'll be happy to test it.

BTW, sorry a bit OT, I switched to the binary release mainly because the spell checker was broken in the compiled build: does anybody know if it is now working? I didn't find any bug report though.
Comment 4 sphakka 2011-12-08 08:17:50 UTC
FYI. This doesn't happen with LO-3.5.0 (built on ~amd64).
Comment 5 Jack 2011-12-28 01:33:13 UTC
I'm also on amd64, and get the crash trying to reorder the sheet tabs, but not playing with the horizontal scroll resizer or the page split resizer.  However, I get no backtrace or error message other than three of "QPixmap: It is not safe to use pixmaps outside the GUI thread."

dmesg shows only 
 soffice.bin[24325]: segfault at 24 ip 00007f6d44a6dc72 sp 00007f6d3490db60 error 4 in libQtGui.so.4.7.2[7f6d447be000+a39000]

I don't know if it's related, but after a crash, the next start shows the recovery dialog, but I do not get to the error report tool, it just opens the recovered document.

eix shows

[I] app-office/libreoffice
 Installed versions:  3.4.3.2-r1!t(12:55:17 AM 11/08/2011)(branding dbus gstreamer gtk java kde nsplugin opengl vba -aqua -bash-completion -binfilter -custom-cflags -debug -eds -elibc_FreeBSD -gnome -graphite -kdeenablefinal -ldap -linguas_de -linguas_en_GB -linguas_en_ZA -linguas_es -linguas_fr -linguas_hu -linguas_it -mysql -odk -pdfimport -python -templates -test -webdav)

[I] kde-base/kdebase-runtime-meta
 Installed versions:  4.7.3(4)(07:36:51 PM 12/10/2011)(handbook -aqua -semantic-desktop)

[I] x11-libs/qt-core
 Installed versions:  4.7.2-r2(4)(04:11:30 PM 09/14/2011)(exceptions glib iconv jit qt3support ssl -aqua -debug -optimized-qmake -pch -private-headers)

[I] x11-libs/qt-gui
 Installed versions:  4.7.2(4)(08:27:06 PM 10/21/2011)(accessibility cups dbus exceptions glib qt3support tiff -aqua -debug -egl -gtkstyle -mng -nas -nis -pch -private-headers -raster -trace -xinerama)

It looks like a new qt-gui just hit portage, so I'll try recompiling with +debug and see if I get any better info.  However, it looks like I have some other blocks to deal with first, so it may take some time.
Comment 6 Jack 2011-12-28 19:44:38 UTC
Created attachment 297241 [details]
gdb backtrace

gdb backtrace
Comment 7 Jack 2011-12-28 19:49:33 UTC
A non-trivial exercise.  Adding debug USE flag to qt-gui required adding it to many other packages, and then I forgot about changing CFLAGS and FEATURES so I had to emerge qt-gui yet again.  On top of that, there is something funny going on, as "emerge -uDvN world" wants me to drop the debug use flag for lots of packages, even though I explicitly added it in /etc/portage/package.use.

Let me know if it would help to get the debug symbols added to any other packages also.
Comment 8 Jack 2012-01-06 02:29:57 UTC
Is there any more info I can provide?  It turns out adding the debug USE flag has confused portage on my, so an emerge -auDvN world wants me to remove it and make other changes to be happy.  I'll leave things as is if I can provide any additional useful info, otherwise I want to re-emerge without the debug info.
Comment 9 Jack 2012-01-28 16:09:58 UTC
Well, I finally did get a "stable" system by adding debug USE flag to just a few more packages.  In addition, I just upgraded to LO 3.4.5, and I no longer see the crash.  Was it somehow fixed?

Also, I used to have another problem with LO calc (not reported as far as I know) in which the horizontal scroll bar was displayed with inadequate height, so there was extremely limited area (vertically) where I could actually grab it, but that also seems fixed in 3.4.5.
Comment 10 Tomáš Chvátal (RETIRED) gentoo-dev 2012-02-18 09:03:46 UTC
Yeah I can confirm that the crash is not reproducable on 3.4.5 while i managed to get it on 3.4.3 finaly.

Closing for now. Thanks for the bugreport and feel free to reopen if the problem again occurs.


Wrt horizontal scroll it was redone for 3.4.5 :)