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

Summary: Stack smashing when playing midi file (forwarded from Debian)
Product: SDL_mixer Reporter: manuel.montezelo
Component: miscAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: 1.2.12   
Hardware: x86_64   
OS: Linux   

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