Bug 150442 - Crash when using Send Email Messages in Mail Merge
Summary: Crash when using Send Email Messages in Mail Merge
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.3.3.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Mail-Merge Crash
  Show dependency treegraph
 
Reported: 2022-08-16 14:43 UTC by emeriau.famille
Modified: 2023-11-09 10:13 UTC (History)
4 users (show)

See Also:
Crash report or crash signature: ["msvcp140.dll"]


Attachments
Image de la popup pour la fonction "Envoyer Courriers" (26.41 KB, image/png)
2022-08-16 15:18 UTC, emeriau.famille
Details
Image de la seconde Popup "Envoyer Courrier" (8.71 KB, image/png)
2022-08-16 15:19 UTC, emeriau.famille
Details
Image popup de récupération des documents (11.94 KB, image/png)
2022-08-16 15:19 UTC, emeriau.famille
Details
Base de données du publipostage (10.42 KB, application/vnd.oasis.opendocument.spreadsheet)
2022-08-20 13:01 UTC, emeriau.famille
Details
Document du publipostage (40.99 KB, application/vnd.oasis.opendocument.text)
2022-08-20 13:02 UTC, emeriau.famille
Details

Note You need to log in before you can comment on or make changes to this bug.
Description emeriau.famille 2022-08-16 14:43:50 UTC
Référence des reports crash
https://crashreport.libreoffice.org/stats/crash_details/72e6b31e-ea00-4c19-af77-32971982d577 
https://crashreport.libreoffice.org/stats/crash_details/c2b7b91c-4b64-4ebf-ab89-2ed5a51191cb

Après avoir défini les champs : A, Sujet, Envoyer comme PDF et la plage à traiter dès que l'on sélectionne le bouton "Envoyer les documents" la popup envoyer les courriels apparait fugitivement avant de disparaitre instantanément. A suivre la popup "Récupération de documents apparait.

Au bilan aucun mail n'est généré ni émis.  
Nota : Les autres mode de publipostage fonctionnent
Comment 1 Xisco Faulí 2022-08-16 14:55:06 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 emeriau.famille 2022-08-16 15:18:22 UTC
Created attachment 181808 [details]
Image de la popup pour la fonction "Envoyer Courriers"

Les précisions faites : 

1. La sélection du bouton "Envoyer les documents" fait disparaitre cette popup.

2. Celle de "Envoyer des courriels" apparait et précise :
   "La connexion au serveur du courriel sortant a été établie"
   Etat du transfert : "0 courriel sur 1 envoyé"

3. Apparait aussitôt la popup "Récupération de documents"
Comment 3 emeriau.famille 2022-08-16 15:19:20 UTC
Created attachment 181809 [details]
Image de la seconde Popup "Envoyer Courrier"
Comment 4 emeriau.famille 2022-08-16 15:19:55 UTC
Created attachment 181810 [details]
Image popup de récupération des documents
Comment 5 emeriau.famille 2022-08-16 15:40:20 UTC
4. La popup "Envoyer courrier" est persistante, il faut faire un clic droit sur cette dernière pour fermer cette formation.
Comment 6 Julien Nabet 2022-08-16 16:49:13 UTC
As Xisco indicated in his comment, it would be useful to have the files to make the mailmerge (of course after having removed any private/confidential part) so we can try to reproduce this.
Comment 7 emeriau.famille 2022-08-20 13:01:39 UTC
Created attachment 181903 [details]
Base de données du publipostage
Comment 8 emeriau.famille 2022-08-20 13:02:52 UTC
Created attachment 181904 [details]
Document du publipostage
Comment 9 emeriau.famille 2022-08-20 13:06:02 UTC
En pièces jointes : La BDD et le formulaire utilisé pour le publipostage.
J'espère que ces éléments vous permettront de reproduire mon problème. Je précise que j'ai pu réaliser les publipostages pendant deux ans sans aucun souci.
Comment 10 Julien Nabet 2022-08-20 16:04:47 UTC
Thank you for the files. Now some people can give it a try.

I tried myself but mailmerge is quite annoying to test, there are 10 000 options to choose, datasource to reconfigure, etc. I don't have the patience. Hopefully I suppose someone will have.
Comment 11 Stéphane Guillou (stragu) 2023-04-11 16:19:10 UTC
I could reproduce a hang on "Sending email messages" with:

Version: 7.3.7.2 / LibreOffice Community
Build ID: e114eadc50a9ff8d8c8a0567d6da8f454beeb84f
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

I have to kill LibreOffice as it is unresponsive.

However, in 7.5, it does send the emails with PDF attachments successfully:

Version: 7.5.2.2 (X86_64) / LibreOffice Community
Build ID: 53bb9681a964705cf672590721dbc85eb4d0c3a2
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

My steps:

1. Add valid email addresses in column "e-email" of attachment 181903 [details] 
2. Open attachment 181904 [details] 
3. Edit > Exchange database to point to the sheet that was modified in step 1
4. Click "Send email messages" in the toolbar
5. To = e-mail; Subject = "test"; Send as = Adobe PDF-Document"; click "Send Documents"

emeriau, could you please test again with version 7.5 to see if it is also resolved for you?
Comment 12 QA Administrators 2023-10-09 03:14:51 UTC Comment hidden (obsolete)
Comment 13 QA Administrators 2023-11-09 03:16:23 UTC Comment hidden (obsolete)
Comment 14 Stéphane Guillou (stragu) 2023-11-09 10:13:29 UTC
Crash signature is still present in recent versions, but doesn't mean this particular scenario has stopped crashing.
Let's leave as "insufficient data", but if you still experience it, emeriau, please set back to "unconfirmed" and provide further details.