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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

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-2025 The PHP Group
All rights reserved.
Last updated: Fri May 09 05:01:27 2025 UTC