#41843 [Opn->Csd]: Set text on cloned GtkLabel gives segmentation fault

From: Date: Mon, 10 Mar 2008 19:44:07 +0000
Subject: #41843 [Opn->Csd]: Set text on cloned GtkLabel gives segmentation fault
References: 1  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-4179@lists.php.net to get a copy of this message
ID: 41843 Updated by: auroraeosrose@php.net Reported By: john dot navratil at sbcglobal dot net -Status: Open +Status: Closed Bug Type: PHP-GTK related Operating System: Fedora 7 PHP Version: 5.2.3 New Comment: This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. an attempted clone operation will now produce a fatal error instead of segfaulting - don't clone gtk objects ;) Previous Comments: ------------------------------------------------------------------------ [2007-08-16 19:03:24] m dot quinton at gmail dot com clone operation is not supported by actual php-gtk. ------------------------------------------------------------------------ [2007-08-16 13:19:15] vrana@php.net Please document this in PHP-GTK documentation. ------------------------------------------------------------------------ [2007-06-29 01:13:30] sfox@php.net John has a point. Putting it onto the docs folk. (Sorry docs folk.) ------------------------------------------------------------------------ [2007-06-29 00:27:31] john dot navratil at sbcglobal dot net Fair enough! I assumed as much and will look forward to object cloning in the future. Meanwhile, we might wish to review the docs at "language.oop5.cloning.php" which refers to cloning GTK (not +) windows. It might also be a reasonable idea to implement the clone methods to throw an Exception("Cloning not supported") in the meantime. A segmentation fault is a bit of a foul, don't you think? I know it's beta software and I'm sure there is plenty to do. Many thanks for what has been provided to date. ------------------------------------------------------------------------ [2007-06-28 17:54:25] anant@php.net Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php Cloning is not supported in PHP-GTK yet. We\'re hoping to resolve this soon. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/41843 -- Edit this bug report at http://bugs.php.net/?id=41843&edit=1

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