Bug 2259477

Summary: [abrt] xca: segv_handler_gui(): xca killed by SIGABRT
Product: [Fedora] Fedora Reporter: Logan Brunkhorst <loganb>
Component: xcaAssignee: Patrick Monnerat <patrick>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 39CC: loganb, patrick, paul.wouters, rh-bugzilla
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/f9f1369430389dbbe752f5fe5af6b8943ca3b58
Whiteboard: abrt_hash:b5771c6b5955fe81bbcc0f340b6fcacafafbef6c;VARIANT_ID=workstation;
Fixed In Version: xca-2.5.0-3.fc39 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-02-04 01:59:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: proc_pid_status
none
File: maps
none
File: limits
none
File: environ
none
File: mountinfo
none
File: os_info
none
File: cpuinfo
none
File: core_backtrace
none
File: dso_list
none
File: var_log_messages
none
File: backtrace
none
File: open_fds none

Description Logan Brunkhorst 2024-01-22 05:00:25 UTC
Description of problem:
Attempted to delete a revoked cert after renewing it. My guess is that the UI had not updated to refelect the old cert's status and I was trying to delete a cert that wasn't there. 

Version-Release number of selected component:
xca-2.5.0-1.fc39

Additional info:
reporter:       libreport-2.17.11
type:           CCpp
reason:         xca killed by SIGABRT
journald_cursor: s=7a1a9d153a1743eeaecd59b6e98d25e4;i=46c237;b=e9fe075f3f83487395bf035986d801f4;m=170dc013;t=60f79923b2181;x=fcdc178708727135
executable:     /usr/bin/xca
cmdline:        /usr/bin/xca
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-xca-5783.scope
rootdir:        /
uid:            1000
kernel:         6.6.9-200.fc39.x86_64
package:        xca-2.5.0-1.fc39
runlevel:       N 5
backtrace_rating: 4
crash_function: segv_handler_gui
comment:        Attempted to delete a revoked cert after renewing it. My guess is that the UI had not updated to refelect the old cert's status and I was trying to delete a cert that wasn't there. 

Truncated backtrace:
Thread no. 1 (1 frames)
 #4 segv_handler_gui at /usr/src/debug/xca-2.5.0-1.fc39.x86_64/lib/main.cpp:58

Comment 1 Logan Brunkhorst 2024-01-22 05:00:29 UTC
Created attachment 2009596 [details]
File: proc_pid_status

Comment 2 Logan Brunkhorst 2024-01-22 05:00:31 UTC
Created attachment 2009597 [details]
File: maps

Comment 3 Logan Brunkhorst 2024-01-22 05:00:33 UTC
Created attachment 2009598 [details]
File: limits

Comment 4 Logan Brunkhorst 2024-01-22 05:00:35 UTC
Created attachment 2009599 [details]
File: environ

Comment 5 Logan Brunkhorst 2024-01-22 05:00:37 UTC
Created attachment 2009600 [details]
File: mountinfo

Comment 6 Logan Brunkhorst 2024-01-22 05:00:38 UTC
Created attachment 2009601 [details]
File: os_info

Comment 7 Logan Brunkhorst 2024-01-22 05:00:40 UTC
Created attachment 2009602 [details]
File: cpuinfo

Comment 8 Logan Brunkhorst 2024-01-22 05:00:43 UTC
Created attachment 2009603 [details]
File: core_backtrace

Comment 9 Logan Brunkhorst 2024-01-22 05:00:45 UTC
Created attachment 2009604 [details]
File: dso_list

Comment 10 Logan Brunkhorst 2024-01-22 05:00:47 UTC
Created attachment 2009605 [details]
File: var_log_messages

Comment 11 Logan Brunkhorst 2024-01-22 05:00:50 UTC
Created attachment 2009606 [details]
File: backtrace

Comment 12 Logan Brunkhorst 2024-01-22 05:00:51 UTC
Created attachment 2009607 [details]
File: open_fds

Comment 13 Logan Brunkhorst 2024-01-22 05:31:13 UTC
Upon further review, this is an issue with the XCA application. Found related issue here...

https://github.com/chris2511/xca/issues/493


Closing.

Comment 14 Patrick Monnerat 2024-01-25 08:17:50 UTC
> this is an issue with the XCA application.

Yes it is, however we may try to patch it here anyway! Patch submitted upstream at https://github.com/chris2511/xca/pull/507.
Reopening bug report and let's see if the next package version in testing repo fixes this for you.

Comment 15 Fedora Update System 2024-01-25 08:20:20 UTC
FEDORA-2024-0fa72d0bf2 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2024-0fa72d0bf2

Comment 16 Fedora Update System 2024-01-26 01:05:44 UTC
FEDORA-2024-0fa72d0bf2 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-0fa72d0bf2`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-0fa72d0bf2

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

Comment 17 Logan Brunkhorst 2024-01-27 02:17:25 UTC
Confirmed that the next package version (xca.x86_64 2.5.0-3.fc39 @updates-testing) resolves this issue. I was able to renew a certificate and check both the Revoke old certificate and Replace old certificate check box without xca crashing.

Comment 18 Fedora Update System 2024-02-04 01:59:36 UTC
FEDORA-2024-0fa72d0bf2 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.