[Wgui-general] strange bug
Status: Beta
Brought to you by:
greenwire
From: Rob W. <ro...@bo...> - 2004-08-03 20:35:02
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I've found what I think is possibly a bug in SDL's memory management. It appears as a crashing bug in TestApp1, when you right click to bring up a context menu, and select the "Edit Box 1" submenu (CVS prior to 8/3/2004). The crash happens while it's trying to resize the popup menu it's about to show, and it's deleting the old buffer for that window. This is extremely hard to debug, but I think it may be that the root popup menu is screwing up some of the memory when it's resized for showing. I removed the "Menu Item 3" from the root menu, and things appear to now work. Something to keep an eye out for in the future. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (MingW32) - WinPT 0.9.2 iD8DBQFBD/bv1TzhIJYemRgRAtCwAKCTCGfRZVJmR0rW+OUDatTcY1wquwCguYJ7 HPpui4KZ8HWEKIM0TDklKg0= =snm6 -----END PGP SIGNATURE----- |