Bug 1951906 - TiMidity crashes when using alsa output and please update to newest version
Summary: TiMidity crashes when using alsa output and please update to newest version
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: timidity++
Version: 34
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Hans de Goede
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-21 07:40 UTC by Simon Putt
Modified: 2023-04-28 19:56 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-11-15 13:46:51 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.