Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 151991 - memory violation on libsdl - audio
Summary: memory violation on libsdl - audio
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-19 11:34 UTC by Tupone Alfredo
Modified: 2006-10-27 12:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
libsdl-1.2.11-audioConv.patch (libsdl-1.2.11-audioConv.patch,454 bytes, patch)
2006-10-19 11:35 UTC, Tupone Alfredo
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tupone Alfredo gentoo-dev 2006-10-19 11:34:29 UTC
libsdl segfault when accessing audio, while doing an implicit conversion from the user format to the driver format, if the conversion increase the size of the stream.
I tested it with bzflag, alsa and dmix.
The fix hereafter fix the fault.
It does not fix the sound, as the conversion is not good enough, but at least I can hear an "accelerated' sound without any memory problem.

patch will follow
Comment 1 Tupone Alfredo gentoo-dev 2006-10-19 11:35:26 UTC
Created attachment 100034 [details, diff]
libsdl-1.2.11-audioConv.patch
Comment 2 Tupone Alfredo gentoo-dev 2006-10-27 12:37:41 UTC
Applied to portage. Thanks :)