Bug Hunting Session
Bug 121546 - CRASH undoing table paste
Summary: CRASH undoing table paste
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.3 all versions
Hardware: All All
: high major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected
Depends on:
Blocks: Writer-Tables
  Show dependency treegraph
 
Reported: 2018-11-20 13:02 UTC by Xisco Faulí
Modified: 2019-08-06 15:38 UTC (History)
4 users (show)

See Also:
Crash report or crash signature: ["CompareSwOutlineNodes::operator()(SwNode * const &,SwNode * const &)"]


Attachments
gdb backtrace (43.01 KB, text/plain)
2018-11-20 13:13 UTC, Xisco Faulí
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xisco Faulí 2018-11-20 13:02:14 UTC
This is a follow-up of bug 120115 and probably related to bug 119241

Steps to reproduce:
1. Open attachment 145162 [details] from bug 120115
2. CTRL+A & CTRL+X
3. CTRL+N (New document)
4. CTRL+V
5. CTRL+A & CTRL+X
6. CTRL+V in the same file
7. CTRL+Z x 3
8. CTRL+V
9. CTRL+Z
-> CRASH
Comment 1 Dieter Praas 2018-11-20 13:07:58 UTC
I confirm it with

Version: 6.2.0.0.beta1 (x64)
Build ID: d1b41307be3f8c19fe6f1938cf056e7ff1eb1d18
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: en-US (de_DE); UI-Language: en-GB
Calc: threaded
Comment 2 Xisco Faulí 2018-11-20 13:13:14 UTC
Created attachment 146827 [details]
gdb backtrace

with a debug build, it crashes on step 8
Comment 3 Xisco Faulí 2018-11-20 13:15:06 UTC
(In reply to Xisco Faulí from comment #2)
> Created attachment 146827 [details]
> gdb backtrace
> 
> with a debug build, it crashes on step 8

Which is exactly the same backtrace as in bug 119241. Anyway, let's keep this one open as I find this document easier to work with than the one in bug 119241
Comment 4 Xisco Faulí 2018-11-20 13:22:56 UTC
The crash on step 9 can be reproduced since https://cgit.freedesktop.org/libreoffice/core/commit/?id=e22122e20ca69d0f2b0e8831e9ebf3afd2064329.
Before that, it crashed on step 5 due to https://cgit.freedesktop.org/libreoffice/core/commit/?id=15d8b51bf82610c663f80fe552a1c0315e137ad3. Before this commit it didn't crash.
However, I've reverted both commits locally and it's still crashing so I don't know which commit caused this problem.

@Caolán, since both commits mentioned above are yours, I thought you might be interested in this issue...
Comment 5 RickyTzou 2018-11-29 08:51:49 UTC
The bug fixed in this version

Version: 6.3.0.0.alpha0+ (x64)
Build ID: 0f25a3c36f27fd51453b9a9115f236b83c143684
CPU threads: 8; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-11-27_20:06:55
Locale: zh-TW (zh_TW); UI-Language: en-US
Calc: threaded

Thank you!
Comment 6 Xisco Faulí 2018-11-29 09:52:29 UTC
Still reproducible in

Version: 6.2.0.0.beta1+
Build ID: ce7bb69f8205bcbe36cba4c53bd110e07ef3e05d
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US
Calc: threaded

@RickyTzou, are you sure you followed the steps correctly ?
Comment 7 Xavier Van Wijmeersch 2018-12-05 15:00:23 UTC
confirm crash with

Version: 6.3.0.0.alpha0+
Build ID: 834c7c2698443332a347374db10e17d7862d6e4f
CPU threads: 8; OS: Linux 4.19; UI render: default; VCL: kde4; 
Locale: nl-BE (en_US.UTF-8); UI-Language: en-US
Calc: threaded
Comment 8 Xisco Faulí 2019-08-06 13:34:51 UTC
Still reproducible in

Version: 6.4.0.0.alpha0+
Build ID: 967644f09b8b7abe3b86d1647820f14e0196f8b4
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US
Calc: threaded