Bug 1820907 - [abrt] rawtherapee: std::__replacement_assert(char const*, int, char const*, char const*)(): rawtherapee killed by SIGABRT
Summary: [abrt] rawtherapee: std::__replacement_assert(char const*, int, char const*, ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rawtherapee
Version: 31
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mattia Verga
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:1652b6cab6085e4b1742727372d...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-04 15:24 UTC by Facundo
Modified: 2020-04-15 20:32 UTC (History)
4 users (show)

Fixed In Version: rawtherapee-5.8-2.fc31
Clone Of:
Environment:
Last Closed: 2020-04-15 20:32:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (45.12 KB, text/plain)
2020-04-04 15:24 UTC, Facundo
no flags Details
File: core_backtrace (19.98 KB, text/plain)
2020-04-04 15:24 UTC, Facundo
no flags Details
File: cpuinfo (2.18 KB, text/plain)
2020-04-04 15:24 UTC, Facundo
no flags Details
File: dso_list (11.25 KB, text/plain)
2020-04-04 15:24 UTC, Facundo
no flags Details
File: environ (1.90 KB, text/plain)
2020-04-04 15:24 UTC, Facundo
no flags Details
File: limits (1.29 KB, text/plain)
2020-04-04 15:24 UTC, Facundo
no flags Details
File: maps (78.79 KB, text/plain)
2020-04-04 15:24 UTC, Facundo
no flags Details
File: mountinfo (4.42 KB, text/plain)
2020-04-04 15:24 UTC, Facundo
no flags Details
File: open_fds (3.33 KB, text/plain)
2020-04-04 15:24 UTC, Facundo
no flags Details
File: proc_pid_status (1.31 KB, text/plain)
2020-04-04 15:24 UTC, Facundo
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github Beep6581 RawTherapee issues 5701 0 None closed Crash in browser while selecting and de-selecting multiple images 2020-05-11 08:10:53 UTC

Description Facundo 2020-04-04 15:24:11 UTC
Description of problem:
1- Select files to export. Several files have been cropped. All are JPG.
2- Batch export them.
3- Program hangs.

The same thing happens sometimes when selecting some files and try to color mark them.

Version-Release number of selected component:
rawtherapee-5.8-1.fc31

Additional info:
reporter:       libreport-2.12.0
backtrace_rating: 4
cgroup:         0::/user.slice/user-1001.slice/user/gnome-launched-rawtherapee.desktop-30450.scope
cmdline:        rawtherapee
crash_function: std::__replacement_assert(char const*, int, char const*, char const*)
executable:     /usr/bin/rawtherapee
journald_cursor: s=02a1135e5fad4e2489bb21538d271a69;i=10e611;b=25a85e88958c498782fba78b9d2b03a5;m=5315e28ba;t=5a27856ce0691;x=8c5bc2cb147b9564
kernel:         5.5.13-200.fc31.x86_64
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1001

Truncated backtrace:
Thread no. 1 (10 frames)
 #2 std::__replacement_assert(char const*, int, char const*, char const*) at /usr/include/c++/9/x86_64-redhat-linux/bits/c++config.h:2533
 #3 std::vector<Crop::CropRatio, std::allocator<Crop::CropRatio> >::operator[](unsigned long) at /usr/include/c++/9/bits/stl_vector.h:1042
 #4 Crop::read(rtengine::procparams::ProcParams const*, ParamsEdited const*) at /usr/src/debug/rawtherapee-5.8-1.fc31.x86_64/rtgui/crop.cc:357
 #5 BatchToolPanelCoordinator::initSession() at /usr/include/c++/9/bits/stl_vector.h:915
 #6 BatchToolPanelCoordinator::selectionChanged(std::vector<Thumbnail*, std::allocator<Thumbnail*> > const&) at /usr/src/debug/rawtherapee-5.8-1.fc31.x86_64/rtgui/batchtoolpanelcoord.cc:58
 #7 FileBrowser::notifySelectionListener() at /usr/src/debug/rawtherapee-5.8-1.fc31.x86_64/rtgui/filebrowser.cc:1931
 #8 FileBrowser::menuItemActivated(Gtk::MenuItem*) at /usr/src/debug/rawtherapee-5.8-1.fc31.x86_64/rtgui/filebrowser.cc:795
 #9 FileBrowser::keyPressed(_GdkEventKey*) at /usr/src/debug/rawtherapee-5.8-1.fc31.x86_64/rtgui/filebrowser.cc:1162
 #10 sigc::slot1<bool, _GdkEventKey*>::operator()(_GdkEventKey* const&) const at /usr/include/sigc++-2.0/sigc++/functors/slot_base.h:335
 #11 (anonymous namespace)::Widget_signal_key_press_event_callback(GtkWidget*, GdkEventKey*, void*) at widget.cc:1650

Comment 1 Facundo 2020-04-04 15:24:15 UTC
Created attachment 1676228 [details]
File: backtrace

Comment 2 Facundo 2020-04-04 15:24:17 UTC
Created attachment 1676229 [details]
File: core_backtrace

Comment 3 Facundo 2020-04-04 15:24:18 UTC
Created attachment 1676230 [details]
File: cpuinfo

Comment 4 Facundo 2020-04-04 15:24:20 UTC
Created attachment 1676231 [details]
File: dso_list

Comment 5 Facundo 2020-04-04 15:24:21 UTC
Created attachment 1676232 [details]
File: environ

Comment 6 Facundo 2020-04-04 15:24:22 UTC
Created attachment 1676233 [details]
File: limits

Comment 7 Facundo 2020-04-04 15:24:24 UTC
Created attachment 1676234 [details]
File: maps

Comment 8 Facundo 2020-04-04 15:24:26 UTC
Created attachment 1676235 [details]
File: mountinfo

Comment 9 Facundo 2020-04-04 15:24:27 UTC
Created attachment 1676236 [details]
File: open_fds

Comment 10 Facundo 2020-04-04 15:24:29 UTC
Created attachment 1676237 [details]
File: proc_pid_status

Comment 11 Mattia Verga 2020-04-04 16:23:48 UTC
Is it ok for you if I make this ticket publicly available, so that I can share the backtrace with upstream developers?

Comment 12 Facundo 2020-04-04 16:44:46 UTC
(In reply to Mattia Verga from comment #11)
> Is it ok for you if I make this ticket publicly available, so that I can
> share the backtrace with upstream developers?

Yes, sure! Go ahead. Thanks!

Comment 13 Mattia Verga 2020-04-05 16:44:53 UTC
Upstream has provided a patch that should solve this issue. I have build a patched release in my COPR testing repository at https://copr.fedorainfracloud.org/coprs/mattia/Rawtherapee-test/

Can you install the latest build from there (either enabling the COPR repository or downloading the RPM) and test if you see any crash still?

Comment 14 Facundo 2020-04-05 18:39:37 UTC
(In reply to Mattia Verga from comment #13)
> Upstream has provided a patch that should solve this issue. I have build a
> patched release in my COPR testing repository at
> https://copr.fedorainfracloud.org/coprs/mattia/Rawtherapee-test/
> 
> Can you install the latest build from there (either enabling the COPR
> repository or downloading the RPM) and test if you see any crash still?

Works fine! I have been using the build from COPR for more than an hour with not a single crash. Thanks!

Comment 15 Fedora Update System 2020-04-06 15:51:29 UTC
FEDORA-2020-45854a5531 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-45854a5531

Comment 16 Fedora Update System 2020-04-07 03:10:05 UTC
FEDORA-2020-45854a5531 has been pushed to the Fedora 31 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-45854a5531`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-45854a5531

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 17 Fedora Update System 2020-04-15 20:32:54 UTC
FEDORA-2020-45854a5531 has been pushed to the Fedora 31 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.