Bug 80471 - ~SwIndexReg assertion while opening particular .docx
Summary: ~SwIndexReg assertion while opening particular .docx
Status: RESOLVED DUPLICATE of bug 79940
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.3.0.1 rc
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2014-06-24 09:43 UTC by Priyanka Gaikwad
Modified: 2014-06-27 19:33 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Docx file (39.47 KB, application/vnd.openxmlformats-officedocument.wordprocessingml)
2014-06-24 09:43 UTC, Priyanka Gaikwad
Details
Stack trace of attached file (3.17 KB, text/plain)
2014-06-24 09:46 UTC, Priyanka Gaikwad
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Priyanka Gaikwad 2014-06-24 09:43:45 UTC
Created attachment 101661 [details]
Docx file

Docx file containing caption and table
Steps to reproduce :

1) Open attached file on latest LO build.

Current behavior:
File gets crashed while opening.

Expected behavior :
LO should open file properly.
Comment 1 Priyanka Gaikwad 2014-06-24 09:46:23 UTC
Created attachment 101662 [details]
Stack trace of attached file
Comment 2 Kevin Suo 2014-06-24 14:26:19 UTC
Just for information, I do not reproduce with 4.3.0.1, ubuntu 14.04 x86.
Comment 3 Jorendc 2014-06-25 08:07:47 UTC
Fail to reproduce also with own master build Version: 4.4.0.0.alpha0+
Build ID: 2e01d1bc5cd5186973d0451e8e9beaf3a924bcea on Linux Mint 17 x64
Comment 4 tommy27 2014-06-27 18:03:04 UTC
no crash under Win7x64 using 4.4.0.0.alpha0+
Build ID: 95272e7e5b7e38753ab07dbd6503b7cfa2974842
TinderBox: Win-x86@42, Branch:master, Time: 2014-06-26_23:01:43


when opening I see a popup message saying:

Document file 'captionNTable.docx' is locked for editing by yourself on a different system since 24.06.2014 20:51

Open document read-only, or ignore own file locking and open the document for editing.
Comment 5 Michael Stahl (allotropia) 2014-06-27 19:24:33 UTC
it's a debug-build-only assertion.

it means that when a paragraph (SwTxtNode) is destroyed there
is still a cursor (SwIndex) registered at the paragraph,
which is an error that can cause various problems later.

can reproduce this in current libreoffice-4-3 but not master...
maybe it's been fixed?
Comment 6 Michael Stahl (allotropia) 2014-06-27 19:33:26 UTC
aha... was fixed by commit 9fbdb02c9a1da28b4dd51b053d39cb254631e535

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