Bug 44862

Summary: Writer EDITING: LibO crashes when attempt to copy-paste from Calc and undo results
Product: LibreOffice Reporter: sasha.libreoffice
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: lo_bugs
Priority: medium    
Version: 3.5.0 Beta2   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 37361    
Attachments: backtrace of crash
typescript of gdb session

Description sasha.libreoffice 2012-01-17 06:46:07 UTC
Created attachment 55677 [details]
backtrace of crash

Steps to reproduce crash:
0. Start Calc
1. enter number in some cells
2. Secect them and press Ctrl-C
3. Start Writer
4. enter 2 lines of text
5. place cursor in beginning of second line
6. press Ctrl-Shift-V and select "Formatted text RTF" and press OK
Exspected: table inserts.
Actually: nothing inserts, sometimes table appears on screen on part of second and disappears
7. repeat steps 5 - 6 until one line of text disappears (usually 1 times)
8. Press Ctrl-Z until LibO crashes (when all undone)

Produced on LibO 3.5.0 beta 2 on Fedora 64 bit
Comment 1 Terrence Enger 2012-01-17 08:48:03 UTC
Created attachment 55682 [details]
typescript of gdb session

Following those steps, I crashed on the assertion in
SwIndexReg::~SwIndexReg (sw/source/core/bastyp/index.cxx:237) after
the second time pasting the copied table; but then my LibreOffice
checks assertions.

The backtrace is from commit id e24a27b, pulled 2012-01-10, configured
with options
    --disable-mozilla
    --enable-symbols
    --enable-dbgutil
    --enable-crashdump
    --disable-build-mozilla
    --enable-ext-postgresql-sdbc
built and running on ubuntu-natty 32-bit.

Bug 43234 reports the same assertion being raised, but only a small
part of the call stack is the same.
Comment 2 Petr Mladek 2012-01-23 10:34:17 UTC
This actually looks like duplicate of the bug #43869

*** This bug has been marked as a duplicate of bug 43869 ***