[PHP-BUG] Bug #60530 [NEW]: PHP Execution doesn't terminate when using circular references and mnemonics

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[PHP-BUG] Bug #60530 [NEW]: PHP Execution doesn't terminate when using circular references and mnemonics

Guthrie at att dot net
From:            
Operating system: Ubuntu 10.10
PHP version:      Irrelevant
Package:          PHP-GTK related
Bug Type:         Bug
Bug description:PHP Execution doesn't terminate when using circular references and mnemonics

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.

--
Edit bug report at https://bugs.php.net/bug.php?id=60530&edit=1
--
Try a snapshot (PHP 5.4):            https://bugs.php.net/fix.php?id=60530&r=trysnapshot54
Try a snapshot (PHP 5.3):            https://bugs.php.net/fix.php?id=60530&r=trysnapshot53
Try a snapshot (trunk):              https://bugs.php.net/fix.php?id=60530&r=trysnapshottrunk
Fixed in SVN:                        https://bugs.php.net/fix.php?id=60530&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=60530&r=needdocs
Fixed in release:                    https://bugs.php.net/fix.php?id=60530&r=alreadyfixed
Need backtrace:                      https://bugs.php.net/fix.php?id=60530&r=needtrace
Need Reproduce Script:               https://bugs.php.net/fix.php?id=60530&r=needscript
Try newer version:                   https://bugs.php.net/fix.php?id=60530&r=oldversion
Not developer issue:                 https://bugs.php.net/fix.php?id=60530&r=support
Expected behavior:                   https://bugs.php.net/fix.php?id=60530&r=notwrong
Not enough info:                     https://bugs.php.net/fix.php?id=60530&r=notenoughinfo
Submitted twice:                     https://bugs.php.net/fix.php?id=60530&r=submittedtwice
register_globals:                    https://bugs.php.net/fix.php?id=60530&r=globals
PHP 4 support discontinued:          https://bugs.php.net/fix.php?id=60530&r=php4
Daylight Savings:                    https://bugs.php.net/fix.php?id=60530&r=dst
IIS Stability:                       https://bugs.php.net/fix.php?id=60530&r=isapi
Install GNU Sed:                     https://bugs.php.net/fix.php?id=60530&r=gnused
Floating point limitations:          https://bugs.php.net/fix.php?id=60530&r=float
No Zend Extensions:                  https://bugs.php.net/fix.php?id=60530&r=nozend
MySQL Configuration Error:           https://bugs.php.net/fix.php?id=60530&r=mysqlcfg


--
PHP-GTK Development Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply | Threaded
Open this post in threaded view
|

Bug #60530 [Opn]: PHP Execution doesn't terminate when using circular references and mnemonics

Guthrie at att dot net
Edit report at https://bugs.php.net/bug.php?id=60530&edit=1

 ID:                 60530
 User updated by:    willyscheibel at gmx dot de
 Reported by:        willyscheibel at gmx dot de
 Summary:            PHP Execution doesn't terminate when using circular
                     references and mnemonics
 Status:             Open
 Type:               Bug
 Package:            PHP-GTK related
-Operating System:   Ubuntu 10.10
+Operating System:   Ubuntu 11.10
 PHP Version:        Irrelevant
 Block user comment: N
 Private report:     N

 New Comment:

Changed used OS


Previous Comments:
------------------------------------------------------------------------
[2011-12-15 11:27:19] 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.


------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=60530&edit=1

--
PHP-GTK Development Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply | Threaded
Open this post in threaded view
|

Bug #60530 [Opn->Fbk]: PHP Execution doesn't terminate when using circular references and mnemonics

auroraeosrose
In reply to this post by Guthrie at att dot net
Edit report at https://bugs.php.net/bug.php?id=60530&edit=1

 ID:                 60530
 Updated by:         [hidden email]
 Reported by:        willyscheibel at gmx dot de
 Summary:            PHP Execution doesn't terminate when using circular
                     references and mnemonics
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            PHP-GTK related
 Operating System:   Ubuntu 11.10
 PHP Version:        Irrelevant
 Block user comment: N
 Private report:     N

 New Comment:

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?


Previous Comments:
------------------------------------------------------------------------
[2011-12-19 16:57:46] willyscheibel at gmx dot de

Changed used OS

------------------------------------------------------------------------
[2011-12-15 11:27:19] 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.


------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=60530&edit=1

--
PHP-GTK Development Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply | Threaded
Open this post in threaded view
|

Bug #60530 [Fbk->NoF]: PHP Execution doesn't terminate when using circular references and mnemonics

Guthrie at att dot net
In reply to this post by Guthrie at att dot net
Edit report at https://bugs.php.net/bug.php?id=60530&edit=1

 ID:               60530
 Updated by:       [hidden email]
 Reported by:      willyscheibel at gmx dot de
 Summary:          PHP Execution doesn't terminate when using circular
                   references and mnemonics
-Status:           Feedback
+Status:           No Feedback
 Type:             Bug
 Package:          PHP-GTK related
 Operating System: Ubuntu 11.10
 PHP Version:      Irrelevant

 New Comment:

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.


Previous Comments:
------------------------------------------------------------------------
[2012-07-18 17:59:32] [hidden email]

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?

------------------------------------------------------------------------
[2011-12-19 16:57:46] willyscheibel at gmx dot de

Changed used OS

------------------------------------------------------------------------
[2011-12-15 11:27:19] 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.


------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=60530&edit=1

--
PHP-GTK Development Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php