Bug 80548

Summary: LibO regularly crashes when cutting text
Product: LibreOffice Reporter: Edward M. Grant <bugzilla>
Component: LibreOfficeAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: barta
Priority: medium    
Version: 4.1.3.2 release   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
Crash report or crash signature: Regression By:

Description Edward M. Grant 2014-06-26 05:24:01 UTC
I've been running Open/LibreOffice for years, but, in the last few months, it's begun regularly crashing when I cut text from a document to paste elsewhere. I just ran it under gdb, and here's one stack trace:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6c38398 in Window::GetWindow(unsigned short) const () from /usr/lib/libreoffice/program/libmergedlo.so
#0  0x00007ffff6c38398 in Window::GetWindow(unsigned short) const () from /usr/lib/libreoffice/program/libmergedlo.so
#1  0x00007ffff62e06ad in PaintTransparentChildren(Window&, Rectangle const&) () from /usr/lib/libreoffice/program/libmergedlo.so
#2  0x00007ffff62b902c in ?? () from /usr/lib/libreoffice/program/libmergedlo.so
#3  0x00007ffff6992000 in Timer::ImplTimerCallbackProc() () from /usr/lib/libreoffice/program/libmergedlo.so
#4  0x00007fffdfcc61e4 in SalXLib::CheckTimeout(bool) () from /usr/lib/libreoffice/program/libvclplug_genlo.so
#5  0x00007fffdfcc6720 in SalXLib::Yield(bool, bool) () from /usr/lib/libreoffice/program/libvclplug_genlo.so
#6  0x00007ffff698b074 in Application::Yield(bool) () from /usr/lib/libreoffice/program/libmergedlo.so
#7  0x00007ffff698b117 in Application::Execute() () from /usr/lib/libreoffice/program/libmergedlo.so
#8  0x00007ffff5dc9078 in ?? () from /usr/lib/libreoffice/program/libmergedlo.so
#9  0x00007ffff6991c81 in ?? () from /usr/lib/libreoffice/program/libmergedlo.so
#10 0x00007ffff6991ca2 in SVMain() () from /usr/lib/libreoffice/program/libmergedlo.so
#11 0x00007ffff5de82b5 in soffice_main () from /usr/lib/libreoffice/program/libmergedlo.so
#12 0x000000000040071b in ?? ()
#13 0x00007ffff419ade5 in __libc_start_main (main=0x400710, argc=2, ubp_av=0x7fffffffe238, init=<optimized out>, fini=<optimized out>, 
    rtld_fini=<optimized out>, stack_end=0x7fffffffe228) at libc-start.c:260
#14 0x0000000000400751 in ?? ()

I also tried running with the --valgrind option enabled to see if it would indicate some bad memory usage, but, amazingly enough, I could happily cut and paste text that would make it crash if run without that option.

This happens with the 4.1.3.2 version installed by Mint 16, and with whatever version is installed by Scientific Linux 6.
Comment 1 tommy27 2014-06-29 09:10:21 UTC
try resetting user profile.
see link: https://wiki.documentfoundation.org/UserProfile

also you should consider upgrading to 4.1.6.2 or 4.2.5.2

set status to NEEDINFO. Revert to UNCONFIRMED if you still reproduce the bug or RESOLVED WORKSFORME if you don't.
Comment 2 Edward M. Grant 2014-07-01 00:46:15 UTC
Deleting the profile makes no difference. Plus, it happens on two different machines with two different operating systems, with two different versions of LibreOffice.

I'm sure I tried installing the latest version two or three months ago, but don't remember whether that made any difference. If it had solved the problem, I'm sure I would have kept it.
Comment 3 tommy27 2014-07-01 03:40:46 UTC
(In reply to comment #2)
....
> 
> I'm sure I tried installing the latest version two or three months ago, but
> don't remember whether that made any difference. If it had solved the
> problem, I'm sure I would have kept it.

if your last upgrade try was 2-3 months ago it means you haven't yet tried latest 4.2.5.2 which was released one week ago.

consider that a new maintainance release come out out every month with almost 100 bugfixes each.

so, try upgrading to 4.2.5.2 and tell me if this fix things
Comment 4 Edward M. Grant 2014-12-03 02:55:01 UTC
Looks like this was probably fixed in or before 4.2.7. I have a document which crashes every time I cut certain lines of text on the machine that's running SL6, but works fine on this one running Mint 17. Not sure which version of LibreOffice SL6 comes with, and can't check right now, but I'm sure it's older.