Bug 116133 - Crash when exporting a presentation to PDF with Export notes pages enabled for a second time (32-bit only)
Summary: Crash when exporting a presentation to PDF with Export notes pages enabled fo...
Status: RESOLVED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
6.1.0.0.alpha0+
Hardware: All Windows (All)
: high major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: haveBacktrace
Depends on:
Blocks: PDF-Export Skia
  Show dependency treegraph
 
Reported: 2018-03-01 20:15 UTC by Telesto
Modified: 2021-04-23 09:33 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
BT (10.63 KB, text/plain)
2018-03-04 09:03 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2018-03-01 20:15:40 UTC
Description:
Crash when exporting a presentation to PDF with Export notes pages enabled for a second time (LibO6.1.0.0)

Steps to Reproduce:
1. Open attachment 140266 [details] (bug 116124)
2. File -> Export as PDF
3. Default settings except that:
Export notes pages & Export Only Notes page are checked (General tab, under General)
4. First export -> Successful
5. Second export -> Crash

Actual Results:  
Crash

Expected Results:
No crash


Reproducible: Always


User Profile Reset: No



Additional Info:
Found in
Version: 6.1.0.0.alpha0+
Build ID: 96d551636e9179eb6874a5156b191ef3bff0a10c
CPU threads: 4; OS: Windows 6.3; UI render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2018-02-26_23:44:46
Locale: nl-NL (nl_NL); Calc: CL

not in
Version: 6.0.0.0.alpha1+
Build ID: dae6ba564fcf20299b7a560aeb346efc84364d41
CPU threads: 4; OS: Windows 6.3; UI render: default; 
TinderBox: Win-x86@39, Branch:master, Time: 2017-11-01_00:28:17
Locale: nl-NL (nl_NL); Calc: CL



User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0
Comment 1 Xisco Faulí 2018-03-02 08:40:08 UTC
I can't reproduce it in

Version: 6.1.0.0.alpha0+
Build ID: e2cb154195fdc2ffccdb6f5e87cae8b29640b3eb
CPU threads: 4; OS: Linux 4.13; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group
Comment 2 Telesto 2018-03-03 12:38:36 UTC
Faster STR
1. Open attachment 140266 [details] (bug 116124)
2. View -> Slide Sorter 
3. Master Slides pane in the sidebar
4. Select all slides & apply a different template -> Crash
Comment 3 Aron Budea 2018-03-04 02:36:53 UTC
No crash for me with either steps in:
Version: 6.1.0.0.alpha0+ (x64)
Build ID: 96d551636e9179eb6874a5156b191ef3bff0a10c
CPU threads: 4; OS: Windows 6.1; UI render: default; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-02-27_00:54:40
Locale: en-US (en_US); Calc: CL
Comment 4 raal 2018-03-04 07:49:50 UTC
I can not confirm 
Version: 6.1.0.0.alpha0+
Build ID: dc8d8cbf30ca3429236eca16b8f447ef5d4e61d3
CPU threads: 1; OS: Windows 10.0; UI render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2018-02-28_00:00:19
Comment 5 Telesto 2018-03-04 09:03:33 UTC
Created attachment 140328 [details]
BT

Still crashing even after a profile reset
Version: 6.1.0.0.alpha0+
Build ID: e108a31a8fee09c2fa4031e45e45ed73bbdb7c6f
CPU threads: 4; OS: Windows 6.3; UI render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2018-03-03_23:36:02
Locale: nl-NL (nl_NL); Calc: CL
Comment 6 Xisco Faulí 2018-03-05 12:42:32 UTC
I can't reproduce it in

Version: 6.0.0.0.alpha1+
Build ID: 6eeac3539ea4cac32d126c5e24141f262eb5a4d9
CPU threads: 4; OS: Linux 4.13; UI render: default; VCL: x11; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group threaded
Comment 7 Telesto 2018-03-05 14:52:41 UTC
It could be related to the image handling rework, I suppose. And might be related to bug 116042.. So it might resolve itself anyway.. 
 
I set this to NEEDINFO for the time being, and will check again after two weeks or so
Comment 8 Xisco Faulí 2018-03-06 15:42:27 UTC
better to close as a dupe of bug 116042 then...

*** This bug has been marked as a duplicate of bug 116042 ***
Comment 9 Buovjaga 2018-03-11 14:14:28 UTC
(In reply to Telesto from comment #2)
> Faster STR
> 1. Open attachment 140266 [details] (bug 116124)
> 2. View -> Slide Sorter 
> 3. Master Slides pane in the sidebar
> 4. Select all slides & apply a different template -> Crash

No crash.

Can you crash it in Safe mode?

Arch Linux 64-bit
Version: 6.1.0.0.alpha0+
Build ID: 22b1d4784d02070ae1933c59cf2c9bb5a5284773
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on March 10th 2018

Version: 6.1.0.0.alpha0+ (x64)
Build ID: 77db2da61658906c354084b13a95f1102949fbd0
CPU threads: 4; OS: Windows 10.0; UI render: default; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-03-04_22:51:24
Locale: fi-FI (fi_FI); Calc: group
Comment 10 Telesto 2018-03-11 16:55:39 UTC
Still reproducible
Version: 6.1.0.0.alpha0+
Build ID: 5a341e126709e3c9ef01680e116d5ce0d55d9f8c
CPU threads: 4; OS: Windows 6.3; UI render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2018-03-10_23:12:15
Locale: nl-NL (nl_NL); Calc: group

It's a little harder to reproduce .. but still possible

1. Open attachment 140266 [details] (bug 116124)
2. File -> Export as PDF
3. Default settings except that:
Export notes pages & Export Only Notes page are checked (General tab, under General)
4. First export -> Successful
5. Second export -> Successful
6. Third export -> Crash
Comment 11 Buovjaga 2018-03-13 10:59:24 UTC
(In reply to Telesto from comment #10)
> Still reproducible
> Version: 6.1.0.0.alpha0+
> Build ID: 5a341e126709e3c9ef01680e116d5ce0d55d9f8c
> CPU threads: 4; OS: Windows 6.3; UI render: default; 
> TinderBox: Win-x86@42, Branch:master, Time: 2018-03-10_23:12:15
> Locale: nl-NL (nl_NL); Calc: group
> 
> It's a little harder to reproduce .. but still possible
> 
> 1. Open attachment 140266 [details] (bug 116124)
> 2. File -> Export as PDF
> 3. Default settings except that:
> Export notes pages & Export Only Notes page are checked (General tab, under
> General)
> 4. First export -> Successful
> 5. Second export -> Successful
> 6. Third export -> Crash

Tried four times without crash.

Version: 6.1.0.0.alpha0+ (x64)
Build ID: 4647057a077824cd6782be82b2d13e06fa76704b
CPU threads: 4; OS: Windows 10.0; UI render: default; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-03-13_02:03:59
Locale: fi-FI (fi_FI); Calc: group
Comment 12 Telesto 2018-03-13 11:36:54 UTC
(In reply to Buovjaga from comment #11)

Repro with
Version: 6.1.0.0.alpha0+
Build ID: 5b87abe06da35ca3a11628674af23460349b439a
CPU threads: 4; OS: Windows 6.3; UI render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2018-03-12_23:45:38
Locale: nl-NL (nl_NL); Calc: CL

No repro with
Version: 6.1.0.0.alpha0+ (x64)
Build ID: 4647057a077824cd6782be82b2d13e06fa76704b
CPU threads: 4; OS: Windows 6.3; UI render: default; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-03-13_02:03:59
Locale: nl-NL (nl_NL); Calc: group

So, it could be x86 only
Comment 13 Buovjaga 2018-03-13 12:22:00 UTC
(In reply to Telesto from comment #12)
> So, it could be x86 only

Yep, I think it is due to memory use going through the roof (well, did not reach 1GB, but grew all the time).

Version: 6.1.0.0.alpha0+
Build ID: 5b87abe06da35ca3a11628674af23460349b439a
CPU threads: 4; OS: Windows 10.0; UI render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2018-03-12_23:45:38
Locale: fi-FI (fi_FI); Calc: group
Comment 14 QA Administrators 2019-03-21 03:50:13 UTC Comment hidden (obsolete)
Comment 15 QA Administrators 2021-03-21 04:17:23 UTC Comment hidden (obsolete)
Comment 16 Timur 2021-04-22 08:36:56 UTC
I see this in Windows 7 with 7.2+.
32-bit 7.2+ (2 weeks old) Skia crashes on step 2. of Comment 2. Memory waa just 650 MB. 

64-bit 7.2+ with Skia few days old used to crash already on fileopen. No crash for Gdi, much less memory usage. But no crash with today's 64-bit.
I noticed that Comment 2 steps in 7.1 Skia use 1.4 GB of memory, while Gdi doesn't reach 1 GB.
Comment 17 Luboš Luňák 2021-04-23 09:33:32 UTC
The presentation contains several huge images, the largest of them being 11826x8548. And they total about 200M pixels, or 800MiB RAM if stored as 32bpp, and this is just the images. GDI presumably can store as 24bpp, saving some memory, which Skia cannot do, but this is still a case of using a lot of data on a system that cannot really handle it.