#36264 [Opn->Csd]: segmentation fault on GtkMessageDialog
| From: | pablo@php.net | Date: | Thu, 02 Feb 2006 20:25:59 +0000 |
| Subject: | #36264 [Opn->Csd]: segmentation fault on GtkMessageDialog | ||
| References: | 1 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-2325@lists.php.net to get a copy of this message | ||
ID: 36264
User updated by: pablo@php.net
Reported By: pablo@php.net
-Status: Open
+Status: Closed
Bug Type: PHP-GTK related
Operating System: Linux Ubuntu Breezy
-PHP Version: 5.1.2
+PHP Version: 5.1.1
New Comment:
worked with a fresh CVS checkout
thanks.
Previous Comments:
------------------------------------------------------------------------
[2006-02-02 20:03:12] cweiske@php.net
it works fine for me with php 5.1.1 and the latest cvs snapshot. no
crash, and if I add a second line $dialog->run(), the dialog appears.
------------------------------------------------------------------------
[2006-02-02 19:48:05] pablo@php.net
Description:
------------
The code below gives me a segmentation fault when using
GtkMessageDialog... I know that I forgot the last parameter (the
message), but an error message should shown instead.
Reproduce code:
---------------
<?
$dialog = new GtkMessageDialog(null, Gtk::DIALOG_MODAL,
Gtk::MESSAGE_ERROR, Gtk::BUTTONS_OK);
?>
Expected result:
----------------
an error message telling that I forgot the last parameter.
Actual result:
--------------
segmentation fault
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=36264&edit=1