Bug 168359 - images cause impress to crash
Summary: images cause impress to crash
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
26.2.0.0 alpha0+ master
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-11 08:02 UTC by Elmar
Modified: 2026-01-18 15:56 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
images cause impress to crash (1.41 MB, application/vnd.oasis.opendocument.presentation)
2025-09-11 08:07 UTC, Elmar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Elmar 2025-09-11 08:02:16 UTC
Description:
a slide with images created in an older version of Impress crashes in the latest alpha

Steps to Reproduce:
1.open up a document with the images in it
2.
3.

Actual Results:
impress crashes

Expected Results:
should not


Reproducible: Always


User Profile Reset: No

Additional Info:
[Information automatically included from LibreOffice]
Locale: en-US
Module: PresentationDocument
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: yes

Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: e24f16560d0549acfa9db29cce42355b8ccc23e0
CPU threads: 8; OS: Linux 6.14; UI render: default; VCL: gtk3
Locale: en-ZA (en_ZA.UTF-8); UI: en-US
Calc: threaded

It does NOT crash when I open it in
Version: 24.2.7.2 (X86_64) / LibreOffice Community
Build ID: 420(Build:2)
same computer
Comment 1 Elmar 2025-09-11 08:07:48 UTC
Created attachment 202786 [details]
images cause impress to crash

Note when I copy images one by one, the bottom left one (sanlam)) does crash the doc, but when I copy the one next to it (liberty) it does not.
Comment 2 Xisco Faulí 2025-09-11 08:31:22 UTC
I can't reproduce it in

Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 2827bd9e46b697641ddbfac0e698ba67c3965202
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: es-ES (es_ES.UTF-8); UI: en-US
Calc: threaded
Comment 3 Julien Nabet 2025-09-11 11:42:03 UTC
On pc Debian x86-64 with master sources updated today, I don't reproduce crash but got these logs on console:
warn:svl.items:614422:614422:svl/source/items/cintitem.cxx:134: Passing sal_uInt16 in sal_Int32!
libpng error: Stream read: no data read from the stream.
libpng error: Stream read: no data read from the stream.
libpng error: Stream read: no data read from the stream.
libpng error: Stream read: no data read from the stream.
libpng error: Stream read: no data read from the stream.
libpng error: libpng error: Stream read: no data read from the stream.
libpng error: Stream read: no data read from the stream.Stream read: no data read from the stream.

libpng error: Stream read: no data read from the stream.

Example of bt:
#0  0x00007f9b708b93c1 in __cxa_throw () at /lib/x86_64-linux-gnu/libstdc++.so.6
#1  0x00007f9b681a1646 in (anonymous namespace)::lclError (error_msg=0x7f9b66d5982f "Stream read: no data read from the stream.") at /home/julien/lo/libreoffice/vcl/source/filter/png/PngImageReader.cxx:59
#2  0x00007f9b685927ba in png_error (png_ptr=0x7f9b14000b90, error_message=0x7f9b66d5982f "Stream read: no data read from the stream.")
    at /home/julien/lo/libreoffice/workdir/UnpackedTarball/libpng/pngerror.c:83
#3  0x00007f9b681a15c8 in (anonymous namespace)::lclReadStream (pPng=0x7f9b14000b90, pOutBytes=0x7f9b1eff9ea0 "\300\236\377IDAT", nBytesToRead=8)
    at /home/julien/lo/libreoffice/vcl/source/filter/png/PngImageReader.cxx:46
#4  0x00007f9b6859c77b in png_read_data (png_ptr=0x7f9b14000b90, data=0x7f9b1eff9ea0 "\300\236\377IDAT", length=8) at /home/julien/lo/libreoffice/workdir/UnpackedTarball/libpng/pngrio.c:36
#5  0x00007f9b685a71f9 in png_read_chunk_header (png_ptr=0x7f9b14000b90) at /home/julien/lo/libreoffice/workdir/UnpackedTarball/libpng/pngrutil.c:196
#6  0x00007f9b68596e5c in png_read_end (png_ptr=0x7f9b14000b90, info_ptr=0x7f9b14001070) at /home/julien/lo/libreoffice/workdir/UnpackedTarball/libpng/pngread.c:701
#7  0x00007f9b6819f060 in (anonymous namespace)::reader (rStream=..., rImportOutput=..., nImportFlags=GraphicFilterImportFlags::UseExistingBitmap, pAccess=0x55f6e2039940)
    at /home/julien/lo/libreoffice/vcl/source/filter/png/PngImageReader.cxx:596
#8  0x00007f9b681a02e6 in vcl::ImportPNG (rInputStream=..., rImportOutput=..., nImportFlags=GraphicFilterImportFlags::UseExistingBitmap, pAccess=0x55f6e2039940)
    at /home/julien/lo/libreoffice/vcl/source/filter/png/PngImageReader.cxx:813
#9  0x00007f9b68098aa0 in (anonymous namespace)::GraphicImportTask::doImport (rContext=...) at /home/julien/lo/libreoffice/vcl/source/filter/graphicfilter.cxx:526
#10 0x00007f9b680a4239 in (anonymous namespace)::GraphicImportTask::doWork (this=0x55f6e51e2f10) at /home/julien/lo/libreoffice/vcl/source/filter/graphicfilter.cxx:514
#11 0x00007f9b6f5e67ee in comphelper::ThreadTask::exec (this=0x55f6e51e2f10) at /home/julien/lo/libreoffice/comphelper/source/misc/threadpool.cxx:320
Comment 4 m_a_riosv 2025-09-11 21:11:31 UTC
Not reproducible with
Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: b8a10164dca775cba85eafe63eac3fa1d8171f69
CPU threads: 16; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded
Comment 5 Telesto 2025-09-12 07:05:15 UTC
No crash either
Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 18bde21b1d700bbf97e001a13ba9389dc7f9efc7
CPU threads: 8; OS: macOS 14.7.4; UI render: Skia/Raster; VCL: osx
Locale: nl-NL (nl_NL.UTF-8); UI: en-US
Calc: threaded
Comment 6 BogdanB 2025-09-12 18:49:07 UTC
No crash in
Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 67ea1fc544a0651e8da78531cfa3525f72c434ef
CPU threads: 16; OS: Linux 6.14; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

libpng error: libpng error: libpng error: libpng error: Stream read: no data read from the stream.
libpng error: Stream read: no data read from the stream.libpng error: Stream read: no data read from the stream.libpng error: Stream read: no data read from the stream.
libpng error: Stream read: no data read from the stream.
libpng error: Stream read: no data read from the stream.
Comment 7 Buovjaga 2026-01-18 15:56:36 UTC
No problem indeed. Elmar: do you still see this in the latest builds of 26.2?

Arch Linux 64-bit
Version: 26.8.0.0.alpha0+ (X86_64)
Build ID: d30a759567c437b501101099fc3786ea87691e15
CPU threads: 8; OS: Linux 6.18; UI render: default; VCL: gtk3
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: CL threaded
Built on 17 January 2026