Bug 75559 - LO crashes while opening a document containing bookmarks
Summary: LO crashes while opening a document containing bookmarks
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.3.0.0.alpha0+ Master
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-27 07:54 UTC by Sourav
Modified: 2014-03-08 14:47 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
document contains bookmarks. (35.82 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2014-02-27 07:54 UTC, Sourav
Details
document contains bookmarks. (14.68 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2014-03-03 09:31 UTC, Sourav
Details
document contains bookmarks. (163.66 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2014-03-03 09:33 UTC, Sourav
Details
document contains bookmarks. (189.19 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2014-03-03 09:34 UTC, Sourav
Details
document contains bookmarks. (35.94 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2014-03-03 09:34 UTC, Sourav
Details
gdbtrace.log (34.07 KB, text/x-log)
2014-03-04 11:07 UTC, Sourav
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sourav 2014-02-27 07:54:14 UTC
Created attachment 94802 [details]
document contains bookmarks.

Simulation:
1) Try to open the document in LO.

Expected :
Document should be opened without any error messages/crashes.

Actual:
LO crashes before opening the document.
Comment 1 Alexandr 2014-02-27 17:22:45 UTC
Comment on attachment 94802 [details]
document contains bookmarks.

Fixing MIME type
No crash with LibreOffice 4.1.4.2, 4.2.0.4 and 4.3.0.0.alpha0+
Build ID: db0222881be20744c071be451d77a7dc4a0dbb56
TinderBox: Linux-rpm_deb-x86_64@46-TDF, Branch:master, Time: 2014-02-21_10:31:05
on Debian x86_64.

What build do you use? What is you platform? Could you attach a backtrace as explained in https://wiki.documentfoundation.org/QA/BugReport/Debug_Information ?
Comment 2 Jean-Baptiste Faure 2014-02-28 05:49:42 UTC
No crash for me under Linux / Ubuntu 13.10 x86-64 with versions 4.1.5 (release), 4.2.3.0.0+ (dev.) and master (Build ID: d5c59404bec65c8a9d9e05c1fcc24e068d170924) built at home.

Due to question in comment #1 set status to NEEDINFO.
@reporter: my suggestion is you should test again after a complete rebuild: make clean & make.

Best regards. JBF
Comment 3 Sourav 2014-03-03 09:30:09 UTC
Build Id:-2f4db1cf6eaf28fc5907dca4870368ea4b67fbc0
I checked it on Ubuntu.
Please find the attached gdbtrace.log for backtracing.

I checked on Windows also with libo-master~2014-03-03_00.17.16_LibreOfficeDev_4.3.0.0.alpha0_Win_x86 and it is getting crashed.

I have attached some more .docx files which are causing the crash.
Comment 4 Sourav 2014-03-03 09:31:43 UTC
Created attachment 95009 [details]
document contains bookmarks.
Comment 5 Sourav 2014-03-03 09:33:53 UTC
Created attachment 95010 [details]
document contains bookmarks.
Comment 6 Sourav 2014-03-03 09:34:12 UTC
Created attachment 95011 [details]
document contains bookmarks.
Comment 7 Sourav 2014-03-03 09:34:25 UTC
Created attachment 95012 [details]
document contains bookmarks.
Comment 8 Sourav 2014-03-04 11:07:42 UTC
Created attachment 95086 [details]
gdbtrace.log
Comment 9 Jean-Baptiste Faure 2014-03-04 18:06:19 UTC
Thank you. Still not reproducible for me.
Set status back to unconfirmed.

Best regards. JBF
Comment 10 Sourav 2014-03-05 13:31:40 UTC
Issue is no longer reproducible on latest build.
Build ID:- 4ce261f9f68ee710a883604181299b13cd14ae7b, Build date : 5 March 2014

Checked using git blame on ./sw/source/core/doc/docbm.cxx. Same fix has been provided as we had figured out.
Comment 11 Sourav 2014-03-05 13:35:49 UTC
Issue is no longer reproducible on latest build.
Build ID:- 4ce261f9f68ee710a883604181299b13cd14ae7b, Build date : 5 March 2014

Checked using git blame on ./sw/source/core/doc/docbm.cxx. Same fix has been provided as we had figured out.

As per the git blame the changes were made by:-
14f124a5 (Oliver-Rainer Wittmann 2014-03-04 12:35:01 +0000


(In reply to comment #9)
> Thank you. Still not reproducible for me.
> Set status back to unconfirmed.
> 
> Best regards. JBF
Comment 12 Alexandr 2014-03-08 14:47:09 UTC
Hello.
I am sorry for being late.
I reproduce the crash with LibreOffice 4.3.0.0.alpha0+
Build ID: 20b8944cd4771f75564277a5144e96b7d9c3d616
TinderBox: Win-x86@42, Branch:master, Time: 2014-03-03_00:17:16
and
Build ID: 4402efc18ae16e279d55858946d2c8b8972f3f9f
TinderBox: Win-x86@42, Branch:master, Time: 2014-03-04_01:17:34
on Windows 7 x86_64

I do not reproduce with LibreOffice 4.3.0.0.alpha0+
Build ID: 4fcd5534348adcb61ab85b93478c272b8d9e8f8c
TinderBox: Win-x86@42, Branch:master, Time: 2014-03-04_23:27:21
and
Build ID: 2b78f2cd7b9e4bab0f3b3b9119238f36a1bbc7b2
TinderBox: Win-x86@42, Branch:master, Time: 2014-03-05_23:52:08
on Windows 7 x86_64

The problem seems to be platform depended. I do not reproduce the crash with LibreOffice 4.3.0.0.alpha0+ Build ID: 20b8944cd4771f75564277a5144e96b7d9c3d616
TinderBox: Win-x86@42, Branch:master, Time: 2014-03-03_00:17:16
 on Wine 1.4.1 from Debian 7 “Wheezy”.

Anyway, the bug was and the report is valid. We even know the patch which solved the problem (http://cgit.freedesktop.org/libreoffice/core/commit/sw/source/core/doc/docbm.cxx?id=14f124a5ef5c32bad765265d5a3f05290ccc6149) So, I set bugstatus to resolved fixed.