Bug 78597

Summary: Other: crash when copy data spreadsheet to writer
Product: LibreOffice Reporter: tommaso <codicem>
Component: CalcAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: lo_bugs
Priority: medium Keywords: haveBacktrace
Version: 4.2.4.2 release   
Hardware: Other   
OS: Linux (All)   
Whiteboard: BSA
Crash report or crash signature: Regression By:
Attachments: terminal output, debug build, fudged for emacs org-mode
gdb on the core file, fudged for emacs org-mode

Description tommaso 2014-05-12 08:45:11 UTC
Problem description: 
crash when copy data table spreadsheet to writer

Steps to reproduce:
1. open a file calc
2. copy a range cells from calc
3. paste to new writer doc

Current behavior:
crash

Expected behavior:
copy data without crash
              
Operating System: Linux (Other)
Version: 4.2.4.2 rc
Comment 1 Terrence Enger 2014-05-12 13:45:17 UTC
With a debug build of commit f585323, I have succeeded in provoking a
SIGABRT.  Terminal output includes:

    /usr/include/c++/4.7/debug/vector:343:error: attempt to subscript container 
        with out-of-bounds index 1, but container only holds 1 elements.

    Objects involved in the operation:
    sequence "this" @ 0x0x27819f0 {
      type = NSt7__debug6vectorIP7ScTableSaIS2_EEE;
    }
    Application Error

The reporter is using a product build, so his crash is necessarily
somewhat different.  Hopefully mine has the same underlying cause.


My LibreOffice is commit f585323, fetched 2014-05-06, configured:
    --enable-option-checking=fatal
    --enable-dbgutil
    --enable-crashdump
    --without-system-postgresql
    --without-myspell-dicts
    --with-extra-buildid
    --without-doxygen
    --with-external-tar=/home/terry/lo_hacking/git/src
built and running on debian-wheezy 64-bit.
Comment 2 Terrence Enger 2014-05-12 13:47:01 UTC
Created attachment 98920 [details]
terminal output, debug build, fudged for emacs org-mode
Comment 3 Terrence Enger 2014-05-12 13:48:37 UTC
Created attachment 98921 [details]
gdb on the core file, fudged for emacs org-mode
Comment 4 Maxim Monastirsky 2014-05-12 13:57:24 UTC
Following the backtrace, changed Component to 'Spreadsheet'.
Comment 5 Kohei Yoshida 2014-05-12 14:03:47 UTC
Identical backtrace.  Already fixed on the 4.2 branch.

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