Xviewer crashes when going from webp animation to gif

Open
#198 8 comments 5 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

Reproduce the crash in Xviewer 3.4.6 on Mint 22 by opening adjacent WebP and GIF animations and switching with an arrow key. Start from the terminal's segmentation-fault output and investigate the image-transition path; done means switching between these animations without crashing.

Written by the indexing model from the issue text.

Description

 * Xviewer version 3.4.6
 * Distribution - Mint 22

Issue
Xviewer crashes sometimes when going from a webp animation to a gif animation.

When running it with the terminal, it gives this error message while crashing: "Segmentation fault (core dumped)". (Actually the error message was not in english, but I think it's something like that in english...?)

Steps to reproduce

  1. Open a webp animation in a folder where there is a gif animation next to it.
  2. Press an arrow key to change from the webp image to the gif image.

Expected behaviour
Change the image/animation without crashing.

Other information
The images are 480x270, in other words, not very big.

Dominant language
C
Stars
92
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/xviewer

All issues in linuxmint/xviewer

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.