[AD] [ alleg-Bugs-3475650 ] Heap Corruption in Example 'ex_menu'

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

Bugs item #3475650, was opened at 2012-01-18 15:03
Message generated for change (Tracker Item Submitted) made by expandable
You can respond by visiting: 

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Tools and Examples
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Expandable (expandable)
Assigned to: Nobody/Anonymous (nobody)
Summary: Heap Corruption in Example 'ex_menu'

Initial Comment:
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.


You can respond by visiting: 

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