php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #36264 segmentation fault on GtkMessageDialog
Submitted: 2006-02-02 19:48 UTC Modified: 2006-02-02 21:25 UTC
From: pablo@php.net Assigned:
Status: Closed Package: PHP-GTK related
PHP Version: 5.1.1 OS: Linux Ubuntu Breezy
Private report: No CVE-ID: None
 [2006-02-02 19:48 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-02-02 20:03 UTC] 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 21:25 UTC] pablo@php.net
worked with a fresh CVS checkout
thanks.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 12:01:31 2024 UTC