Bug 78597 - Other: crash when copy data spreadsheet to writer
Summary: Other: crash when copy data spreadsheet to writer
Status: RESOLVED DUPLICATE of bug 77806
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
4.2.4.2 release
Hardware: Other Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords: haveBacktrace
Depends on:
Blocks:
 
Reported: 2014-05-12 08:45 UTC by tommaso
Modified: 2014-05-12 14:03 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
terminal output, debug build, fudged for emacs org-mode (13.75 KB, text/plain)
2014-05-12 13:47 UTC, Terrence Enger
Details
gdb on the core file, fudged for emacs org-mode (12.84 KB, text/plain)
2014-05-12 13:48 UTC, Terrence Enger
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***