Bug 30221

Summary: m64py (mupen frontend) segfaults at launch
Product: Mageia Reporter: Thomas Bigot <thomas.bigot>
Component: RPM PackagesAssignee: Rémi Verschelde <rverschelde>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal    
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: m64py-0.2.5-3.mga9.src.rpm CVE:
Status comment:

Description Thomas Bigot 2022-03-30 14:00:05 CEST
Description of problem:
When trying to launch m64py, I get a segfault

Version-Release number of selected component (if applicable):
0.2.5-3

How reproducible:
always

Steps to Reproduce:
1. run m64py
2. you get a “Aborted (core dumped)” message

I can attach the dumped core if needed.
Comment 1 sturmvogel 2022-03-30 14:28:38 CEST
$ LC_ALL=C m64py
 __  __                         __   _  _   ____  _            
|  \/  |_   _ _ __   ___ _ __  / /_ | || | |  _ \| |_   _ ___  
| |\/| | | | | '_ \ / _ \ '_ \| '_ \| || |_| |_) | | | | / __| 
| |  | | |_| | |_) |  __/ | | | (_) |__   _|  __/| | |_| \__ \ 
|_|  |_|\__,_| .__/ \___|_| |_|\___/   |_| |_|   |_|\__,_|___/ 
             |_|                                               

M64Py - A frontend for Mupen64Plus version 0.2.5

Frontend: DEBUG: Loaded libGL.so => libGL.so.1 <CDLL 'libGL.so.1', handle 1cd71f0 at 0x7f383743b340>
Frontend: INFO: OpenGL_accelerate module loaded
Frontend: INFO: Using accelerated ArrayDatatype
Frontend: INFO: attached to library 'Mupen64Plus Core' version 2.5.9
Frontend: INFO: includes support for Dynamic Recompiler.
Core: Couldn't open configuration file '/home/cauldron/.config/mupen64plus/mupen64plus.cfg'.  Using defaults.
Core: No version number in 'Core' config section. Setting defaults.
Core: No version number in 'CoreEvents' config section. Setting defaults.
Core: Using full mem base
Frontend: INFO: video extension enabled
RSP: No version number in 'Rsp-HLE' config section. Setting defaults.
Video: No version number in 'Rice-Video' config section. Setting defaults.
Video: Old parameter config version detected : 0, updating to 1;
Audio: No version number in 'Audio-SDL' config section. Setting defaults.
Input: Missing or incompatible config section 'Input-SDL-Control1'. Clearing.
Input: Missing or incompatible config section 'Input-SDL-Control2'. Clearing.
Input: Missing or incompatible config section 'Input-SDL-Control3'. Clearing.
Input: Missing or incompatible config section 'Input-SDL-Control4'. Clearing.
Input: Using auto-config file at: '/usr/share/mupen64plus/InputAutoCfg.ini'
Unhandled Python exception
Abgebrochen (Speicherabzug geschrieben)




The configfile in home directory is not created, so the program crashes.
Comment 2 Lewis Smith 2022-03-31 20:34:08 CEST
Thank you Thomas for reporting this, and sturmvogel for confirming it - and pointing to 'why'; which looks like a packaging issue.

Assigning this to Rémi who looks after this SRPM.

Assignee: bugsquad => rverschelde

Comment 3 Rémi Verschelde 2022-04-01 00:57:56 CEST
Thanks for the report.

This is this upstream bug, version 0.2.5 is not compatible with Python 3.10:
https://github.com/mupen64plus/mupen64plus-ui-python/issues/191

I packaged a Git snapshot which fixes it as m64py-0.2.5-4.20211222.1.mga9.

Resolution: (none) => FIXED
Status: NEW => RESOLVED