#36264 [Opn]: segmentation fault on GtkMessageDialog

From: Date: Thu, 02 Feb 2006 19:03:13 +0000
Subject: #36264 [Opn]: segmentation fault on GtkMessageDialog
References: 1  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-2323@lists.php.net to get a copy of this message
ID: 36264 Updated by: cweiske@php.net Reported By: pablo@php.net Status: Open Bug Type: PHP-GTK related Operating System: Linux Ubuntu Breezy PHP Version: 5.1.2 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [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

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