Art crashes when choosing photos

Hello. Since the last update (1.9.3-3) made under linux mint, when I am in the editor tab, the fact of wanting to change the photo crashes the software, and that is with the keyboard shortcuts F3 / F4 or the arrows, or by double-clicking on a photo in the thumbnail banner. I opened ART using a terminal. Result: Segmentation error (core dumped). Would it come from my system or from the software?
Thank you in advance!

Hi,
Would you be able to try a debug build and get a backtrace as explained here? How to write useful bug reports - RawPedia

Thanks!

Yes, I read the rawpedia article. There is mentioned a debug version but I do not see any on the ART bitbucket. Should I try this with rawtherapee?

You would need to build a debug version yourself I’m afraid…
Anyone else that can reproduce this?
Thanks!

I can reproduce it. Now making a debug build. Report incoming…

Arf! This is beyond my skills…
Just for information, this behavior is random: sometimes the shortcuts work, sometimes the arrows work. This depending on the photo processing sessions …
Thank you for your reactivity

@agriggio I believe there is a locking issue, because I can only get ART to crash when I either press F3/F4 or double click another image from the film strip while the current image is still loading/processing.

backtrace.txt (94.6 KB)

Alberto, I bisected the issue to this commit:

9c48af96d2e67b8f83a9e5e6ee01615e8698d2cc is the first bad commit
commit 9c48af96d2e67b8f83a9e5e6ee01615e8698d2cc
Author: Alberto Griggio <agriggio@users.noreply.github.com>
Date:   Mon Jul 5 18:05:33 2021 +0200

    fixed crash when switching images in single editor mode

    Fixes #188

 rtgui/editorpanel.cc |  1 +
 rtgui/editorpanel.h  |  4 ++--
 rtgui/filepanel.cc   |  3 +++
 rtgui/rtwindow.cc    | 10 +++++++---
 4 files changed, 13 insertions(+), 5 deletions(-)

Before this commit I can freely press F3/F4 while loading images, but from this commit on ART segfaults.

1 Like

Thanks! I’ll take a look

The problem is solved. Thank you so much!

Not here, typing F3 and F4 twice still crashes Art when in single-tab mode…

Hello Alberto,

First of all, great recognition for your work and your extremely successful adaptation of RawTherapee. Version 1.9.3 also crashes on Ubuntu 20.04. when changing photos. The previous versions worked. I am currently unable to compile these versions. There is always an error message.

Does version 1.9.1 or 1.9.2 still exist in the Linux64 version? I can’t find it anywhere. I would be very happy if you could help me.

Sorry for my bad English. Translated with google.

Very warm greetings
Tom

Hi, and welcome! If you can checkout from git the latest version should behave better…
I’ll try to release it as 1.9.4 asap, but realistically not before a couple of weeks…

Hi,

Did you try this?

Works fine for me with Debian
Cheers

Hello Alberto, hello Bertrand,

the latest version from git works. No more crashes.
Thank you both very much.

Many greetings
Tom