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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: pablo@php.net
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2019 The PHP Group
All rights reserved.
Last updated: Tue Jul 16 16:01:26 2019 UTC