Losslessly compressed RAW files from Sony A7CR cause PIX to crash

Open
#219 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
c
Domain
desktop

Research direction

First reproduce the crash in Pix 3.2.2 on Mint 21.3 Cinnamon using a Sony A7CR losslessly compressed ARW file alongside its JPEG. Trace the RAW-file handling reached when navigating from the JPEG, and verify that Pix either displays the RAW or shows an unsupported-format icon without crashing, including for corrupted image files.

Written by the indexing model from the issue text.

Description

Distribution

Mint 21.3 Cinnamon

Package version

3.2.2

Frequency

Always

Bug description

If there are losslessly compressed RAW files (ARW extention) in the open directory in PIX, PIX hangs/crashes with "Segmentation fault (core dumped)"

Steps to reproduce

Take a picture with JPEG & RAW saved on a SONY A7CR camera, have the RAW format be losslessly compressed. move files to computer, double click the JPG file navigate to the other picture and PIX hangs or crashes.

Expected behavior

Either display the image of the RAW file, or show an icon that indicates that PIX does not recognize the file format. Pix should not crash no matter how corrupted any image file is.

Additional information

Pix does not crash with uncompressed RAW files.

Dominant language
C
Stars
270
Forks
47
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from linuxmint/pix

All issues in linuxmint/pix

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.