Bug 127329 - CRASH: pasting and undoing a few times
Summary: CRASH: pasting and undoing a few times
Status: RESOLVED DUPLICATE of bug 134099
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.0 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: haveBacktrace
Depends on:
Blocks: Undo-Redo Crash-BigPtrArray Crash
  Show dependency treegraph
 
Reported: 2019-09-04 08:44 UTC by Xisco Faulí
Modified: 2020-07-01 09:39 UTC (History)
4 users (show)

See Also:
Crash report or crash signature: ["SwUndoSaveSection::SaveSection(SwNodeIndex%20const%20&)"]


Attachments
bt with debug symbols (9.59 KB, text/plain)
2019-09-04 19:33 UTC, Julien Nabet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xisco Faulí 2019-09-04 08:44:27 UTC
Steps to reproduce:
1. Open attachment 142123 [details] from bug 117638
2. Copy all
3. Paste 5 times
4. Undo 5 times

-> Crash

Reproduced in

Version: 6.4.0.0.alpha0+
Build ID: 41cd3e8e817c8c33a13608e62eeb06ce2c6977e4
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
Comment 1 Xisco Faulí 2019-09-04 08:48:59 UTC
Hi Michael,
It seems another file affected by the fly at-char selection you recently fixed in https://gerrit.libreoffice.org/plugins/gitiles/core/+/3345feb67f2c49a1b76639965b56968e1c5f03ee%5E%21
I thought you might be interested in this issue...
Comment 2 Xisco Faulí 2019-09-04 10:35:05 UTC
Also reproduced in

Version: 5.2.0.0.alpha0+
Build ID: 3ca42d8d51174010d5e8a32b96e9b4c0b3730a53
Threads 4; Ver: 4.15; Render: default; 

and

Version: 5.0.0.0.alpha1+
Build ID: 0db96caf0fcce09b87621c11b584a6d81cc7df86
Locale: ca-ES (ca_ES.UTF-8)

Even 2903d85d6197829633d7f96c95cd55821c2c20ff doesn't fix it
Comment 3 m_a_riosv 2019-09-04 11:47:21 UTC
Repro:
Version: 6.3.1.2 (x64)
Build ID: b79626edf0065ac373bd1df5c28bd630b4424273
CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win; 
Locale: es-ES (es_ES); UI-Language: en-US Calc: CL
Comment 4 Julien Nabet 2019-09-04 19:33:44 UTC
Created attachment 153885 [details]
bt with debug symbols

On pc Debian x86-64 with master sources updated today, I could reproduce this.
Comment 5 Julien Nabet 2019-09-04 19:35:18 UTC
Gdb session:
(gdb) frame 6
#6  0x00007fffdcb02b26 in SwHistorySetFormat::SetInDoc (this=0x55555bcd4d00, pDoc=0x55555afd2bc0, bTmpSet=true) at /home/julien/lo/libreoffice/sw/source/core/undo/rolbck.cxx:138
138	    SwNode * pNode = pDoc->GetNodes()[ m_nNodeIndex ];
(gdb) p m_nNodeIndex
$1 = 182
(gdb) p pDoc->GetNodes()
$2 = (SwNodes &) @0x55555afcef50: {<BigPtrArray> = BigPtrArray of length 29 = {
[   0] 0x55555afcfbf0            StartNode , 
[   1] 0x55555afcb9c0              EndNode , 
[   2] 0x55555afd07c0            StartNode , 
[   3] 0x55555afc4fc0              EndNode , 
[   4] 0x55555afb1fe0            StartNode , 
[   5]  0x55555b310a10           StartNode , 
[   6]   0x55555b30ff50           TextNode "Dissertation s’appuyant sur un dossier documentaire", 
[   7]  0x55555b310a60             EndNode , 
[   8]  0x55555bcd59e0           StartNode , 
[   9]   0x55555be219d0            GrfNode , 
[  10]  0x55555dcbb9d0             EndNode , 
[  11] 0x55555afd0840              EndNode , 
[  12] 0x55555afcfb60            StartNode , 
[  13] 0x55555afc4b10              EndNode , 
[  14] 0x55555afc4bc0            StartNode , 
[  15]  0x55555bc7f8f0            TextNode "", 
[  16]  0x55555d26c5f0            TextNode "DOCUMENT 3", 
[  17]  0x55555bcb5d60            TextNode "", 
[  18]  0x55555dc59170            TextNode "Poids de l’industrie manufacturière(1) dans l’emploi intérieur total(2) (en %) et importations de produits de l'industrie manufacturière", 
[  19]  0x55555b790660            TextNode "(en milliards d'euros courants) en France", 
[  20]  0x55555b790a40            TextNode "\001", 
[  21]  0x55555be21c40            TextNode "Source : D’après INSEE, 2016.", 
[  22]  0x55555e1bf5e0            TextNode "", 
[  23]  0x55555e1bf9b0            TextNode "Lecture : Selon l’INSEE, en France, en 1985, les importations de produits issus de l’industrie manufacturière s’élèvent à environ 110 milliards d’euros courants et les emplois dans l’industrie manufac"..., 
[  24]  0x55555e1c0050            TextNode "", 
[  25]  0x55555e27a820            TextNode "(1) Les industries manufacturières sont des industries de transformation des biens : industries alimentaires, fabrication de textiles, industrie pharmaceutique, fabrication de machines et équipements,"..., 
[  26]  0x55555e27ad50            TextNode "(2) Emploi intérieur total, salariés et non-salariés, en nombre d’équivalents temps plein.", 
[  27]  0x55555e2d44e0            TextNode "", 
[  28] 0x55555afcd570              EndNode }, m_vIndices = 0x55555affefe8, m_pMyDoc = 0x55555afd2bc0, m_pEndOfPostIts = 0x55555afcb9c0, m_pEndOfInserts = 0x55555afc4fc0, m_pEndOfAutotext = 0x55555afd0840, 
  m_pEndOfRedlines = 0x55555afc4b10, m_pEndOfContent = std::unique_ptr<SwNode> = {get() = 0x55555afcd570}, m_pOutlineNodes = std::unique_ptr<SwOutlineNodes> = {get() = 0x555555f096e0}, m_bInNodesDel = false, 
  m_bInDelUpdOutline = false}
Comment 6 Xisco Faulí 2020-07-01 09:39:46 UTC
Duplicate of bug 134099

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