|  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: 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.
Block user comment
Status: Assign to:
Bug Type:
New email:
PHP Version: OS:


 [2006-02-02 19:48 UTC]
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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-02-02 20:03 UTC]
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]
worked with a fresh CVS checkout
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jul 22 15:01:29 2024 UTC