[AD] [alleg:bugs] #347 Heap Corruption in Example 'ex_menu'

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]



[bugs:#347] Heap Corruption in Example 'ex_menu'

Status: closed
Labels: Tools and Examples
Created: Wed Jan 18, 2012 11:03 PM UTC by Expandable
Last Updated: Tue Oct 09, 2012 04:20 PM UTC
Owner: nobody

Environment: Windows 7, x64
Allegro SVN version, branch: 5.1, revision 15193
Visual Studio 2010 SP1, complete rebuild in RelWithDebInfo configuration

Start ex_menu with the debugger attached. Right-click to open the context menu and choose open (alternatively, click on File->Open). Close the window that is opened. Use the context menu or the window menu again to reopen the window. The application now crashes and Visual Studio shows the following warning every time (of course, the address changes; note that no further information is provided and the location in code is always different):

HEAP[ex_menu.exe]: HEAP: Free Heap block 2d915a0 modified at 2d917c8 after it was freed
Windows has triggered a breakpoint in ex_menu.exe.

This may be due to a corruption of the heap, which indicates a bug in ex_menu.exe or any of the DLLs it has loaded.

This may also be due to the user pressing F12 while ex_menu.exe has focus.

The output window may have more diagnostic information.


Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/alleg/bugs/347/

To unsubscribe from further messages, please visit https://sourceforge.net/auth/prefs/



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/