Bug 137998 - fluidsynth crashes on 64-bit architectures
Summary: fluidsynth crashes on 64-bit architectures
Status: RESOLVED FIXED
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Sound (show other bugs)
Version: unspecified
Hardware: 64bit Linux
: P5 - None : Critical (vote)
Target Milestone: ---
Assignee: Takashi Iwai
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-12 08:03 UTC by Torsten Duwe
Modified: 2005-12-12 17:46 UTC (History)
0 users

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
beneficial one-liner (476 bytes, patch)
2005-12-12 08:04 UTC, Torsten Duwe
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.