[PHP-BUG] Bug #63420 [NEW]: SIGSEV on load php_gtk2.so

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

[PHP-BUG] Bug #63420 [NEW]: SIGSEV on load php_gtk2.so

Guthrie at att dot net
From:             nikodu01 at live dot fr
Operating system: Linux / PHP 5.4.8 / PHP-GTK Git
PHP version:      5.3.18
Package:          PHP-GTK related
Bug Type:         Bug
Bug description:SIGSEV on load php_gtk2.so

Description:
------------
Version : PHP 5.4.8 & PHP-GTK Git

When loading the extension we got a sigsev

Test script:
---------------
dl( 'php_gtk2.so' );

Expected result:
----------------
Load library

Actual result:
--------------
Program received signal SIGSEGV, Segmentation fault.
0x000000000080c5dd in zend_initialize_class_data (ce=0x1b0fcc0,
nullify_handlers=0 '\000', tsrm_ls=0x1b) at /src/build/php-
5.4.8/Zend/zend_compile.c:6748
6748 int n = zend_hash_num_elements(CG(class_table));
(gdb) bt
#0  0x000000000080c5dd in zend_initialize_class_data (ce=0x1b0fcc0,
nullify_handlers=0 '\000', tsrm_ls=0x1b) at /src/build/php-
5.4.8/Zend/zend_compile.c:6748
#1  0x00000000008342cc in do_register_internal_class
(orig_class_entry=0x7fffffffa5d0, ce_flags=0, tsrm_ls=0x1b) at
/src/build/php-
5.4.8/Zend/zend_API.c:2401
#2  0x00000000008345f0 in zend_register_internal_class
(orig_class_entry=0x7fffffffa5d0, tsrm_ls=0x1b) at /src/build/php-
5.4.8/Zend/zend_API.c:2467
#3  0x0000000000834494 in zend_register_internal_class_ex
(class_entry=0x7fffffffa5d0, parent_ce=0x0, parent_name=0x0, tsrm_ls=0x1b)
    at /src/build/php-5.4.8/Zend/zend_API.c:2439
#4  0x00007fffef0d4da8 in phpg_register_class (class_name=0x7fffef1028b7
"Glade", class_methods=0x7fffef38e280 <glade_methods>, parent=0x0,
ce_flags=0,
    prop_info=0x0, create_obj_func=0x0, gtype=0, tsrm_ls=0x1b) at
/src/build/php-gtk-121102/main/phpg_support.c:326
#5  0x00007fffef0d3685 in phpg_glade0_register_classes (tsrm_ls=0x1b) at
ext/libglade/gen_libglade.c:513
#6  0x00007fffef0d36f4 in phpg_glade_register_classes (tsrm_ls=0x1b) at
ext/libglade/gen_libglade.c:520
#7  0x00007fffef0d2050 in php_gtk_xinit_libglade (module_number=27,
tsrm_ls=0xfbf090) at
/src/build/php-gtk-121102/./ext/libglade/php_libglade.c:33
#8  0x00007fffef0d3d89 in php_gtk_startup_extension (ext=0x7fffef38e240
<libglade_ext_entry>, module_number=27) at /src/build/php-gtk-
121102/main/php_gtk.c:271
#9  0x00007fffef0d3e5b in php_gtk_startup_extensions (ext=0x7fffef38eb78
<php_gtk_extensions+8>, ext_count=2, module_number=27)
    at /src/build/php-gtk-121102/main/php_gtk.c:293
#10 0x00007fffef0e6b84 in php_gtk_startup_all_extensions (module_number=27)
at
main/php_gtk_ext.c:42
#11 0x00007fffef0d3b40 in zm_activate_gtk (type=2, module_number=27,
tsrm_ls=0xfbf090) at /src/build/php-gtk-121102/main/php_gtk.c:211
#12 0x000000000069b3f4 in php_load_extension (filename=0x7ffff7e8d550
"php_gtk2.so", type=2, start_now=0, tsrm_ls=0xfbf090)
    at /src/build/php-5.4.8/ext/standard/dl.c:248
#13 0x000000000069b46e in php_dl (file=0x7ffff7e8d550 "php_gtk2.so",
type=2,
return_value=0x7ffff7eb0bd8, start_now=0, tsrm_ls=0xfbf090)
    at /src/build/php-5.4.8/ext/standard/dl.c:263
#14 0x000000000069af40 in zif_dl (ht=1, return_value=0x7ffff7eb0bd8,
return_value_ptr=0x0, this_ptr=0x0, return_value_used=0, tsrm_ls=0xfbf090)
    at /src/build/php-5.4.8/ext/standard/dl.c:85
#15 0x000000000086c289 in execute_internal
(execute_data_ptr=0x7ffff7f96d28,
return_value_used=0, tsrm_ls=0xfbf090) at /src/build/php-
5.4.8/Zend/zend_execute.c:1480
#16 0x00000000005466b6 in atlunix_zend_execute_internal
(execute_data_ptr=0x7ffff7f96d28, return_value_used=0, tsrm_ls=0xfbf090)
    at /src/build/php-5.4.8/ext/atlunix/main/atlunix.c:404
#17 0x000000000086ea87 in zend_do_fcall_common_helper_SPEC
(execute_data=0x7ffff7f96d28, tsrm_ls=0xfbf090) at /src/build/php-
5.4.8/Zend/zend_vm_execute.h:644
#18 0x000000000087730a in ZEND_DO_FCALL_SPEC_CONST_HANDLER
(execute_data=0x7ffff7f96d28, tsrm_ls=0xfbf090) at /src/build/php-
5.4.8/Zend/zend_vm_execute.h:2235
#19 0x000000000086ca40 in execute (op_array=0x11d36a0, tsrm_ls=0xfbf090) at

/src/build/php-5.4.8/Zend/zend_vm_execute.h:410
#20 0x000000000082a79c in zend_execute_scripts (type=8, tsrm_ls=0xfbf090,
retval=0x0, file_count=3) at /src/build/php-5.4.8/Zend/zend.c:1309
#21 0x0000000000779e66 in php_execute_script (primary_file=0x7fffffffe430,

tsrm_ls=0xfbf090) at /src/build/php-5.4.8/main/main.c:2482
#22 0x0000000000992a12 in do_cli (argc=2, argv=0x7fffffffe7e8,
tsrm_ls=0xfbf090)
at /src/build/php-5.4.8/sapi/cli/php_cli.c:988
#23 0x0000000000993ced in main (argc=2, argv=0x7fffffffe7e8) at
/src/build/php-
5.4.8/sapi/cli/php_cli.c:1364


--
Edit bug report at https://bugs.php.net/bug.php?id=63420&edit=1
--
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=63420&r=trysnapshot54
Try a snapshot (PHP 5.3):   https://bugs.php.net/fix.php?id=63420&r=trysnapshot53
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=63420&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=63420&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=63420&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=63420&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=63420&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=63420&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=63420&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=63420&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=63420&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=63420&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=63420&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63420&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=63420&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=63420&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=63420&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=63420&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=63420&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=63420&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 #63420 [Opn->Fbk]: PHP Execution doesn't terminate when using circular references and mnemonics

auroraeosrose
Edit report at https://bugs.php.net/bug.php?id=63420&edit=1

 ID:                 63420
 Updated by:         [hidden email]
 Reported by:        nikodu01 at live dot fr
-Summary:            SIGSEV on load php_gtk2.so
+Summary:            PHP Execution doesn't terminate when using circular
                     references and mnemonics
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            PHP-GTK related
-Operating System:   Linux / PHP 5.4.8 / PHP-GTK Git
+Operating System:   Ubuntu 11.10
-PHP Version:        5.3.18
+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.


1. Does this also segfault when you load it via an ini file?
2. This appears to be having issues when attempting to load the glade php-gtk extension, is that in an ini file?  Or did you compile it statically into php-gtk?
3. the PECL cairo extension IS a required dependency of php-gtk - did you load that before you attempted to load php-gtk?  PHP should be angry if you don't do that instead of segfaulting - but just checking to see what exactly is making this blow up


Previous Comments:
------------------------------------------------------------------------
[2012-11-02 12:48:31] nikodu01 at live dot fr

Description:
------------
Version : PHP 5.4.8 & PHP-GTK Git

When loading the extension we got a sigsev

Test script:
---------------
dl( 'php_gtk2.so' );

Expected result:
----------------
Load library

Actual result:
--------------
Program received signal SIGSEGV, Segmentation fault.
0x000000000080c5dd in zend_initialize_class_data (ce=0x1b0fcc0,
nullify_handlers=0 '\000', tsrm_ls=0x1b) at /src/build/php-
5.4.8/Zend/zend_compile.c:6748
6748 int n = zend_hash_num_elements(CG(class_table));
(gdb) bt
#0  0x000000000080c5dd in zend_initialize_class_data (ce=0x1b0fcc0,
nullify_handlers=0 '\000', tsrm_ls=0x1b) at /src/build/php-
5.4.8/Zend/zend_compile.c:6748
#1  0x00000000008342cc in do_register_internal_class
(orig_class_entry=0x7fffffffa5d0, ce_flags=0, tsrm_ls=0x1b) at /src/build/php-
5.4.8/Zend/zend_API.c:2401
#2  0x00000000008345f0 in zend_register_internal_class
(orig_class_entry=0x7fffffffa5d0, tsrm_ls=0x1b) at /src/build/php-
5.4.8/Zend/zend_API.c:2467
#3  0x0000000000834494 in zend_register_internal_class_ex
(class_entry=0x7fffffffa5d0, parent_ce=0x0, parent_name=0x0, tsrm_ls=0x1b)
    at /src/build/php-5.4.8/Zend/zend_API.c:2439
#4  0x00007fffef0d4da8 in phpg_register_class (class_name=0x7fffef1028b7
"Glade", class_methods=0x7fffef38e280 <glade_methods>, parent=0x0, ce_flags=0,
    prop_info=0x0, create_obj_func=0x0, gtype=0, tsrm_ls=0x1b) at
/src/build/php-gtk-121102/main/phpg_support.c:326
#5  0x00007fffef0d3685 in phpg_glade0_register_classes (tsrm_ls=0x1b) at
ext/libglade/gen_libglade.c:513
#6  0x00007fffef0d36f4 in phpg_glade_register_classes (tsrm_ls=0x1b) at
ext/libglade/gen_libglade.c:520
#7  0x00007fffef0d2050 in php_gtk_xinit_libglade (module_number=27,
tsrm_ls=0xfbf090) at /src/build/php-gtk-121102/./ext/libglade/php_libglade.c:33
#8  0x00007fffef0d3d89 in php_gtk_startup_extension (ext=0x7fffef38e240
<libglade_ext_entry>, module_number=27) at /src/build/php-gtk-
121102/main/php_gtk.c:271
#9  0x00007fffef0d3e5b in php_gtk_startup_extensions (ext=0x7fffef38eb78
<php_gtk_extensions+8>, ext_count=2, module_number=27)
    at /src/build/php-gtk-121102/main/php_gtk.c:293
#10 0x00007fffef0e6b84 in php_gtk_startup_all_extensions (module_number=27) at
main/php_gtk_ext.c:42
#11 0x00007fffef0d3b40 in zm_activate_gtk (type=2, module_number=27,
tsrm_ls=0xfbf090) at /src/build/php-gtk-121102/main/php_gtk.c:211
#12 0x000000000069b3f4 in php_load_extension (filename=0x7ffff7e8d550
"php_gtk2.so", type=2, start_now=0, tsrm_ls=0xfbf090)
    at /src/build/php-5.4.8/ext/standard/dl.c:248
#13 0x000000000069b46e in php_dl (file=0x7ffff7e8d550 "php_gtk2.so", type=2,
return_value=0x7ffff7eb0bd8, start_now=0, tsrm_ls=0xfbf090)
    at /src/build/php-5.4.8/ext/standard/dl.c:263
#14 0x000000000069af40 in zif_dl (ht=1, return_value=0x7ffff7eb0bd8,
return_value_ptr=0x0, this_ptr=0x0, return_value_used=0, tsrm_ls=0xfbf090)
    at /src/build/php-5.4.8/ext/standard/dl.c:85
#15 0x000000000086c289 in execute_internal (execute_data_ptr=0x7ffff7f96d28,
return_value_used=0, tsrm_ls=0xfbf090) at /src/build/php-
5.4.8/Zend/zend_execute.c:1480
#16 0x00000000005466b6 in atlunix_zend_execute_internal
(execute_data_ptr=0x7ffff7f96d28, return_value_used=0, tsrm_ls=0xfbf090)
    at /src/build/php-5.4.8/ext/atlunix/main/atlunix.c:404
#17 0x000000000086ea87 in zend_do_fcall_common_helper_SPEC
(execute_data=0x7ffff7f96d28, tsrm_ls=0xfbf090) at /src/build/php-
5.4.8/Zend/zend_vm_execute.h:644
#18 0x000000000087730a in ZEND_DO_FCALL_SPEC_CONST_HANDLER
(execute_data=0x7ffff7f96d28, tsrm_ls=0xfbf090) at /src/build/php-
5.4.8/Zend/zend_vm_execute.h:2235
#19 0x000000000086ca40 in execute (op_array=0x11d36a0, tsrm_ls=0xfbf090) at
/src/build/php-5.4.8/Zend/zend_vm_execute.h:410
#20 0x000000000082a79c in zend_execute_scripts (type=8, tsrm_ls=0xfbf090,
retval=0x0, file_count=3) at /src/build/php-5.4.8/Zend/zend.c:1309
#21 0x0000000000779e66 in php_execute_script (primary_file=0x7fffffffe430,
tsrm_ls=0xfbf090) at /src/build/php-5.4.8/main/main.c:2482
#22 0x0000000000992a12 in do_cli (argc=2, argv=0x7fffffffe7e8, tsrm_ls=0xfbf090)
at /src/build/php-5.4.8/sapi/cli/php_cli.c:988
#23 0x0000000000993ced in main (argc=2, argv=0x7fffffffe7e8) at /src/build/php-
5.4.8/sapi/cli/php_cli.c:1364



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



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

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

FGM
Reply | Threaded
Open this post in threaded view
|

RE : [PHP-GTK-DEV] [PHP-BUG] Bug #63420 [NEW]: SIGSEV on load php_gtk2.so

FGM
In reply to this post by Guthrie at att dot net
I thought dl()'ing php-gtk was no longer supported in PHP-GTK2 anyway ?
________________________________________
De : nikodu01 at live dot fr [[hidden email]]
Date d'envoi : vendredi 2 novembre 2012 13:48
À : [hidden email]
Objet : [PHP-GTK-DEV] [PHP-BUG] Bug #63420 [NEW]: SIGSEV on load php_gtk2.so

From:             nikodu01 at live dot fr
Operating system: Linux / PHP 5.4.8 / PHP-GTK Git
PHP version:      5.3.18
Package:          PHP-GTK related
Bug Type:         Bug
Bug description:SIGSEV on load php_gtk2.so

Description:
------------
Version : PHP 5.4.8 & PHP-GTK Git

When loading the extension we got a sigsev

Test script:
---------------
dl( 'php_gtk2.so' );

Expected result:
----------------
Load library

Actual result:
--------------
Program received signal SIGSEGV, Segmentation fault.
0x000000000080c5dd in zend_initialize_class_data (ce=0x1b0fcc0,
nullify_handlers=0 '\000', tsrm_ls=0x1b) at /src/build/php-
5.4.8/Zend/zend_compile.c:6748
6748                    int n = zend_hash_num_elements(CG(class_table));
(gdb) bt
#0  0x000000000080c5dd in zend_initialize_class_data (ce=0x1b0fcc0,
nullify_handlers=0 '\000', tsrm_ls=0x1b) at /src/build/php-
5.4.8/Zend/zend_compile.c:6748
#1  0x00000000008342cc in do_register_internal_class
(orig_class_entry=0x7fffffffa5d0, ce_flags=0, tsrm_ls=0x1b) at
/src/build/php-
5.4.8/Zend/zend_API.c:2401
#2  0x00000000008345f0 in zend_register_internal_class
(orig_class_entry=0x7fffffffa5d0, tsrm_ls=0x1b) at /src/build/php-
5.4.8/Zend/zend_API.c:2467
#3  0x0000000000834494 in zend_register_internal_class_ex
(class_entry=0x7fffffffa5d0, parent_ce=0x0, parent_name=0x0, tsrm_ls=0x1b)
    at /src/build/php-5.4.8/Zend/zend_API.c:2439
#4  0x00007fffef0d4da8 in phpg_register_class (class_name=0x7fffef1028b7
"Glade", class_methods=0x7fffef38e280 <glade_methods>, parent=0x0,
ce_flags=0,
    prop_info=0x0, create_obj_func=0x0, gtype=0, tsrm_ls=0x1b) at
/src/build/php-gtk-121102/main/phpg_support.c:326
#5  0x00007fffef0d3685 in phpg_glade0_register_classes (tsrm_ls=0x1b) at
ext/libglade/gen_libglade.c:513
#6  0x00007fffef0d36f4 in phpg_glade_register_classes (tsrm_ls=0x1b) at
ext/libglade/gen_libglade.c:520
#7  0x00007fffef0d2050 in php_gtk_xinit_libglade (module_number=27,
tsrm_ls=0xfbf090) at
/src/build/php-gtk-121102/./ext/libglade/php_libglade.c:33
#8  0x00007fffef0d3d89 in php_gtk_startup_extension (ext=0x7fffef38e240
<libglade_ext_entry>, module_number=27) at /src/build/php-gtk-
121102/main/php_gtk.c:271
#9  0x00007fffef0d3e5b in php_gtk_startup_extensions (ext=0x7fffef38eb78
<php_gtk_extensions+8>, ext_count=2, module_number=27)
    at /src/build/php-gtk-121102/main/php_gtk.c:293
#10 0x00007fffef0e6b84 in php_gtk_startup_all_extensions (module_number=27)
at
main/php_gtk_ext.c:42
#11 0x00007fffef0d3b40 in zm_activate_gtk (type=2, module_number=27,
tsrm_ls=0xfbf090) at /src/build/php-gtk-121102/main/php_gtk.c:211
#12 0x000000000069b3f4 in php_load_extension (filename=0x7ffff7e8d550
"php_gtk2.so", type=2, start_now=0, tsrm_ls=0xfbf090)
    at /src/build/php-5.4.8/ext/standard/dl.c:248
#13 0x000000000069b46e in php_dl (file=0x7ffff7e8d550 "php_gtk2.so",
type=2,
return_value=0x7ffff7eb0bd8, start_now=0, tsrm_ls=0xfbf090)
    at /src/build/php-5.4.8/ext/standard/dl.c:263
#14 0x000000000069af40 in zif_dl (ht=1, return_value=0x7ffff7eb0bd8,
return_value_ptr=0x0, this_ptr=0x0, return_value_used=0, tsrm_ls=0xfbf090)
    at /src/build/php-5.4.8/ext/standard/dl.c:85
#15 0x000000000086c289 in execute_internal
(execute_data_ptr=0x7ffff7f96d28,
return_value_used=0, tsrm_ls=0xfbf090) at /src/build/php-
5.4.8/Zend/zend_execute.c:1480
#16 0x00000000005466b6 in atlunix_zend_execute_internal
(execute_data_ptr=0x7ffff7f96d28, return_value_used=0, tsrm_ls=0xfbf090)
    at /src/build/php-5.4.8/ext/atlunix/main/atlunix.c:404
#17 0x000000000086ea87 in zend_do_fcall_common_helper_SPEC
(execute_data=0x7ffff7f96d28, tsrm_ls=0xfbf090) at /src/build/php-
5.4.8/Zend/zend_vm_execute.h:644
#18 0x000000000087730a in ZEND_DO_FCALL_SPEC_CONST_HANDLER
(execute_data=0x7ffff7f96d28, tsrm_ls=0xfbf090) at /src/build/php-
5.4.8/Zend/zend_vm_execute.h:2235
#19 0x000000000086ca40 in execute (op_array=0x11d36a0, tsrm_ls=0xfbf090) at

/src/build/php-5.4.8/Zend/zend_vm_execute.h:410
#20 0x000000000082a79c in zend_execute_scripts (type=8, tsrm_ls=0xfbf090,
retval=0x0, file_count=3) at /src/build/php-5.4.8/Zend/zend.c:1309
#21 0x0000000000779e66 in php_execute_script (primary_file=0x7fffffffe430,

tsrm_ls=0xfbf090) at /src/build/php-5.4.8/main/main.c:2482
#22 0x0000000000992a12 in do_cli (argc=2, argv=0x7fffffffe7e8,
tsrm_ls=0xfbf090)
at /src/build/php-5.4.8/sapi/cli/php_cli.c:988
#23 0x0000000000993ced in main (argc=2, argv=0x7fffffffe7e8) at
/src/build/php-
5.4.8/sapi/cli/php_cli.c:1364


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


--
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

Reply | Threaded
Open this post in threaded view
|

Bug #63420 [Fbk->Opn]: 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=63420&edit=1

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

 New Comment:

1/ I have put cairo.so and php_gtk2.so in the ini file and always crash
2/ I don't specify to use liglade i just compile php-gtk with this :
   ./buildconf &&
   ./configure --prefix=/usr &&
   make
3/ Yes i load it before

I made different try and compiling php-gtk with ./configure --prefix=/usr --
without-libglade
don't crash anymore

my libglade version is 2.6.4


Previous Comments:
------------------------------------------------------------------------
[2012-11-02 14:35:29] [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.


1. Does this also segfault when you load it via an ini file?
2. This appears to be having issues when attempting to load the glade php-gtk extension, is that in an ini file?  Or did you compile it statically into php-gtk?
3. the PECL cairo extension IS a required dependency of php-gtk - did you load that before you attempted to load php-gtk?  PHP should be angry if you don't do that instead of segfaulting - but just checking to see what exactly is making this blow up

------------------------------------------------------------------------
[2012-11-02 12:48:31] nikodu01 at live dot fr

Description:
------------
Version : PHP 5.4.8 & PHP-GTK Git

When loading the extension we got a sigsev

Test script:
---------------
dl( 'php_gtk2.so' );

Expected result:
----------------
Load library

Actual result:
--------------
Program received signal SIGSEGV, Segmentation fault.
0x000000000080c5dd in zend_initialize_class_data (ce=0x1b0fcc0,
nullify_handlers=0 '\000', tsrm_ls=0x1b) at /src/build/php-
5.4.8/Zend/zend_compile.c:6748
6748 int n = zend_hash_num_elements(CG(class_table));
(gdb) bt
#0  0x000000000080c5dd in zend_initialize_class_data (ce=0x1b0fcc0,
nullify_handlers=0 '\000', tsrm_ls=0x1b) at /src/build/php-
5.4.8/Zend/zend_compile.c:6748
#1  0x00000000008342cc in do_register_internal_class
(orig_class_entry=0x7fffffffa5d0, ce_flags=0, tsrm_ls=0x1b) at /src/build/php-
5.4.8/Zend/zend_API.c:2401
#2  0x00000000008345f0 in zend_register_internal_class
(orig_class_entry=0x7fffffffa5d0, tsrm_ls=0x1b) at /src/build/php-
5.4.8/Zend/zend_API.c:2467
#3  0x0000000000834494 in zend_register_internal_class_ex
(class_entry=0x7fffffffa5d0, parent_ce=0x0, parent_name=0x0, tsrm_ls=0x1b)
    at /src/build/php-5.4.8/Zend/zend_API.c:2439
#4  0x00007fffef0d4da8 in phpg_register_class (class_name=0x7fffef1028b7
"Glade", class_methods=0x7fffef38e280 <glade_methods>, parent=0x0, ce_flags=0,
    prop_info=0x0, create_obj_func=0x0, gtype=0, tsrm_ls=0x1b) at
/src/build/php-gtk-121102/main/phpg_support.c:326
#5  0x00007fffef0d3685 in phpg_glade0_register_classes (tsrm_ls=0x1b) at
ext/libglade/gen_libglade.c:513
#6  0x00007fffef0d36f4 in phpg_glade_register_classes (tsrm_ls=0x1b) at
ext/libglade/gen_libglade.c:520
#7  0x00007fffef0d2050 in php_gtk_xinit_libglade (module_number=27,
tsrm_ls=0xfbf090) at /src/build/php-gtk-121102/./ext/libglade/php_libglade.c:33
#8  0x00007fffef0d3d89 in php_gtk_startup_extension (ext=0x7fffef38e240
<libglade_ext_entry>, module_number=27) at /src/build/php-gtk-
121102/main/php_gtk.c:271
#9  0x00007fffef0d3e5b in php_gtk_startup_extensions (ext=0x7fffef38eb78
<php_gtk_extensions+8>, ext_count=2, module_number=27)
    at /src/build/php-gtk-121102/main/php_gtk.c:293
#10 0x00007fffef0e6b84 in php_gtk_startup_all_extensions (module_number=27) at
main/php_gtk_ext.c:42
#11 0x00007fffef0d3b40 in zm_activate_gtk (type=2, module_number=27,
tsrm_ls=0xfbf090) at /src/build/php-gtk-121102/main/php_gtk.c:211
#12 0x000000000069b3f4 in php_load_extension (filename=0x7ffff7e8d550
"php_gtk2.so", type=2, start_now=0, tsrm_ls=0xfbf090)
    at /src/build/php-5.4.8/ext/standard/dl.c:248
#13 0x000000000069b46e in php_dl (file=0x7ffff7e8d550 "php_gtk2.so", type=2,
return_value=0x7ffff7eb0bd8, start_now=0, tsrm_ls=0xfbf090)
    at /src/build/php-5.4.8/ext/standard/dl.c:263
#14 0x000000000069af40 in zif_dl (ht=1, return_value=0x7ffff7eb0bd8,
return_value_ptr=0x0, this_ptr=0x0, return_value_used=0, tsrm_ls=0xfbf090)
    at /src/build/php-5.4.8/ext/standard/dl.c:85
#15 0x000000000086c289 in execute_internal (execute_data_ptr=0x7ffff7f96d28,
return_value_used=0, tsrm_ls=0xfbf090) at /src/build/php-
5.4.8/Zend/zend_execute.c:1480
#16 0x00000000005466b6 in atlunix_zend_execute_internal
(execute_data_ptr=0x7ffff7f96d28, return_value_used=0, tsrm_ls=0xfbf090)
    at /src/build/php-5.4.8/ext/atlunix/main/atlunix.c:404
#17 0x000000000086ea87 in zend_do_fcall_common_helper_SPEC
(execute_data=0x7ffff7f96d28, tsrm_ls=0xfbf090) at /src/build/php-
5.4.8/Zend/zend_vm_execute.h:644
#18 0x000000000087730a in ZEND_DO_FCALL_SPEC_CONST_HANDLER
(execute_data=0x7ffff7f96d28, tsrm_ls=0xfbf090) at /src/build/php-
5.4.8/Zend/zend_vm_execute.h:2235
#19 0x000000000086ca40 in execute (op_array=0x11d36a0, tsrm_ls=0xfbf090) at
/src/build/php-5.4.8/Zend/zend_vm_execute.h:410
#20 0x000000000082a79c in zend_execute_scripts (type=8, tsrm_ls=0xfbf090,
retval=0x0, file_count=3) at /src/build/php-5.4.8/Zend/zend.c:1309
#21 0x0000000000779e66 in php_execute_script (primary_file=0x7fffffffe430,
tsrm_ls=0xfbf090) at /src/build/php-5.4.8/main/main.c:2482
#22 0x0000000000992a12 in do_cli (argc=2, argv=0x7fffffffe7e8, tsrm_ls=0xfbf090)
at /src/build/php-5.4.8/sapi/cli/php_cli.c:988
#23 0x0000000000993ced in main (argc=2, argv=0x7fffffffe7e8) at /src/build/php-
5.4.8/sapi/cli/php_cli.c:1364



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



--
Edit this bug report at https://bugs.php.net/bug.php?id=63420&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 #63420 [Opn]: PHP-GTK crashes when loading glade extension

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

 ID:                 63420
 Updated by:         [hidden email]
 Reported by:        nikodu01 at live dot fr
-Summary:            PHP Execution doesn't terminate when using circular
                     references and mnemonics
+Summary:            PHP-GTK crashes when loading glade extension
 Status:             Open
 Type:               Bug
 Package:            PHP-GTK related
 Operating System:   Ubuntu 11.10
 PHP Version:        Irrelevant
-Assigned To:        
+Assigned To:        auroraeosrose
 Block user comment: N
 Private report:     N

 New Comment:

So this is actually a bug with the php-gtk glade extension and loading

I'll take a look but it's not a high priority since libglade is deprecated - I would suggest you try migrating any glade code to gtkbuilder on any existing projects


Previous Comments:
------------------------------------------------------------------------
[2012-11-03 09:18:05] nikodu01 at live dot fr

1/ I have put cairo.so and php_gtk2.so in the ini file and always crash
2/ I don't specify to use liglade i just compile php-gtk with this :
   ./buildconf &&
   ./configure --prefix=/usr &&
   make
3/ Yes i load it before

I made different try and compiling php-gtk with ./configure --prefix=/usr --
without-libglade
don't crash anymore

my libglade version is 2.6.4

------------------------------------------------------------------------
[2012-11-02 14:35:29] [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.


1. Does this also segfault when you load it via an ini file?
2. This appears to be having issues when attempting to load the glade php-gtk extension, is that in an ini file?  Or did you compile it statically into php-gtk?
3. the PECL cairo extension IS a required dependency of php-gtk - did you load that before you attempted to load php-gtk?  PHP should be angry if you don't do that instead of segfaulting - but just checking to see what exactly is making this blow up

------------------------------------------------------------------------
[2012-11-02 12:48:31] nikodu01 at live dot fr

Description:
------------
Version : PHP 5.4.8 & PHP-GTK Git

When loading the extension we got a sigsev

Test script:
---------------
dl( 'php_gtk2.so' );

Expected result:
----------------
Load library

Actual result:
--------------
Program received signal SIGSEGV, Segmentation fault.
0x000000000080c5dd in zend_initialize_class_data (ce=0x1b0fcc0,
nullify_handlers=0 '\000', tsrm_ls=0x1b) at /src/build/php-
5.4.8/Zend/zend_compile.c:6748
6748 int n = zend_hash_num_elements(CG(class_table));
(gdb) bt
#0  0x000000000080c5dd in zend_initialize_class_data (ce=0x1b0fcc0,
nullify_handlers=0 '\000', tsrm_ls=0x1b) at /src/build/php-
5.4.8/Zend/zend_compile.c:6748
#1  0x00000000008342cc in do_register_internal_class
(orig_class_entry=0x7fffffffa5d0, ce_flags=0, tsrm_ls=0x1b) at /src/build/php-
5.4.8/Zend/zend_API.c:2401
#2  0x00000000008345f0 in zend_register_internal_class
(orig_class_entry=0x7fffffffa5d0, tsrm_ls=0x1b) at /src/build/php-
5.4.8/Zend/zend_API.c:2467
#3  0x0000000000834494 in zend_register_internal_class_ex
(class_entry=0x7fffffffa5d0, parent_ce=0x0, parent_name=0x0, tsrm_ls=0x1b)
    at /src/build/php-5.4.8/Zend/zend_API.c:2439
#4  0x00007fffef0d4da8 in phpg_register_class (class_name=0x7fffef1028b7
"Glade", class_methods=0x7fffef38e280 <glade_methods>, parent=0x0, ce_flags=0,
    prop_info=0x0, create_obj_func=0x0, gtype=0, tsrm_ls=0x1b) at
/src/build/php-gtk-121102/main/phpg_support.c:326
#5  0x00007fffef0d3685 in phpg_glade0_register_classes (tsrm_ls=0x1b) at
ext/libglade/gen_libglade.c:513
#6  0x00007fffef0d36f4 in phpg_glade_register_classes (tsrm_ls=0x1b) at
ext/libglade/gen_libglade.c:520
#7  0x00007fffef0d2050 in php_gtk_xinit_libglade (module_number=27,
tsrm_ls=0xfbf090) at /src/build/php-gtk-121102/./ext/libglade/php_libglade.c:33
#8  0x00007fffef0d3d89 in php_gtk_startup_extension (ext=0x7fffef38e240
<libglade_ext_entry>, module_number=27) at /src/build/php-gtk-
121102/main/php_gtk.c:271
#9  0x00007fffef0d3e5b in php_gtk_startup_extensions (ext=0x7fffef38eb78
<php_gtk_extensions+8>, ext_count=2, module_number=27)
    at /src/build/php-gtk-121102/main/php_gtk.c:293
#10 0x00007fffef0e6b84 in php_gtk_startup_all_extensions (module_number=27) at
main/php_gtk_ext.c:42
#11 0x00007fffef0d3b40 in zm_activate_gtk (type=2, module_number=27,
tsrm_ls=0xfbf090) at /src/build/php-gtk-121102/main/php_gtk.c:211
#12 0x000000000069b3f4 in php_load_extension (filename=0x7ffff7e8d550
"php_gtk2.so", type=2, start_now=0, tsrm_ls=0xfbf090)
    at /src/build/php-5.4.8/ext/standard/dl.c:248
#13 0x000000000069b46e in php_dl (file=0x7ffff7e8d550 "php_gtk2.so", type=2,
return_value=0x7ffff7eb0bd8, start_now=0, tsrm_ls=0xfbf090)
    at /src/build/php-5.4.8/ext/standard/dl.c:263
#14 0x000000000069af40 in zif_dl (ht=1, return_value=0x7ffff7eb0bd8,
return_value_ptr=0x0, this_ptr=0x0, return_value_used=0, tsrm_ls=0xfbf090)
    at /src/build/php-5.4.8/ext/standard/dl.c:85
#15 0x000000000086c289 in execute_internal (execute_data_ptr=0x7ffff7f96d28,
return_value_used=0, tsrm_ls=0xfbf090) at /src/build/php-
5.4.8/Zend/zend_execute.c:1480
#16 0x00000000005466b6 in atlunix_zend_execute_internal
(execute_data_ptr=0x7ffff7f96d28, return_value_used=0, tsrm_ls=0xfbf090)
    at /src/build/php-5.4.8/ext/atlunix/main/atlunix.c:404
#17 0x000000000086ea87 in zend_do_fcall_common_helper_SPEC
(execute_data=0x7ffff7f96d28, tsrm_ls=0xfbf090) at /src/build/php-
5.4.8/Zend/zend_vm_execute.h:644
#18 0x000000000087730a in ZEND_DO_FCALL_SPEC_CONST_HANDLER
(execute_data=0x7ffff7f96d28, tsrm_ls=0xfbf090) at /src/build/php-
5.4.8/Zend/zend_vm_execute.h:2235
#19 0x000000000086ca40 in execute (op_array=0x11d36a0, tsrm_ls=0xfbf090) at
/src/build/php-5.4.8/Zend/zend_vm_execute.h:410
#20 0x000000000082a79c in zend_execute_scripts (type=8, tsrm_ls=0xfbf090,
retval=0x0, file_count=3) at /src/build/php-5.4.8/Zend/zend.c:1309
#21 0x0000000000779e66 in php_execute_script (primary_file=0x7fffffffe430,
tsrm_ls=0xfbf090) at /src/build/php-5.4.8/main/main.c:2482
#22 0x0000000000992a12 in do_cli (argc=2, argv=0x7fffffffe7e8, tsrm_ls=0xfbf090)
at /src/build/php-5.4.8/sapi/cli/php_cli.c:988
#23 0x0000000000993ced in main (argc=2, argv=0x7fffffffe7e8) at /src/build/php-
5.4.8/sapi/cli/php_cli.c:1364



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



--
Edit this bug report at https://bugs.php.net/bug.php?id=63420&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 #63420 [Asn->Ana]: PHP-GTK crashes when loading glade extension

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

 ID:                 63420
 Updated by:         [hidden email]
 Reported by:        nikodu01 at live dot fr
 Summary:            PHP-GTK crashes when loading glade extension
-Status:             Assigned
+Status:             Analyzed
 Type:               Bug
 Package:            PHP-GTK related
 Operating System:   Ubuntu 11.10
 PHP Version:        Irrelevant
 Assigned To:        buhlerax
 Block user comment: N
 Private report:     N

 New Comment:

The 2.0.1 version of php-gtk will no longer fixes.
We will work on version 3 of the php-gtk with gtk 3.


Previous Comments:
------------------------------------------------------------------------
[2012-11-05 14:11:16] [hidden email]

So this is actually a bug with the php-gtk glade extension and loading

I'll take a look but it's not a high priority since libglade is deprecated - I would suggest you try migrating any glade code to gtkbuilder on any existing projects

------------------------------------------------------------------------
[2012-11-03 09:18:05] nikodu01 at live dot fr

1/ I have put cairo.so and php_gtk2.so in the ini file and always crash
2/ I don't specify to use liglade i just compile php-gtk with this :
   ./buildconf &&
   ./configure --prefix=/usr &&
   make
3/ Yes i load it before

I made different try and compiling php-gtk with ./configure --prefix=/usr --
without-libglade
don't crash anymore

my libglade version is 2.6.4

------------------------------------------------------------------------
[2012-11-02 14:35:29] [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.


1. Does this also segfault when you load it via an ini file?
2. This appears to be having issues when attempting to load the glade php-gtk extension, is that in an ini file?  Or did you compile it statically into php-gtk?
3. the PECL cairo extension IS a required dependency of php-gtk - did you load that before you attempted to load php-gtk?  PHP should be angry if you don't do that instead of segfaulting - but just checking to see what exactly is making this blow up

------------------------------------------------------------------------
[2012-11-02 12:48:31] nikodu01 at live dot fr

Description:
------------
Version : PHP 5.4.8 & PHP-GTK Git

When loading the extension we got a sigsev

Test script:
---------------
dl( 'php_gtk2.so' );

Expected result:
----------------
Load library

Actual result:
--------------
Program received signal SIGSEGV, Segmentation fault.
0x000000000080c5dd in zend_initialize_class_data (ce=0x1b0fcc0,
nullify_handlers=0 '\000', tsrm_ls=0x1b) at /src/build/php-
5.4.8/Zend/zend_compile.c:6748
6748 int n = zend_hash_num_elements(CG(class_table));
(gdb) bt
#0  0x000000000080c5dd in zend_initialize_class_data (ce=0x1b0fcc0,
nullify_handlers=0 '\000', tsrm_ls=0x1b) at /src/build/php-
5.4.8/Zend/zend_compile.c:6748
#1  0x00000000008342cc in do_register_internal_class
(orig_class_entry=0x7fffffffa5d0, ce_flags=0, tsrm_ls=0x1b) at /src/build/php-
5.4.8/Zend/zend_API.c:2401
#2  0x00000000008345f0 in zend_register_internal_class
(orig_class_entry=0x7fffffffa5d0, tsrm_ls=0x1b) at /src/build/php-
5.4.8/Zend/zend_API.c:2467
#3  0x0000000000834494 in zend_register_internal_class_ex
(class_entry=0x7fffffffa5d0, parent_ce=0x0, parent_name=0x0, tsrm_ls=0x1b)
    at /src/build/php-5.4.8/Zend/zend_API.c:2439
#4  0x00007fffef0d4da8 in phpg_register_class (class_name=0x7fffef1028b7
"Glade", class_methods=0x7fffef38e280 <glade_methods>, parent=0x0, ce_flags=0,
    prop_info=0x0, create_obj_func=0x0, gtype=0, tsrm_ls=0x1b) at
/src/build/php-gtk-121102/main/phpg_support.c:326
#5  0x00007fffef0d3685 in phpg_glade0_register_classes (tsrm_ls=0x1b) at
ext/libglade/gen_libglade.c:513
#6  0x00007fffef0d36f4 in phpg_glade_register_classes (tsrm_ls=0x1b) at
ext/libglade/gen_libglade.c:520
#7  0x00007fffef0d2050 in php_gtk_xinit_libglade (module_number=27,
tsrm_ls=0xfbf090) at /src/build/php-gtk-121102/./ext/libglade/php_libglade.c:33
#8  0x00007fffef0d3d89 in php_gtk_startup_extension (ext=0x7fffef38e240
<libglade_ext_entry>, module_number=27) at /src/build/php-gtk-
121102/main/php_gtk.c:271
#9  0x00007fffef0d3e5b in php_gtk_startup_extensions (ext=0x7fffef38eb78
<php_gtk_extensions+8>, ext_count=2, module_number=27)
    at /src/build/php-gtk-121102/main/php_gtk.c:293
#10 0x00007fffef0e6b84 in php_gtk_startup_all_extensions (module_number=27) at
main/php_gtk_ext.c:42
#11 0x00007fffef0d3b40 in zm_activate_gtk (type=2, module_number=27,
tsrm_ls=0xfbf090) at /src/build/php-gtk-121102/main/php_gtk.c:211
#12 0x000000000069b3f4 in php_load_extension (filename=0x7ffff7e8d550
"php_gtk2.so", type=2, start_now=0, tsrm_ls=0xfbf090)
    at /src/build/php-5.4.8/ext/standard/dl.c:248
#13 0x000000000069b46e in php_dl (file=0x7ffff7e8d550 "php_gtk2.so", type=2,
return_value=0x7ffff7eb0bd8, start_now=0, tsrm_ls=0xfbf090)
    at /src/build/php-5.4.8/ext/standard/dl.c:263
#14 0x000000000069af40 in zif_dl (ht=1, return_value=0x7ffff7eb0bd8,
return_value_ptr=0x0, this_ptr=0x0, return_value_used=0, tsrm_ls=0xfbf090)
    at /src/build/php-5.4.8/ext/standard/dl.c:85
#15 0x000000000086c289 in execute_internal (execute_data_ptr=0x7ffff7f96d28,
return_value_used=0, tsrm_ls=0xfbf090) at /src/build/php-
5.4.8/Zend/zend_execute.c:1480
#16 0x00000000005466b6 in atlunix_zend_execute_internal
(execute_data_ptr=0x7ffff7f96d28, return_value_used=0, tsrm_ls=0xfbf090)
    at /src/build/php-5.4.8/ext/atlunix/main/atlunix.c:404
#17 0x000000000086ea87 in zend_do_fcall_common_helper_SPEC
(execute_data=0x7ffff7f96d28, tsrm_ls=0xfbf090) at /src/build/php-
5.4.8/Zend/zend_vm_execute.h:644
#18 0x000000000087730a in ZEND_DO_FCALL_SPEC_CONST_HANDLER
(execute_data=0x7ffff7f96d28, tsrm_ls=0xfbf090) at /src/build/php-
5.4.8/Zend/zend_vm_execute.h:2235
#19 0x000000000086ca40 in execute (op_array=0x11d36a0, tsrm_ls=0xfbf090) at
/src/build/php-5.4.8/Zend/zend_vm_execute.h:410
#20 0x000000000082a79c in zend_execute_scripts (type=8, tsrm_ls=0xfbf090,
retval=0x0, file_count=3) at /src/build/php-5.4.8/Zend/zend.c:1309
#21 0x0000000000779e66 in php_execute_script (primary_file=0x7fffffffe430,
tsrm_ls=0xfbf090) at /src/build/php-5.4.8/main/main.c:2482
#22 0x0000000000992a12 in do_cli (argc=2, argv=0x7fffffffe7e8, tsrm_ls=0xfbf090)
at /src/build/php-5.4.8/sapi/cli/php_cli.c:988
#23 0x0000000000993ced in main (argc=2, argv=0x7fffffffe7e8) at /src/build/php-
5.4.8/sapi/cli/php_cli.c:1364



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



--
Edit this bug report at https://bugs.php.net/bug.php?id=63420&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 #63420 [Ana->Asn]: PHP-GTK crashes when loading glade extension

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

 ID:                 63420
 Updated by:         [hidden email]
 Reported by:        nikodu01 at live dot fr
 Summary:            PHP-GTK crashes when loading glade extension
-Status:             Analyzed
+Status:             Assigned
 Type:               Bug
 Package:            PHP-GTK related
 Operating System:   Ubuntu 11.10
 PHP Version:        Irrelevant
 Assigned To:        buhlerax
 Block user comment: N
 Private report:     N



Previous Comments:
------------------------------------------------------------------------
[2016-10-23 15:58:58] [hidden email]

The 2.0.1 version of php-gtk will no longer fixes.
We will work on version 3 of the php-gtk with gtk 3.

------------------------------------------------------------------------
[2012-11-05 14:11:16] [hidden email]

So this is actually a bug with the php-gtk glade extension and loading

I'll take a look but it's not a high priority since libglade is deprecated - I would suggest you try migrating any glade code to gtkbuilder on any existing projects

------------------------------------------------------------------------
[2012-11-03 09:18:05] nikodu01 at live dot fr

1/ I have put cairo.so and php_gtk2.so in the ini file and always crash
2/ I don't specify to use liglade i just compile php-gtk with this :
   ./buildconf &&
   ./configure --prefix=/usr &&
   make
3/ Yes i load it before

I made different try and compiling php-gtk with ./configure --prefix=/usr --
without-libglade
don't crash anymore

my libglade version is 2.6.4

------------------------------------------------------------------------
[2012-11-02 14:35:29] [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.


1. Does this also segfault when you load it via an ini file?
2. This appears to be having issues when attempting to load the glade php-gtk extension, is that in an ini file?  Or did you compile it statically into php-gtk?
3. the PECL cairo extension IS a required dependency of php-gtk - did you load that before you attempted to load php-gtk?  PHP should be angry if you don't do that instead of segfaulting - but just checking to see what exactly is making this blow up

------------------------------------------------------------------------
[2012-11-02 12:48:31] nikodu01 at live dot fr

Description:
------------
Version : PHP 5.4.8 & PHP-GTK Git

When loading the extension we got a sigsev

Test script:
---------------
dl( 'php_gtk2.so' );

Expected result:
----------------
Load library

Actual result:
--------------
Program received signal SIGSEGV, Segmentation fault.
0x000000000080c5dd in zend_initialize_class_data (ce=0x1b0fcc0,
nullify_handlers=0 '\000', tsrm_ls=0x1b) at /src/build/php-
5.4.8/Zend/zend_compile.c:6748
6748 int n = zend_hash_num_elements(CG(class_table));
(gdb) bt
#0  0x000000000080c5dd in zend_initialize_class_data (ce=0x1b0fcc0,
nullify_handlers=0 '\000', tsrm_ls=0x1b) at /src/build/php-
5.4.8/Zend/zend_compile.c:6748
#1  0x00000000008342cc in do_register_internal_class
(orig_class_entry=0x7fffffffa5d0, ce_flags=0, tsrm_ls=0x1b) at /src/build/php-
5.4.8/Zend/zend_API.c:2401
#2  0x00000000008345f0 in zend_register_internal_class
(orig_class_entry=0x7fffffffa5d0, tsrm_ls=0x1b) at /src/build/php-
5.4.8/Zend/zend_API.c:2467
#3  0x0000000000834494 in zend_register_internal_class_ex
(class_entry=0x7fffffffa5d0, parent_ce=0x0, parent_name=0x0, tsrm_ls=0x1b)
    at /src/build/php-5.4.8/Zend/zend_API.c:2439
#4  0x00007fffef0d4da8 in phpg_register_class (class_name=0x7fffef1028b7
"Glade", class_methods=0x7fffef38e280 <glade_methods>, parent=0x0, ce_flags=0,
    prop_info=0x0, create_obj_func=0x0, gtype=0, tsrm_ls=0x1b) at
/src/build/php-gtk-121102/main/phpg_support.c:326
#5  0x00007fffef0d3685 in phpg_glade0_register_classes (tsrm_ls=0x1b) at
ext/libglade/gen_libglade.c:513
#6  0x00007fffef0d36f4 in phpg_glade_register_classes (tsrm_ls=0x1b) at
ext/libglade/gen_libglade.c:520
#7  0x00007fffef0d2050 in php_gtk_xinit_libglade (module_number=27,
tsrm_ls=0xfbf090) at /src/build/php-gtk-121102/./ext/libglade/php_libglade.c:33
#8  0x00007fffef0d3d89 in php_gtk_startup_extension (ext=0x7fffef38e240
<libglade_ext_entry>, module_number=27) at /src/build/php-gtk-
121102/main/php_gtk.c:271
#9  0x00007fffef0d3e5b in php_gtk_startup_extensions (ext=0x7fffef38eb78
<php_gtk_extensions+8>, ext_count=2, module_number=27)
    at /src/build/php-gtk-121102/main/php_gtk.c:293
#10 0x00007fffef0e6b84 in php_gtk_startup_all_extensions (module_number=27) at
main/php_gtk_ext.c:42
#11 0x00007fffef0d3b40 in zm_activate_gtk (type=2, module_number=27,
tsrm_ls=0xfbf090) at /src/build/php-gtk-121102/main/php_gtk.c:211
#12 0x000000000069b3f4 in php_load_extension (filename=0x7ffff7e8d550
"php_gtk2.so", type=2, start_now=0, tsrm_ls=0xfbf090)
    at /src/build/php-5.4.8/ext/standard/dl.c:248
#13 0x000000000069b46e in php_dl (file=0x7ffff7e8d550 "php_gtk2.so", type=2,
return_value=0x7ffff7eb0bd8, start_now=0, tsrm_ls=0xfbf090)
    at /src/build/php-5.4.8/ext/standard/dl.c:263
#14 0x000000000069af40 in zif_dl (ht=1, return_value=0x7ffff7eb0bd8,
return_value_ptr=0x0, this_ptr=0x0, return_value_used=0, tsrm_ls=0xfbf090)
    at /src/build/php-5.4.8/ext/standard/dl.c:85
#15 0x000000000086c289 in execute_internal (execute_data_ptr=0x7ffff7f96d28,
return_value_used=0, tsrm_ls=0xfbf090) at /src/build/php-
5.4.8/Zend/zend_execute.c:1480
#16 0x00000000005466b6 in atlunix_zend_execute_internal
(execute_data_ptr=0x7ffff7f96d28, return_value_used=0, tsrm_ls=0xfbf090)
    at /src/build/php-5.4.8/ext/atlunix/main/atlunix.c:404
#17 0x000000000086ea87 in zend_do_fcall_common_helper_SPEC
(execute_data=0x7ffff7f96d28, tsrm_ls=0xfbf090) at /src/build/php-
5.4.8/Zend/zend_vm_execute.h:644
#18 0x000000000087730a in ZEND_DO_FCALL_SPEC_CONST_HANDLER
(execute_data=0x7ffff7f96d28, tsrm_ls=0xfbf090) at /src/build/php-
5.4.8/Zend/zend_vm_execute.h:2235
#19 0x000000000086ca40 in execute (op_array=0x11d36a0, tsrm_ls=0xfbf090) at
/src/build/php-5.4.8/Zend/zend_vm_execute.h:410
#20 0x000000000082a79c in zend_execute_scripts (type=8, tsrm_ls=0xfbf090,
retval=0x0, file_count=3) at /src/build/php-5.4.8/Zend/zend.c:1309
#21 0x0000000000779e66 in php_execute_script (primary_file=0x7fffffffe430,
tsrm_ls=0xfbf090) at /src/build/php-5.4.8/main/main.c:2482
#22 0x0000000000992a12 in do_cli (argc=2, argv=0x7fffffffe7e8, tsrm_ls=0xfbf090)
at /src/build/php-5.4.8/sapi/cli/php_cli.c:988
#23 0x0000000000993ced in main (argc=2, argv=0x7fffffffe7e8) at /src/build/php-
5.4.8/sapi/cli/php_cli.c:1364



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



--
Edit this bug report at https://bugs.php.net/bug.php?id=63420&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 #63420 [Asn->Opn]: PHP-GTK crashes when loading glade extension

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

 ID:                 63420
 Updated by:         [hidden email]
 Reported by:        nikodu01 at live dot fr
 Summary:            PHP-GTK crashes when loading glade extension
-Status:             Assigned
+Status:             Open
 Type:               Bug
 Package:            PHP-GTK related
 Operating System:   Ubuntu 11.10
 PHP Version:        Irrelevant
-Assigned To:        buhlerax
+Assigned To:        
 Block user comment: N
 Private report:     N



Previous Comments:
------------------------------------------------------------------------
[2016-10-23 15:58:58] [hidden email]

The 2.0.1 version of php-gtk will no longer fixes.
We will work on version 3 of the php-gtk with gtk 3.

------------------------------------------------------------------------
[2012-11-05 14:11:16] [hidden email]

So this is actually a bug with the php-gtk glade extension and loading

I'll take a look but it's not a high priority since libglade is deprecated - I would suggest you try migrating any glade code to gtkbuilder on any existing projects

------------------------------------------------------------------------
[2012-11-03 09:18:05] nikodu01 at live dot fr

1/ I have put cairo.so and php_gtk2.so in the ini file and always crash
2/ I don't specify to use liglade i just compile php-gtk with this :
   ./buildconf &&
   ./configure --prefix=/usr &&
   make
3/ Yes i load it before

I made different try and compiling php-gtk with ./configure --prefix=/usr --
without-libglade
don't crash anymore

my libglade version is 2.6.4

------------------------------------------------------------------------
[2012-11-02 14:35:29] [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.


1. Does this also segfault when you load it via an ini file?
2. This appears to be having issues when attempting to load the glade php-gtk extension, is that in an ini file?  Or did you compile it statically into php-gtk?
3. the PECL cairo extension IS a required dependency of php-gtk - did you load that before you attempted to load php-gtk?  PHP should be angry if you don't do that instead of segfaulting - but just checking to see what exactly is making this blow up

------------------------------------------------------------------------
[2012-11-02 12:48:31] nikodu01 at live dot fr

Description:
------------
Version : PHP 5.4.8 & PHP-GTK Git

When loading the extension we got a sigsev

Test script:
---------------
dl( 'php_gtk2.so' );

Expected result:
----------------
Load library

Actual result:
--------------
Program received signal SIGSEGV, Segmentation fault.
0x000000000080c5dd in zend_initialize_class_data (ce=0x1b0fcc0,
nullify_handlers=0 '\000', tsrm_ls=0x1b) at /src/build/php-
5.4.8/Zend/zend_compile.c:6748
6748 int n = zend_hash_num_elements(CG(class_table));
(gdb) bt
#0  0x000000000080c5dd in zend_initialize_class_data (ce=0x1b0fcc0,
nullify_handlers=0 '\000', tsrm_ls=0x1b) at /src/build/php-
5.4.8/Zend/zend_compile.c:6748
#1  0x00000000008342cc in do_register_internal_class
(orig_class_entry=0x7fffffffa5d0, ce_flags=0, tsrm_ls=0x1b) at /src/build/php-
5.4.8/Zend/zend_API.c:2401
#2  0x00000000008345f0 in zend_register_internal_class
(orig_class_entry=0x7fffffffa5d0, tsrm_ls=0x1b) at /src/build/php-
5.4.8/Zend/zend_API.c:2467
#3  0x0000000000834494 in zend_register_internal_class_ex
(class_entry=0x7fffffffa5d0, parent_ce=0x0, parent_name=0x0, tsrm_ls=0x1b)
    at /src/build/php-5.4.8/Zend/zend_API.c:2439
#4  0x00007fffef0d4da8 in phpg_register_class (class_name=0x7fffef1028b7
"Glade", class_methods=0x7fffef38e280 <glade_methods>, parent=0x0, ce_flags=0,
    prop_info=0x0, create_obj_func=0x0, gtype=0, tsrm_ls=0x1b) at
/src/build/php-gtk-121102/main/phpg_support.c:326
#5  0x00007fffef0d3685 in phpg_glade0_register_classes (tsrm_ls=0x1b) at
ext/libglade/gen_libglade.c:513
#6  0x00007fffef0d36f4 in phpg_glade_register_classes (tsrm_ls=0x1b) at
ext/libglade/gen_libglade.c:520
#7  0x00007fffef0d2050 in php_gtk_xinit_libglade (module_number=27,
tsrm_ls=0xfbf090) at /src/build/php-gtk-121102/./ext/libglade/php_libglade.c:33
#8  0x00007fffef0d3d89 in php_gtk_startup_extension (ext=0x7fffef38e240
<libglade_ext_entry>, module_number=27) at /src/build/php-gtk-
121102/main/php_gtk.c:271
#9  0x00007fffef0d3e5b in php_gtk_startup_extensions (ext=0x7fffef38eb78
<php_gtk_extensions+8>, ext_count=2, module_number=27)
    at /src/build/php-gtk-121102/main/php_gtk.c:293
#10 0x00007fffef0e6b84 in php_gtk_startup_all_extensions (module_number=27) at
main/php_gtk_ext.c:42
#11 0x00007fffef0d3b40 in zm_activate_gtk (type=2, module_number=27,
tsrm_ls=0xfbf090) at /src/build/php-gtk-121102/main/php_gtk.c:211
#12 0x000000000069b3f4 in php_load_extension (filename=0x7ffff7e8d550
"php_gtk2.so", type=2, start_now=0, tsrm_ls=0xfbf090)
    at /src/build/php-5.4.8/ext/standard/dl.c:248
#13 0x000000000069b46e in php_dl (file=0x7ffff7e8d550 "php_gtk2.so", type=2,
return_value=0x7ffff7eb0bd8, start_now=0, tsrm_ls=0xfbf090)
    at /src/build/php-5.4.8/ext/standard/dl.c:263
#14 0x000000000069af40 in zif_dl (ht=1, return_value=0x7ffff7eb0bd8,
return_value_ptr=0x0, this_ptr=0x0, return_value_used=0, tsrm_ls=0xfbf090)
    at /src/build/php-5.4.8/ext/standard/dl.c:85
#15 0x000000000086c289 in execute_internal (execute_data_ptr=0x7ffff7f96d28,
return_value_used=0, tsrm_ls=0xfbf090) at /src/build/php-
5.4.8/Zend/zend_execute.c:1480
#16 0x00000000005466b6 in atlunix_zend_execute_internal
(execute_data_ptr=0x7ffff7f96d28, return_value_used=0, tsrm_ls=0xfbf090)
    at /src/build/php-5.4.8/ext/atlunix/main/atlunix.c:404
#17 0x000000000086ea87 in zend_do_fcall_common_helper_SPEC
(execute_data=0x7ffff7f96d28, tsrm_ls=0xfbf090) at /src/build/php-
5.4.8/Zend/zend_vm_execute.h:644
#18 0x000000000087730a in ZEND_DO_FCALL_SPEC_CONST_HANDLER
(execute_data=0x7ffff7f96d28, tsrm_ls=0xfbf090) at /src/build/php-
5.4.8/Zend/zend_vm_execute.h:2235
#19 0x000000000086ca40 in execute (op_array=0x11d36a0, tsrm_ls=0xfbf090) at
/src/build/php-5.4.8/Zend/zend_vm_execute.h:410
#20 0x000000000082a79c in zend_execute_scripts (type=8, tsrm_ls=0xfbf090,
retval=0x0, file_count=3) at /src/build/php-5.4.8/Zend/zend.c:1309
#21 0x0000000000779e66 in php_execute_script (primary_file=0x7fffffffe430,
tsrm_ls=0xfbf090) at /src/build/php-5.4.8/main/main.c:2482
#22 0x0000000000992a12 in do_cli (argc=2, argv=0x7fffffffe7e8, tsrm_ls=0xfbf090)
at /src/build/php-5.4.8/sapi/cli/php_cli.c:988
#23 0x0000000000993ced in main (argc=2, argv=0x7fffffffe7e8) at /src/build/php-
5.4.8/sapi/cli/php_cli.c:1364



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



--
Edit this bug report at https://bugs.php.net/bug.php?id=63420&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 #63420 [Opn->Sus]: PHP-GTK crashes when loading glade extension

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

 ID:                 63420
 Updated by:         [hidden email]
 Reported by:        nikodu01 at live dot fr
 Summary:            PHP-GTK crashes when loading glade extension
-Status:             Open
+Status:             Suspended
 Type:               Bug
 Package:            PHP-GTK related
 Operating System:   Ubuntu 11.10
 PHP Version:        Irrelevant
 Block user comment: N
 Private report:     N

 New Comment:

I'm gonna suspend this report as the PHP GTK project activity seems halted, if the activity picks backup for the project then this report should be re-opened.


Previous Comments:
------------------------------------------------------------------------
[2016-10-23 15:58:58] [hidden email]

The 2.0.1 version of php-gtk will no longer fixes.
We will work on version 3 of the php-gtk with gtk 3.

------------------------------------------------------------------------
[2012-11-05 14:11:16] [hidden email]

So this is actually a bug with the php-gtk glade extension and loading

I'll take a look but it's not a high priority since libglade is deprecated - I would suggest you try migrating any glade code to gtkbuilder on any existing projects

------------------------------------------------------------------------
[2012-11-03 09:18:05] nikodu01 at live dot fr

1/ I have put cairo.so and php_gtk2.so in the ini file and always crash
2/ I don't specify to use liglade i just compile php-gtk with this :
   ./buildconf &&
   ./configure --prefix=/usr &&
   make
3/ Yes i load it before

I made different try and compiling php-gtk with ./configure --prefix=/usr --
without-libglade
don't crash anymore

my libglade version is 2.6.4

------------------------------------------------------------------------
[2012-11-02 14:35:29] [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.


1. Does this also segfault when you load it via an ini file?
2. This appears to be having issues when attempting to load the glade php-gtk extension, is that in an ini file?  Or did you compile it statically into php-gtk?
3. the PECL cairo extension IS a required dependency of php-gtk - did you load that before you attempted to load php-gtk?  PHP should be angry if you don't do that instead of segfaulting - but just checking to see what exactly is making this blow up

------------------------------------------------------------------------
[2012-11-02 12:48:31] nikodu01 at live dot fr

Description:
------------
Version : PHP 5.4.8 & PHP-GTK Git

When loading the extension we got a sigsev

Test script:
---------------
dl( 'php_gtk2.so' );

Expected result:
----------------
Load library

Actual result:
--------------
Program received signal SIGSEGV, Segmentation fault.
0x000000000080c5dd in zend_initialize_class_data (ce=0x1b0fcc0,
nullify_handlers=0 '\000', tsrm_ls=0x1b) at /src/build/php-
5.4.8/Zend/zend_compile.c:6748
6748 int n = zend_hash_num_elements(CG(class_table));
(gdb) bt
#0  0x000000000080c5dd in zend_initialize_class_data (ce=0x1b0fcc0,
nullify_handlers=0 '\000', tsrm_ls=0x1b) at /src/build/php-
5.4.8/Zend/zend_compile.c:6748
#1  0x00000000008342cc in do_register_internal_class
(orig_class_entry=0x7fffffffa5d0, ce_flags=0, tsrm_ls=0x1b) at /src/build/php-
5.4.8/Zend/zend_API.c:2401
#2  0x00000000008345f0 in zend_register_internal_class
(orig_class_entry=0x7fffffffa5d0, tsrm_ls=0x1b) at /src/build/php-
5.4.8/Zend/zend_API.c:2467
#3  0x0000000000834494 in zend_register_internal_class_ex
(class_entry=0x7fffffffa5d0, parent_ce=0x0, parent_name=0x0, tsrm_ls=0x1b)
    at /src/build/php-5.4.8/Zend/zend_API.c:2439
#4  0x00007fffef0d4da8 in phpg_register_class (class_name=0x7fffef1028b7
"Glade", class_methods=0x7fffef38e280 <glade_methods>, parent=0x0, ce_flags=0,
    prop_info=0x0, create_obj_func=0x0, gtype=0, tsrm_ls=0x1b) at
/src/build/php-gtk-121102/main/phpg_support.c:326
#5  0x00007fffef0d3685 in phpg_glade0_register_classes (tsrm_ls=0x1b) at
ext/libglade/gen_libglade.c:513
#6  0x00007fffef0d36f4 in phpg_glade_register_classes (tsrm_ls=0x1b) at
ext/libglade/gen_libglade.c:520
#7  0x00007fffef0d2050 in php_gtk_xinit_libglade (module_number=27,
tsrm_ls=0xfbf090) at /src/build/php-gtk-121102/./ext/libglade/php_libglade.c:33
#8  0x00007fffef0d3d89 in php_gtk_startup_extension (ext=0x7fffef38e240
<libglade_ext_entry>, module_number=27) at /src/build/php-gtk-
121102/main/php_gtk.c:271
#9  0x00007fffef0d3e5b in php_gtk_startup_extensions (ext=0x7fffef38eb78
<php_gtk_extensions+8>, ext_count=2, module_number=27)
    at /src/build/php-gtk-121102/main/php_gtk.c:293
#10 0x00007fffef0e6b84 in php_gtk_startup_all_extensions (module_number=27) at
main/php_gtk_ext.c:42
#11 0x00007fffef0d3b40 in zm_activate_gtk (type=2, module_number=27,
tsrm_ls=0xfbf090) at /src/build/php-gtk-121102/main/php_gtk.c:211
#12 0x000000000069b3f4 in php_load_extension (filename=0x7ffff7e8d550
"php_gtk2.so", type=2, start_now=0, tsrm_ls=0xfbf090)
    at /src/build/php-5.4.8/ext/standard/dl.c:248
#13 0x000000000069b46e in php_dl (file=0x7ffff7e8d550 "php_gtk2.so", type=2,
return_value=0x7ffff7eb0bd8, start_now=0, tsrm_ls=0xfbf090)
    at /src/build/php-5.4.8/ext/standard/dl.c:263
#14 0x000000000069af40 in zif_dl (ht=1, return_value=0x7ffff7eb0bd8,
return_value_ptr=0x0, this_ptr=0x0, return_value_used=0, tsrm_ls=0xfbf090)
    at /src/build/php-5.4.8/ext/standard/dl.c:85
#15 0x000000000086c289 in execute_internal (execute_data_ptr=0x7ffff7f96d28,
return_value_used=0, tsrm_ls=0xfbf090) at /src/build/php-
5.4.8/Zend/zend_execute.c:1480
#16 0x00000000005466b6 in atlunix_zend_execute_internal
(execute_data_ptr=0x7ffff7f96d28, return_value_used=0, tsrm_ls=0xfbf090)
    at /src/build/php-5.4.8/ext/atlunix/main/atlunix.c:404
#17 0x000000000086ea87 in zend_do_fcall_common_helper_SPEC
(execute_data=0x7ffff7f96d28, tsrm_ls=0xfbf090) at /src/build/php-
5.4.8/Zend/zend_vm_execute.h:644
#18 0x000000000087730a in ZEND_DO_FCALL_SPEC_CONST_HANDLER
(execute_data=0x7ffff7f96d28, tsrm_ls=0xfbf090) at /src/build/php-
5.4.8/Zend/zend_vm_execute.h:2235
#19 0x000000000086ca40 in execute (op_array=0x11d36a0, tsrm_ls=0xfbf090) at
/src/build/php-5.4.8/Zend/zend_vm_execute.h:410
#20 0x000000000082a79c in zend_execute_scripts (type=8, tsrm_ls=0xfbf090,
retval=0x0, file_count=3) at /src/build/php-5.4.8/Zend/zend.c:1309
#21 0x0000000000779e66 in php_execute_script (primary_file=0x7fffffffe430,
tsrm_ls=0xfbf090) at /src/build/php-5.4.8/main/main.c:2482
#22 0x0000000000992a12 in do_cli (argc=2, argv=0x7fffffffe7e8, tsrm_ls=0xfbf090)
at /src/build/php-5.4.8/sapi/cli/php_cli.c:988
#23 0x0000000000993ced in main (argc=2, argv=0x7fffffffe7e8) at /src/build/php-
5.4.8/sapi/cli/php_cli.c:1364



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



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

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