Bug 1597317 - [abrt] trojita: gpgme_key_unref(): trojita killed by SIGSEGV
Summary: [abrt] trojita: gpgme_key_unref(): trojita killed by SIGSEGV
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: trojita
Version: 28
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Raphael Groner
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:d0942f0d7ca3248e1c3a40bc0bf...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-07-02 14:52 UTC by Karel Volný
Modified: 2018-12-18 09:27 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-12-17 14:37:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (78.91 KB, text/plain)
2018-07-02 14:52 UTC, Karel Volný
no flags Details
File: cgroup (195 bytes, text/plain)
2018-07-02 14:52 UTC, Karel Volný
no flags Details
File: core_backtrace (38.49 KB, text/plain)
2018-07-02 14:52 UTC, Karel Volný
no flags Details
File: cpuinfo (1.33 KB, text/plain)
2018-07-02 14:52 UTC, Karel Volný
no flags Details
File: dso_list (22.52 KB, text/plain)
2018-07-02 14:52 UTC, Karel Volný
no flags Details
File: environ (1.61 KB, text/plain)
2018-07-02 14:52 UTC, Karel Volný
no flags Details
File: exploitable (135 bytes, text/plain)
2018-07-02 14:52 UTC, Karel Volný
no flags Details
File: limits (1.29 KB, text/plain)
2018-07-02 14:52 UTC, Karel Volný
no flags Details
File: maps (96.10 KB, text/plain)
2018-07-02 14:52 UTC, Karel Volný
no flags Details
File: mountinfo (3.17 KB, text/plain)
2018-07-02 14:52 UTC, Karel Volný
no flags Details
File: open_fds (2.34 KB, text/plain)
2018-07-02 14:52 UTC, Karel Volný
no flags Details
File: proc_pid_status (1.30 KB, text/plain)
2018-07-02 14:52 UTC, Karel Volný
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1381577 0 unspecified CLOSED [abrt] trojita: gpgme_key_unref(): trojita killed by SIGSEGV 2021-02-22 00:41:40 UTC

Internal Links: 1381577

Description Karel Volný 2018-07-02 14:52:24 UTC
Description of problem:
I was deleting messages.

Version-Release number of selected component:
trojita-0.7-12.fc28

Additional info:
reporter:       libreport-2.9.5
backtrace_rating: 4
cmdline:        /usr/bin/trojita
crash_function: gpgme_key_unref
executable:     /usr/bin/trojita
journald_cursor: s=c517a593197e413c8314732fdc844b35;i=1c1169;b=15a442c7dd9b486d8716b40f64216309;m=2d540faee;t=5700547cd87ce;x=9c3367ed12b9acbd
kernel:         4.17.3-200.fc28.x86_64
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (6 frames)
 #0 gpgme_key_unref at key.c:333
 #1 boost::detail::sp_counted_base::release at /usr/include/boost/smart_ptr/detail/sp_counted_base_std_atomic.hpp:110
 #2 boost::detail::shared_count::~shared_count at /usr/include/boost/smart_ptr/detail/shared_count.hpp:426
 #3 boost::shared_ptr<_gpgme_key>::~shared_ptr at /usr/include/boost/smart_ptr/shared_ptr.hpp:341
 #4 GpgME::Key::~Key at /usr/include/KF5/gpgme++/key.h:55
 #5 Cryptography::GpgMePart::extractSignatureStatus(std::shared_ptr<GpgME::Context>, GpgME::Signature const&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, bool, bool, bool&, bool&, bool&, QString&, QString&, QString&, QString&, QDateTime&) at /usr/src/debug/trojita-0.7-12.fc28.x86_64/src/Cryptography/GpgMe++.cpp:324

Comment 1 Karel Volný 2018-07-02 14:52:29 UTC
Created attachment 1455970 [details]
File: backtrace

Comment 2 Karel Volný 2018-07-02 14:52:31 UTC
Created attachment 1455971 [details]
File: cgroup

Comment 3 Karel Volný 2018-07-02 14:52:33 UTC
Created attachment 1455972 [details]
File: core_backtrace

Comment 4 Karel Volný 2018-07-02 14:52:34 UTC
Created attachment 1455973 [details]
File: cpuinfo

Comment 5 Karel Volný 2018-07-02 14:52:35 UTC
Created attachment 1455974 [details]
File: dso_list

Comment 6 Karel Volný 2018-07-02 14:52:37 UTC
Created attachment 1455975 [details]
File: environ

Comment 7 Karel Volný 2018-07-02 14:52:38 UTC
Created attachment 1455976 [details]
File: exploitable

Comment 8 Karel Volný 2018-07-02 14:52:39 UTC
Created attachment 1455977 [details]
File: limits

Comment 9 Karel Volný 2018-07-02 14:52:42 UTC
Created attachment 1455978 [details]
File: maps

Comment 10 Karel Volný 2018-07-02 14:52:43 UTC
Created attachment 1455979 [details]
File: mountinfo

Comment 11 Karel Volný 2018-07-02 14:52:44 UTC
Created attachment 1455980 [details]
File: open_fds

Comment 12 Karel Volný 2018-07-02 14:52:46 UTC
Created attachment 1455981 [details]
File: proc_pid_status

Comment 13 Raphael Groner 2018-09-03 23:16:46 UTC
Reassigning according to provided backtrace.

Comment 14 Igor Raits 2018-09-04 08:54:57 UTC
I'm not so into C++, but this seems like issue in trojita which is not holding some reference long enough which causes crash.

Comment 15 Jan Kundrát 2018-09-06 15:40:49 UTC
(Trojita upstream here.)

We're using the C++ bindings for gpgme. That thing is expected to provide a refcounted copy of everything to the callers. I tried to track this down a long time ago, but even with ASAN and stuff, I just wasn't able to pinpoint the real cause. Sorry, I cannot reproduce that on my system :(.

Comment 16 Raphael Groner 2018-09-06 17:39:08 UTC
Jan, thanks for your statement.
Then, I tend to close here with the resolution WORKSFORME. But let's wait at least for the EOL notification of the F28 branch that should arrive shortly with upcoming freeze for F29.

@Reporter Is this issue still reproducible for you?

Comment 17 Raphael Groner 2018-12-17 14:37:34 UTC
No reply any more and so far.

Comment 18 Karel Volný 2018-12-18 09:27:59 UTC
(In reply to Raphael Groner from comment #16)
> @Reporter Is this issue still reproducible for you?

I don't remember seeing _any_ trojitá crash for a few months (since upgrade to F29?)


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