Bug 2227538

Summary: [abrt] bottles: __pthread_rwlock_rdlock_full64(): python3.11 killed by SIGSEGV
Product: [Fedora] Fedora Reporter: Ricardo Ramos <delacosta610>
Component: bottlesAssignee: Sandro <gui1ty>
Status: ASSIGNED --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 37CC: ego.cordatus, gui1ty, mail, maxwell, thunderbirdtr, walter.pete
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/dd590a7c94e7ea832da625e9438b3cdf4423d752
Whiteboard: abrt_hash:6db5f6c0947ec6dc4aad65d48ee90ef23b38c035;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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: backtrace
none
File: core_backtrace
none
File: cpuinfo
none
File: environ
none
File: exploitable
none
File: limits
none
File: maps
none
File: mountinfo
none
File: open_fds
none
File: proc_pid_status
none
Bottles screenshot none

Description Ricardo Ramos 2023-07-30 15:04:42 UTC
Description of problem:
The RPM version of Bottles is not working, it always says it's incomplete or there are missing packages.

Version-Release number of selected component:
bottles-1:51.6-1.fc37

Additional info:
reporter:       libreport-2.17.11
backtrace_rating: 4
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-com.usebottles.bottles-4591.scope
cmdline:        /usr/bin/python3 /usr/bin/bottles
crash_function: __pthread_rwlock_rdlock_full64
dso_list:       /usr/bin/python3.11 python3-3.11.4-1.fc37.x86_64 (Fedora Project) 1688335346
executable:     /usr/bin/python3.11
journald_cursor: s=56fdfd3c841349a4acda2ab3258b2d8a;i=102a7;b=31a76ca93fd94221bfd5e2f3d2402d93;m=209c8561;t=601b5824d18db;x=c87b09549b8e499c
kernel:         6.4.6-100.fc37.x86_64
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 __pthread_rwlock_rdlock_full64 at /usr/src/debug/glibc-2.36-9.fc37.x86_64/nptl/pthread_rwlock_common.c:298
 #1 ___pthread_rwlock_rdlock at pthread_rwlock_rdlock.c:26
 #2 CRYPTO_THREAD_read_lock at crypto/threads_pthread.c:97
 #3 ossl_lib_ctx_get_data at crypto/context.c:377
 #4 ossl_namemap_stored at crypto/core_namemap.c:470
 #5 evp_names_do_all at crypto/evp/evp_fetch.c:687
 #6 EVP_KEYMGMT_names_do_all at crypto/evp/keymgmt_meth.c:302
 #7 get_legacy_alg_type_from_keymgmt at crypto/evp/pmeth_lib.c:157
 #8 int_ctx_new at crypto/evp/pmeth_lib.c:297
 #9 evp_md_ctx_new_ex at crypto/evp/digest.c:112

Comment 1 Ricardo Ramos 2023-07-30 15:04:46 UTC
Created attachment 1980711 [details]
File: backtrace

Comment 2 Ricardo Ramos 2023-07-30 15:04:48 UTC
Created attachment 1980712 [details]
File: core_backtrace

Comment 3 Ricardo Ramos 2023-07-30 15:04:49 UTC
Created attachment 1980713 [details]
File: cpuinfo

Comment 4 Ricardo Ramos 2023-07-30 15:04:51 UTC
Created attachment 1980714 [details]
File: environ

Comment 5 Ricardo Ramos 2023-07-30 15:04:52 UTC
Created attachment 1980715 [details]
File: exploitable

Comment 6 Ricardo Ramos 2023-07-30 15:04:53 UTC
Created attachment 1980716 [details]
File: limits

Comment 7 Ricardo Ramos 2023-07-30 15:04:54 UTC
Created attachment 1980717 [details]
File: maps

Comment 8 Ricardo Ramos 2023-07-30 15:04:56 UTC
Created attachment 1980718 [details]
File: mountinfo

Comment 9 Ricardo Ramos 2023-07-30 15:04:57 UTC
Created attachment 1980719 [details]
File: open_fds

Comment 10 Ricardo Ramos 2023-07-30 15:04:58 UTC
Created attachment 1980720 [details]
File: proc_pid_status

Comment 11 Sandro 2023-07-30 15:23:56 UTC
Thanks for the bug report.

Could you provide the steps to reproduce the issue?

Comment 12 Ricardo Ramos 2023-08-03 02:33:45 UTC
(In reply to Sandro from comment #11)

> Could you provide the steps to reproduce the issue?

This is the message that appears, along with an screenshot of the message, it's in spanish:

"This version of Bottles doesn't seem to provide all core dependencies needed, please contact the package maintainer or use an official version."

Comment 13 Ricardo Ramos 2023-08-03 02:35:38 UTC
Created attachment 1981387 [details]
Bottles screenshot

Comment 14 Sandro 2023-08-03 12:59:25 UTC
Since this happens right after start, do you get any errors when starting bottles in a terminal?

As a general note (to others reading this bug), Bottles has dependencies provided by RPMFusion. So, the rpmfusion-nonfree repo needs to be enabled. Although this should be obvious when installing the package.

Comment 15 Ricardo Ramos 2023-08-07 13:35:47 UTC
(In reply to Sandro from comment #14)
> Since this happens right after start, do you get any errors when starting
> bottles in a terminal?

This is the output, the app doesn't work that way either, so the problem seems to be that the package "ImageMagick" was not installed, however, installing bottles should install that package as well but it's omitting in, I installed the package manually and Bottles is working again:

08:20:09 (ERROR) Core dependency ImageMagick not found, Bottles can't be started. 
08:20:09 (INFO) Bottles Started! 
08:20:12 (INFO) Performing Bottles checks… 
08:20:13 (INFO) Catalog dependencies loaded 
08:20:13 (INFO) Catalog installers loaded 
08:20:14 (INFO) Catalog components loaded

Comment 16 Sandro 2023-08-11 06:50:33 UTC
Thanks for the info. I'll discuss with upstream after my vacation. I'm glad you have it working now.