0.99 Linux: Crash loading a png image

Reported bugs that have been closed and/or resolved

Moderators: XnTriq, helmut, xnview, Dreamer

Post Reply
User avatar
juozas
Posts: 35
Joined: Sun Sep 27, 2009 11:42 am
Location: Lithuania
Contact:

0.99 Linux: Crash loading a png image

Post by juozas »

XnView: MP 0.99 - 64 bit
OS: Ubuntu Linux 20.04 LTS 64bit, proposed repository enabled

Xnview crash while trying to open the attached image in any mode (both browser and view), exiftool info for it is shown below, gdb backtrace generated using modified script with original located in /usr/bin/xnview also attached below.

Code: Select all

ExifTool Version Number         : 11.88
File Name                       : pyoNE.png
Directory                       : .
File Size                       : 35 kB
File Modification Date/Time     : 2020:06:26 13:37:54+03:00
File Access Date/Time           : 2021:09:18 22:18:47+03:00
File Inode Change Date/Time     : 2021:09:18 22:18:46+03:00
File Permissions                : rw-rw-r--
File Type                       : PNG
File Type Extension             : png
MIME Type                       : image/png
Image Width                     : 250
Image Height                    : 240
Bit Depth                       : 8
Color Type                      : Grayscale with Alpha
Compression                     : Deflate/Inflate
Filter                          : Adaptive
Interlace                       : Adam7 Interlace
Pixels Per Unit X               : 2835
Pixels Per Unit Y               : 2835
Pixel Units                     : meters
White Point X                   : 0.31269
White Point Y                   : 0.32899
Red X                           : 0.63999
Red Y                           : 0.33001
Green X                         : 0.3
Green Y                         : 0.6
Blue X                          : 0.15
Blue Y                          : 0.05999
Image Size                      : 250x240
Megapixels                      : 0.060
Effect: Program crash instantly upon trying to load load the attached image in any mode

To reproduce:
1. Try to access the attached png in any mode such as view and/or browser mode
2. Experience a crash similar to one in gdb backtrace shown while under debugger

Actual behaviour (bug): Crash upon loading the attached png image when in any mode :bug:

Expected behaviour: No crash in any mode when trying to access the attached image
Attachments
crash.txt.gz
Gdb log & backtrace, gunzip or zcat to view it
(3.16 KiB) Downloaded 41 times
Image causing the crash
Image causing the crash
pyoNE.png (34.56 KiB) Viewed 1549 times
Last edited by juozas on Mon Sep 20, 2021 7:37 am, edited 1 time in total.
Сделано в СССР
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.99 Linux: Crash loading a png image

Post by xnview »

:bugconfirmed: Thanks to your detailed description I can reproduce the problem.
Pierre.
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.99 Linux: Crash loading a png image

Post by xnview »

This problem is supposed to be fixed in XnView MP 0.99.1. Please check and confirm the bug fix here.
Pierre.
User avatar
juozas
Posts: 35
Joined: Sun Sep 27, 2009 11:42 am
Location: Lithuania
Contact:

Re: 0.99 Linux: Crash loading a png image

Post by juozas »

Confirming this build works. No crash when loadding affected image.
Сделано в СССР
Post Reply