php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #60530 PHP Execution doesn't terminate when using circular references and mnemonics
Submitted: 2011-12-15 11:27 UTC Modified: 2013-02-18 00:35 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: willyscheibel at gmx dot de Assigned:
Status: No Feedback Package: PHP-GTK related
PHP Version: Irrelevant OS: Ubuntu 11.10
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: willyscheibel at gmx dot de
New email:
PHP Version: OS:

 

 [2011-12-15 11:27 UTC] willyscheibel at gmx dot de
Description:
------------
Used php-gtk: trunk at 2011-12-11

The provided script could be parametrized with the defines in the first lines.
I provide a version which shows the bug (define('SHOW_BUG', true)), another one, which avoids the bug (define('SHOW_BUG', false)) and another one, which presents a workaround (define('USE_WORKAROUND', true)).

The bug occurs when one uses menu entries with mnemonics in their names in conjunction with a circular reference in classes using php-gtk.
the bug doesn't occur if either the circular reference is resolved manually or if there isn't any menu entry with a mnemonic in its name.

Test script:
---------------
a minimal script which reproduces the bug is located at
http://tasteful-revolution.net/bug.php.txt

Expected result:
----------------
When I close the window, the script should terminate normally.

Actual result:
--------------
When I close the window, the script doesn't terminate but leaves the gtk main loop.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-12-19 16:57 UTC] willyscheibel at gmx dot de
Changed used OS
 [2011-12-19 16:57 UTC] willyscheibel at gmx dot de
-Operating System: Ubuntu 10.10 +Operating System: Ubuntu 11.10
 [2012-07-18 17:59 UTC] auroraeosrose@php.net
-Status: Open +Status: Feedback
 [2012-07-18 17:59 UTC] auroraeosrose@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.


I can't reproduce this with the current code from 

https://git.php.net/repository/php/gtk-src.git

with PHP 5.3 or 5.4

1. are you using a distribution build of PHP? ubuntu puts patches on PHP source
2. does this still occur with the newer version of php-gtk code?
3. what version of the gtk libraries are you using?
 [2013-02-18 00:35 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 07:01:29 2024 UTC