Bug 100403 - MAIL MERGE WIZARD- LO crash when given invalid parameters in step 5
Summary: MAIL MERGE WIZARD- LO crash when given invalid parameters in step 5
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.0.0.5 release
Hardware: x86-64 (AMD64) Linux (All)
: high major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: dataLoss, wantBacktrace
Depends on:
Blocks: Mail-Merge
  Show dependency treegraph
 
Reported: 2016-06-15 13:48 UTC by Marco Filippozzi
Modified: 2017-07-18 18:26 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
"soffice --backtrace" output (28.02 KB, text/x-log)
2016-12-11 17:34 UTC, Thomas Hackert
Details
bzip2'ed "soffice --strace" output (605.54 KB, application/x-bzip)
2016-12-11 17:34 UTC, Thomas Hackert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Filippozzi 2016-06-15 13:48:27 UTC
If you you try to insert an invalid parameter in the From Top or From Left LO crashes. It also crashes if you press Align to text body.

STEPS:
*Tools -> Mail Merge Wizard
*Proceed to step 5 completing the previous steps
*Write a letter, a negative number or a big number in From Top or From Left text fields, also notice that if you press Align to text body LO crashes.
*Press Next. This step is VERY IMPORTANT because pressing Enter doesn't make LO crash.

Versions 5.2 and 5.3 are not affected, but Fresh and Still are.
The crash cause complete loss of data, especially if you had a big document.

Present in:
Version: 5.1.3.2
Build ID: 644e4637d1d8544fd9f56425bd6cec110e49301b
CPU Threads: 2; OS Version: Linux 4.1; UI Render: default; 
Locale: it-IT (it_IT.UTF-8)
OS: openSUSE Leap 42.1 (x86_64)

Version: 5.0.6.3
Build ID: 490fc03b25318460cfc54456516ea2519c11d1aa
Locale: it-IT (it_IT.UTF-8)
OS: openSUSE Leap 42.1 (x86_64)
Comment 1 Marco Filippozzi 2016-06-15 13:52:06 UTC
Suggested to change severity from normal to major because crash and data loss
Comment 2 Buovjaga 2016-06-18 19:34:33 UTC
(In reply to Marco Filippozzi from comment #0)
> *Press Next. This step is VERY IMPORTANT because pressing Enter doesn't make
> LO crash.

I clicked Finish. It didn't crash.

Backtrace would be cool.

Arch Linux 64-bit, KDE Plasma 5
Version: 5.3.0.0.alpha0+
Build ID: c13f60e7cd18df6b0ab70289f5b91ee01e4ae126
CPU Threads: 8; OS Version: Linux 4.6; UI Render: default; 
Locale: fi-FI (fi_FI.UTF-8)
Built on June 18th 2016
Comment 3 Joel Madero 2016-06-18 22:03:07 UTC
Critical is reserved for issues that will effect a significant portion of users who use LibreOffice daily. Mail merge is pretty small use so lowering to Major which still incorporates crashes.

Also I suggest trying with a fresh profile: https://wiki.documentfoundation.org/UserProfile

Thanks
Comment 4 Julien Nabet 2016-07-04 19:48:17 UTC
Marco: I saw you had tested 5.1.3, would you have some time to give a try to 5.1.4?
I know there's been some work on mailmerge but I don't know if it has been integrated in 5.1 branch.
Comment 5 Tony 2016-08-10 14:00:36 UTC
Version 5.1.4.2 on Windows 10.  LibreOffice writer crashes when trying to type in a specific vertical spacing for the address block in mail merge, "Fatal Error No RT Data".  Crashes with no error message - application just freezes and is terminated if the vertical spacing is changed using the arrow buttons on the field.
Comment 6 Buovjaga 2016-08-10 14:36:40 UTC
Tony: could you try with a fresh master build? There have been lots of MM crash fixes: http://dev-builds.libreoffice.org/daily/master/Win-x86@42/current/
Comment 7 Thomas Hackert 2016-12-11 17:23:22 UTC
Hello Marco, *,
thank you very much for reporting this bug :) I can confirm it with

OS: Debian testing
LO: Version: 5.0.0.0.beta3
Build-ID: 96345c15d8ab19c49014f055fe41ba8e1f421e5c
Gebietsschema: de-DE (de_DE.UTF-8)

LO: Version: 5.0.0.5
Build-ID: 437e4abdf9e72fd0a6e6f8697a0e659bc77f9b10
Gebietsschema: de-DE (de_DE.UTF-8)

up to

LO: Version: 5.1.6.1
Build-ID: f3e25ec0581f5012f54d8810dcddd5824f4ee374
CPU-Threads: 4; BS-Version: Linux 4.5; UI-Render: Standard; 
Gebietsschema: de-DE (de_DE.UTF-8); Calc: group

but not in

LO: Version: 4.4.7.2
Build-ID: f3153a8b245191196a4b6b9abd1d0da16eead600
Gebietsschema: de_DE.UTF-8

so setting version to "5.0.0.5 release" (as this is the oldest from the version picker as far as I can see) and changing the status to "NEW".

Additionally I will attach a backtrace as well as a strace log later.
HTH
Thomas.
Comment 8 Thomas Hackert 2016-12-11 17:34:17 UTC
Created attachment 129502 [details]
"soffice --backtrace" output
Comment 9 Thomas Hackert 2016-12-11 17:34:53 UTC
Created attachment 129503 [details]
bzip2'ed "soffice --strace" output
Comment 10 Julien Nabet 2016-12-14 22:03:47 UTC
On pc Debian testing x86-64 with LO Debian package 5.2.3.3, I don't reproduce this.

At step 5, "Next" button is disabled, there's only "Finish" button enabled.
Also, checking or unchecking "Align" checkbox doesn't make LO crash for me.
I also tested to put a letter on negative number. In first case, when clicking then on another part, it puts back the former value, in second case, it puts value 0.

Did I miss something?
Comment 11 Timur 2017-07-18 18:26:06 UTC
I couldn't reproduce with master. Cannot put negative number. If I press Align to text body LO doesn't crash.
MMW was redesigned from 5.2 and this report was for previous version. 
Also, nobody replied to Julien's question. 
So, for the sake of efficiency, I'll close this one as WorksForMe. 
But please feel free and kindly ask to test yourself with current versions 5.2.7, 5.3.4 and 5.4.0. 
Please set back to New if reproduced again.