Re: GtkTreeIter::free() double free

From: Date: Tue, 03 Oct 2006 23:19:31 +0000
Subject: Re: GtkTreeIter::free() double free
References: 1  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-3462@lists.php.net to get a copy of this message
Yeah, you're right. I am nto sure why PyGtk had these methods. They should be gone now. -Andrei On Oct 3, 2006, at 1:38 PM, Scott Mattocks wrote:
I ran this from the command line: $> php -r '$model = new GtkTreeStore(Gtk::TYPE_LONG); $iter = $model->append(null, array(1)); $iter->free();' And got a big ol' glibc dump. *** glibc detected *** php: double free or corruption (fasttop): 0x0a153a40 *** ======= Backtrace: ========= /lib/libc.so.6[0x4631e0] /lib/libc.so.6(__libc_free+0x77)[0x46372b] /usr/local/php-gtk/lib/libglib-2.0.so.0(g_free+0x22)[0x594e7a] /usr/local/php-gtk/lib/libgtk-x11-2.0.so.0(gtk_tree_iter_free+0x21)[0x8d2de1] /usr/local/php-gtk/lib/libgobject-2.0.so.0(g_boxed_free+0xb8)[0x3b1d3c] /usr/local/lib/php/extensions/debug-non-zts-20050922/php_gtk2.so[0xf972d8] php(zend_objects_store_del_ref+0x81)[0x8262ecd] php(_zval_ptr_dtor+0x66)[0x823fc9e] ... Do we even need GtkTreeIter::free()? Thanks, Scott --PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.gtk.dev (#3462) next »