We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 1905 - Stack smashing when playing midi file (forwarded from Debian)
Summary: Stack smashing when playing midi file (forwarded from Debian)
Status: RESOLVED FIXED
Alias: None
Product: SDL_mixer
Classification: Unclassified
Component: misc (show other bugs)
Version: 1.2.12
Hardware: x86_64 Linux
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-08 18:42 UTC by manuel.montezelo
Modified: 2013-06-08 20:36 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description manuel.montezelo 2013-06-08 18:42:15 UTC
Hello,

I am forwarding this bug from Debian's bug tracking system.

It is difficult to summarise the whole thread, but basically Freedink (a game using SDL) aborts when trying to play a midi file due to stack smashing protection functions, GCC fortifying options.

There is more information, including backtraces with files and lines where this is triggered, midi files and instructions on how to reproduce.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=694260

You can ask more information to the submitters, emails available there.

Regards.
Comment 1 Sam Lantinga 2013-06-08 20:36:46 UTC
Yep, that midi file has more than 16 channels.

This should be fixed, thanks!
http://hg.libsdl.org/SDL_mixer/rev/0ff9b7b8ba7b