Bug 113524 - Crash linking text modules between writer docs and formatting templates; already had to re-install libreoffice
Summary: Crash linking text modules between writer docs and formatting templates; alre...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: haveBacktrace
Depends on:
Blocks: Crash
  Show dependency treegraph
 
Reported: 2017-10-30 15:02 UTC by Cornelia
Modified: 2023-01-02 19:32 UTC (History)
3 users (show)

See Also:
Crash report or crash signature: ["SfxShell::SetDisableFlags(unsigned __int64)"]


Attachments
document with dde links and document with removed links (27.67 KB, application/vnd.oasis.opendocument.text)
2017-10-30 16:17 UTC, Cornelia
Details
document with dde links (27.93 KB, application/vnd.oasis.opendocument.text)
2017-10-30 16:20 UTC, Cornelia
Details
the source for "Tag 1" paragraph (14.82 KB, application/vnd.oasis.opendocument.text)
2017-10-30 16:41 UTC, Cornelia
Details
gdb backtrace (44.60 KB, text/plain)
2017-10-30 20:52 UTC, Xisco Faulí
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cornelia 2017-10-30 15:02:38 UTC
Description:
LibreOffice crashes either because of the dde linking of text modules or the formatting of templates; when opening a document with dde linked paragraphs or documents with just the origin paragraps, it works once but then all of a sudden writer is crashing

Steps to Reproduce:
1.format two different templates
2.use one of them to create text modules
3.open a document of the second template
4.create a text paragraph or two in a document based on the first template
5.copy the text and paste it as dde link into the document based on the second template
6. save everything;
7. create 5 ore more documents with text paragraphs to copy and paste into the document based on the second template - again as dde links
8. save, close every document
9. re-open the document with dde links and save it under different name; perhaps you have to re-open the document several times until the crash happens

Actual Results:  
LibreOffice or LibreOffice writer only crashed
I then saved the user profile under different name, so a new profile had been set-up; I copied the self-created templates into the new profile; LibreOffice crashed again by opening one of the above mentioned documents;
I removed LibreOffice through the Microsoft System Control, loaded LibreOffice again and installed it; it seemed to work. Now it crashes again

Expected Results:
I followed the writer help instructions for creating templates and linking text modules between writer documents; I even went through the PDF tutorials, which I found in the Internet. So writer should work properly


Reproducible: Sometimes


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Not sure, which Release I have (it says only 5.3) and I cannot select in the referring box


User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:56.0) Gecko/20100101 Firefox/56.0
Comment 1 Xisco Faulí 2017-10-30 15:33:45 UTC
Thank you for reporting the bug. Please attach a sample document, as this makes it easier for us to verify the bug. 
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided.
(Please note that the attachment will be public, remove any sensitive information before attaching it. 
See https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F for help on how to do so.)
Comment 2 Cornelia 2017-10-30 16:17:45 UTC
Created attachment 137376 [details]
document with dde links and document with removed links

Thank you for responding. I am attaching a version of the document with dde links and an identical one, in which I have removed the connections. I could not open the first document without having writer crashing, only when I select not to actualize the links, then I can open it.

I can also send you the dde origin modules.

Best regards
Cornelia
Comment 3 Cornelia 2017-10-30 16:20:33 UTC
Created attachment 137377 [details]
document with dde links

sorry, but I am not sure how to handle this website dialogues properly
Comment 4 Xisco Faulí 2017-10-30 16:26:13 UTC
I can't reproduce it in

Version: 5.4.2.2
Build ID: 1:5.4.2~rc2-0ubuntu0.17.04.1~lo2
CPU threads: 4; OS: Linux 4.10; UI render: default; VCL: gtk3; 
Locale: es-ES (ca_ES.UTF-8); Calc: group

What happens if you open the linked files individually as you would do with any other file? Does any of them crash ?
Comment 5 Cornelia 2017-10-30 16:41:38 UTC
Created attachment 137378 [details]
the source for "Tag 1" paragraph
Comment 6 Cornelia 2017-10-30 16:50:15 UTC
(In reply to Xisco Faulí from comment #4)
> I can't reproduce it in
> 
> Version: 5.4.2.2
> Build ID: 1:5.4.2~rc2-0ubuntu0.17.04.1~lo2
> CPU threads: 4; OS: Linux 4.10; UI render: default; VCL: gtk3; 
> Locale: es-ES (ca_ES.UTF-8); Calc: group
> 
> What happens if you open the linked files individually as you would do with
> any other file? Does any of them crash ?

It is as follows:
We need documents with different trekking routes; they share some of the stages. As there are changes (of the environment; of the restaurants during the treks, the accommodations a.s.o.), I want to have one location only to make changes to having all documents with the referring stage in them automatically updated.

This is why I have one large document with all the stages from day 1 to day 10. Each stage has an own source document - small documents with only one stage.

I try to open one single document - be it the one with all stages, or one of the source documents. The latter may open without a problem, but even those may lead to a crash. The one document with all the dde links is definitely causing crashes, and I can only open it, when I select not to update the linked content. Then I check the dde link paths - everything all right.
Comment 7 Xisco Faulí 2017-10-30 20:17:05 UTC
I can reproduce it in

Version: 6.0.0.0.alpha1+
Build ID: d30522e46ca884e9bc74af21711d9537e8118859
CPU threads: 4; OS: Linux 4.10; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group

Steps to reproduce:

1. Open attachment 137377 [details] ( Document 1 )
2. Open attachment 137378 [details] ( Document 2 )
3. In the first document, go to Edit - Links and change the path of the first link to point to the second document
4. Close Edit link dialog
5. Close document 2
6. CRASH
Comment 8 Xisco Faulí 2017-10-30 20:34:49 UTC
Reproduced back to

 LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4
Comment 9 Xisco Faulí 2017-10-30 20:52:57 UTC
Created attachment 137383 [details]
gdb backtrace
Comment 10 QA Administrators 2019-06-15 03:00:08 UTC Comment hidden (obsolete)
Comment 11 QA Administrators 2021-06-15 03:41:45 UTC Comment hidden (obsolete)
Comment 12 Xisco Faulí 2021-06-15 09:21:26 UTC
Still reproducible in

Version: 7.2.0.0.beta1+ / LibreOffice Community
Build ID: d376297c643785564e7bda1a74b573c35ade6cb8
CPU threads: 4; OS: Linux 5.7; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 13 Ree 2023-01-02 19:02:44 UTC
when I attempt to open an Open Office doc., I have to first RECOVER it, then I OFTEN get message that can't open, and shows this link:
files:///C:/Program%20Files%20(x86)/OpenOffice%/204/Program/..Program/oleautobridge.uno.dll
Sometimes I can open in WordPad, but most often not, and the document is lost (to me).
HELP, PLEASE!!
THANK YOU!!!!
Comment 14 BogdanB 2023-01-02 19:32:28 UTC
(In reply to Ree from comment #13)
> when I attempt to open an Open Office doc., I have to first RECOVER it, then
> I OFTEN get message that can't open, and shows this link:
> files:///C:/Program%20Files%20(x86)/OpenOffice%/204/Program/..Program/
> oleautobridge.uno.dll
> Sometimes I can open in WordPad, but most often not, and the document is
> lost (to me).
> HELP, PLEASE!!
> THANK YOU!!!!

You are using OpenOffice, not LibreOffice. It's not the same thing.
This bug reporting tools is for LibreOffice.

Download LibreOffice, open the document with LibreOffice and see if the document open well.
https://www.libreoffice.org/download/download-libreoffice/