Re: Test case for "dopuble free or corruption" issue



At first glance, that looks very similar to a bug thats in bugzilla dealling with menus.  Last I looked, there wasn't a real fix.

The test would be to make the OptionEntry dynamically allocated and see if the double free's persist.

Paul

On 9/28/06, Russel Winder <russel russel org uk> wrote:
On Wed, 2006-09-27 at 20:31 +0200, Murray Cumming wrote:
> If you attach an actual test case, I will investigate.

Attached to this email is a small file that I think highlights that
adding an option group to a context has "issues".  With
SHOW_DATA_CORRUPTION_ISSUE set to 0 the program runs as expected, but
set to 1 (so thja the options.add_entry ( entry , version ) ; is
executed, then the result is:

*** glibc detected *** double free or corruption (fasttop): 0x0804b188
***
Aborted

I am using Ubuntu 6.06 LTS Dapper Drake so GTKmm is version:

ii  libgtkmm-2.4-1c2a             2.8.8-0ubuntu1                C++
wrappers for GTK+ 2.4 (shared libraries)

(clearly this is an old GTKmm so the bug may not be a bug any more as
far as GTKmm is concerned.)

--
Russel.
====================================================
Dr Russel Winder                +44 20 7585 2200
41 Buckmaster Road              +44 7770 465 077
London SW11 1EN, UK             russel russel org uk


_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]