falk dot herrmann at bike24 dot net
2011-07-18 09:56:57 UTC
From:
Operating system: Linux 2.6.38.6
PHP version: 5.3.7RC3
Package: PHP-GTK related
Bug Type: Bug
Bug description:PHP-GTK Segmentation fault on Quit
Description:
------------
Every PHP-GTK application returns an segmentation fault on quit. Alt-F4,
close via menu, or close button brings the same error. The program itself
runs fine. Only the quit command returns segfault after the last line of
code.
Return code: 139
Test script:
---------------
<?php
dl('php_gtk2.so');
$wnd = new GtkWindow();
$wnd->set_title('Hello world');
$wnd->connect_simple('destroy', array('gtk', 'main_quit'));
$lblHello = new GtkLabel("Hello world!'");
$wnd->add($lblHello);
$wnd->show_all();
Gtk::main();
Expected result:
----------------
Return code: 0
Actual result:
--------------
***@psyco ~/php-gtk $ php -f hello-world.php
Segmentation fault
***@psyco ~/php-gtk $ echo $?
139
--
Edit bug report at https://bugs.php.net/bug.php?id=55225&edit=1
--
Try a snapshot (PHP 5.2): https://bugs.php.net/fix.php?id=55225&r=trysnapshot52
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=55225&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=55225&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=55225&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=55225&r=needdocs
Fixed in release: https://bugs.php.net/fix.php?id=55225&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=55225&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=55225&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=55225&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=55225&r=support
Expected behavior: https://bugs.php.net/fix.php?id=55225&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=55225&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=55225&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=55225&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=55225&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=55225&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=55225&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=55225&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=55225&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=55225&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=55225&r=mysqlcfg
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=55225&r=trysnapshot54
Operating system: Linux 2.6.38.6
PHP version: 5.3.7RC3
Package: PHP-GTK related
Bug Type: Bug
Bug description:PHP-GTK Segmentation fault on Quit
Description:
------------
Every PHP-GTK application returns an segmentation fault on quit. Alt-F4,
close via menu, or close button brings the same error. The program itself
runs fine. Only the quit command returns segfault after the last line of
code.
Return code: 139
Test script:
---------------
<?php
dl('php_gtk2.so');
$wnd = new GtkWindow();
$wnd->set_title('Hello world');
$wnd->connect_simple('destroy', array('gtk', 'main_quit'));
$lblHello = new GtkLabel("Hello world!'");
$wnd->add($lblHello);
$wnd->show_all();
Gtk::main();
Expected result:
----------------
Return code: 0
Actual result:
--------------
***@psyco ~/php-gtk $ php -f hello-world.php
Segmentation fault
***@psyco ~/php-gtk $ echo $?
139
--
Edit bug report at https://bugs.php.net/bug.php?id=55225&edit=1
--
Try a snapshot (PHP 5.2): https://bugs.php.net/fix.php?id=55225&r=trysnapshot52
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=55225&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=55225&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=55225&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=55225&r=needdocs
Fixed in release: https://bugs.php.net/fix.php?id=55225&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=55225&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=55225&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=55225&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=55225&r=support
Expected behavior: https://bugs.php.net/fix.php?id=55225&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=55225&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=55225&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=55225&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=55225&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=55225&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=55225&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=55225&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=55225&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=55225&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=55225&r=mysqlcfg
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=55225&r=trysnapshot54
--
PHP-GTK Development Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
PHP-GTK Development Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php