Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1873115

Summary: Mirage crashes Python
Product: [Fedora] Fedora Reporter: Ifejika Somtochukwu <noblesomto1>
Component: mirageAssignee: Mamoru TASAKA <mtasaka>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: mtasaka, onyeibo, usdanskys
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: mirage-0.9.5.2-30.fc32 mirage-0.9.5.2-30.fc33 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-18 16:14:39 UTC Type: Bug
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
Stack Trace
none
contents of /var/spool/abrt ccpp... after mirage-0.9.5.2-29.fc33.x86_64 crash
none
gdb log for mirae crash none

Description Ifejika Somtochukwu 2020-08-27 12:16:47 UTC
Created attachment 1712814 [details]
Stack Trace

Description of problem: 
Mirage does not execute. (Segfaults with core dump).  However, coredump points to Python 3.9 in the repository


Version-Release number of selected component (if applicable): 
0.9.5.2-29.fc33


How reproducible:
Certain —  as of the time of this report


Steps to Reproduce:
1. Install Mirage from Repo (rawhide)
2. execute mirage from a terminal
3. *crash*

Actual results:
Segfault (core dumped)

Expected results: 
A running Mirage


Additional info:
coredumpctl lists latest coredump as pointing to /usr/bin/python3.9.

Comment 1 Onyeibo Oku 2020-08-27 13:23:01 UTC
I was able to replicate this issue on my machine.  @noblesomto can you provide a coredump?

Comment 2 Ifejika Somtochukwu 2020-08-27 13:43:18 UTC
The coredump exceed the limits for attachements -- 48MB.

Comment 3 Steven Usdansky 2020-09-09 14:05:35 UTC
Created attachment 1714285 [details]
contents of /var/spool/abrt ccpp... after mirage-0.9.5.2-29.fc33.x86_64 crash

I hope this contains the relevant information.

Comment 4 Mamoru TASAKA 2020-09-09 14:13:30 UTC
Created attachment 1714289 [details]
gdb log for mirae crash

gdb log when mirage crashes.

So:

* python3.9 is actually causing segfault at: https://github.com/python/cpython/blob/3.9/Objects/unicodeobject.c#L2718
* On the other hand, there seems some incompatibility between python up to 3.8 and 3.9, about how to register C module? Looks like importing "xmouse" cpython module is failing due to some change in python??

Comment 5 Mamoru TASAKA 2020-09-09 15:26:16 UTC
Okay, looks like I've found the cause...

Comment 6 Fedora Update System 2020-09-09 15:36:24 UTC
FEDORA-2020-7090f94d4e has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-7090f94d4e

Comment 7 Fedora Update System 2020-09-09 15:36:35 UTC
FEDORA-2020-05e178307e has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-05e178307e

Comment 8 Mamoru TASAKA 2020-09-10 01:58:22 UTC
For people using Fedora 33 and wanting to try the fixed rpm right now, visit:

https://koji.fedoraproject.org/koji/buildinfo?buildID=1608086

and install the rpm. Thank you.

Comment 9 Fedora Update System 2020-09-10 15:48:34 UTC
FEDORA-2020-7090f94d4e has been pushed to the Fedora 33 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-7090f94d4e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-7090f94d4e

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

Comment 10 Fedora Update System 2020-09-10 18:25:59 UTC
FEDORA-2020-05e178307e has been pushed to the Fedora 32 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-05e178307e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-05e178307e

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

Comment 11 Ifejika Somtochukwu 2020-09-15 15:03:20 UTC
I have updated Mirage and its working as it should, Thank you

Comment 12 Fedora Update System 2020-09-18 16:14:39 UTC
FEDORA-2020-05e178307e has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 13 Fedora Update System 2020-09-25 16:53:53 UTC
FEDORA-2020-7090f94d4e has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.