Bug 1951906

Summary: TiMidity crashes when using alsa output and please update to newest version
Product: [Fedora] Fedora Reporter: Simon Putt <lemonzest>
Component: timidity++Assignee: Hans de Goede <hdegoede>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 34CC: chkr, hdegoede, jnovy, nemesis, oget.fedora, pystanis
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-15 13:46:51 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:

Description Simon Putt 2021-04-21 07:40:23 UTC
Description of problem:

TiMidity++ crashes when using the output -Os (ALSA) think this is related to LTO as the version from f32 does not crash. 

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

timidity++-2.14.0-22.fc34

How reproducible:

Always

Steps to Reproduce:
1. Install TiMidity++
2. Run is it timidity -Os midifile.mid
3.

Actual results:

Crash

Expected results:

Music to be played

Additional info:

So could this be built without LTO? I have also noticed in other distro like arch/suse that it is updated to 2.15?? could we also have an update to the latest version.

Many thanks

Comment 1 Simon Putt 2021-05-26 13:26:26 UTC
Any news one this? Thanks.

Comment 2 Patrick Stanistreet 2021-11-11 17:47:17 UTC
this is on fc35  recent install  amd cpu

timidity  -in -Os  file.mid

Segmentation fault (core dumped) 1995,1999-2004 Tuukka Toivonen, Masanao Izumo

oddly though this works

timidity -in -Oj   file.mid

ps aux  | grep timidity  
pstan      45347 35.6  0.2 350580 44124 pts/2    SLl+ 09:45   0:01 timidity -in -Oj AUD_HTX0922.mid

no sign of jack whatsoever

Comment 3 Hans de Goede 2021-11-15 13:46:51 UTC
Thank you for your bugreport.

I've prepared an update to the latest version for rawhide.

Unfortunately I've been unable to fix the alsa crash, this seems to be related to the move to pipewire, see bug 1993671.

Pipewire implements both pulseaudio and jack functionality. So as you've found out you can use -Oj to work around this. Or you can just use the default libao output (-OO) which natively talks to pulseaudio instead of going through the pulseaudio alsa plugin.