Bug 137998

Summary: fluidsynth crashes on 64-bit architectures
Product: [openSUSE] SUSE Linux 10.1 Reporter: Torsten Duwe <duwe>
Component: SoundAssignee: Takashi Iwai <tiwai>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Critical    
Priority: P5 - None    
Version: unspecified   
Target Milestone: ---   
Hardware: 64bit   
OS: Linux   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: beneficial one-liner

Description Torsten Duwe 2005-12-12 08:03:03 UTC
Hi Takashi!
One for you to happily start the week :-)

In a 64-bit environment, fluidsynth crashes as soon as it tries to use a 
sample, which totally defeats its purpose (->critical)

Besides some bogus compile warnings (SFZone.instsamp would look better as a union), one warning actually points at the problem. Pointer/Address arithmetics should be done on a data type large enough. Patch attached.
Comment 1 Torsten Duwe 2005-12-12 08:04:27 UTC
Created attachment 60255 [details]
beneficial one-liner
Comment 2 Takashi Iwai 2005-12-12 17:46:56 UTC
Thanks, fixed on STABLE.