Bug 149906 - convert-to tiff not working first time with Libreoffice 7.3.0.2 version
Summary: convert-to tiff not working first time with Libreoffice 7.3.0.2 version
Status: CLOSED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.3.0.2 rc
Hardware: All Linux (All)
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-07 20:03 UTC by Ketan
Modified: 2023-11-29 17:35 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Issue Logs (1008.30 KB, text/plain)
2022-07-13 07:37 UTC, Ketan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ketan 2022-07-07 20:03:59 UTC
Description:
Used the below command on Linux to convert pptx file to tiff
./soffice.bin --headless --norestore --invisible --nodefault --nofirststartwizard --nolockcheck --nologo --convert-to tiff <filename>
Tiff not generated the first time, process crashed.
If i run again the same command, tiff generated successfully

Test/System Info:

Release Build
Ubuntu 18.04 (64 bit)


Steps to Reproduce:
1.Build libreoffice with ./autogen.sh script and then make
2. when build completes run following command for converting document to tiff
./soffice.bin --headless --norestore --invisible --nodefault --nofirststartwizard --nolockcheck --nologo --convert-to tiff <filename>
3. Tiff not generated the first time

Actual Results:
Tiff not generated the first time

Expected Results:
Tiff should generate the first time as well


Reproducible: Always


User Profile Reset: No



Additional Info:
NA
Comment 1 Timur 2022-07-08 18:13:28 UTC Comment hidden (obsolete)
Comment 2 Ketan 2022-07-09 04:49:42 UTC Comment hidden (obsolete)
Comment 3 Ketan 2022-07-09 04:50:47 UTC
(In reply to Ketan from comment #2)
> It(In reply to Timur from comment #1)
> > Does this happen with any pptx sveg of empty, or just with some specific? If
> > so, please attach minimal sample.
> 
> No specific file, u can take any pptx/docx file.
> 
> I checked the issue with release build (--enable-release-build)

Libreoffice (soffice.bin) process crashed
Comment 4 Ketan 2022-07-13 07:37:38 UTC
Created attachment 181245 [details]
Issue Logs
Comment 5 Ketan 2022-07-13 07:41:44 UTC
Verified issue is present in debug build as well with (--enable-sal-log = INFO+WARN)

Logs "NotWorkingFirstTimeLogs.txt" attached

Initial Analysis, from below logs, it seems crash is due to SfxApplication object popped from below log statement

===========================================================
SfxDispatcher(0x5637f0785ba8)::Pop(SfxApplication) (up to)

===========================================================

There is not Push call for same object in the logs
Comment 6 Timur 2022-07-13 10:57:47 UTC
No repro in Windows so restricted to Linux.
Comment 7 Timur 2022-07-13 14:28:07 UTC
No repro in Linux. 
You should (always before reporting) upgrade to 7.3.last and do LO user profile reset.
Comment 8 QA Administrators 2023-01-10 03:18:04 UTC Comment hidden (obsolete)
Comment 9 Buovjaga 2023-03-16 12:11:20 UTC
I created a blank pptx and gave your command. No crash, tiff is produced. Please check with 7.5.

Set to NEEDINFO.
Change back to UNCONFIRMED, if the problem persists. Change to RESOLVED WORKSFORME, if the problem went away.

Arch Linux 64-bit, X11
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 0d8d0fb8932652f182c46805d5cf3ae7f6ebadd5
CPU threads: 8; OS: Linux 6.2; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 16 March 2023
Comment 10 QA Administrators 2023-09-13 03:17:28 UTC Comment hidden (obsolete)
Comment 11 QA Administrators 2023-10-14 03:17:07 UTC Comment hidden (obsolete)
Comment 12 Ketan 2023-11-29 17:29:44 UTC
Not able to reproduce in latest release