https://bugs.documentfoundation.org/show_bug.cgi?id=133426

            Bug ID: 133426
           Summary: Crash attempting to save mail merge to file multiple
                    times in parallel
           Product: LibreOffice
           Version: 7.0.0.0.alpha1+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: m.wegh...@posteo.de

Description:
Writer hits an assert when pressing the button to save the mail merge result to
a single file if that was done earlier and is still in progress.

Steps to Reproduce:
1. Start Writer with a new document
2. Run mail merge wizard ("Tools" -> "Mail Merge Wizard"), choosing e.g. the
attached "numbers.ods" as data source (choose one that has many entries to make
step 5) easier
3. Select "Save Merged Documents" in the mail merge toolbar
4. keep "Save as a single large document" selected, press "Save Documents"
 -> a dialog showing the progress appears, but it is not modal
5. press "Save Documents" in the dialog again (possible, since the other one is
not modal)

Actual Results:
When using a debug build:

LO hits an assert, "crashes"; output:

soffice.bin:
/home/michi/development/git/libreoffice/sw/source/uibase/dbui/dbmgr.cxx:422:
bool SwDBManager::Merge(const SwMergeDescriptor&): Assertion `!m_bInMerge &&
!m_pImpl->pMergeData && "merge already activated!"' failed.

When using a non-debug build: LO does not crash at once, but still crashed for
me at some point when I had multiple of those dialogs running, cancelled one of
them (exact scenario maybe more complex than when using a debug build)

Expected Results:
No crash.
While the first run is still in progress, it should not be possible to try to
start another one.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Behaviour is the same when e.g. trying to print instead of saving to a file.

Version: 7.0.0.0.alpha1+
Build ID: 50b76d9bf3747e1b5bcb6ce189337872db379e45
CPU threads: 4; OS: Linux 5.6; UI render: default; VCL: gtk3
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to