Custom Query (267 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (7 - 9 of 267)

1 2 3 4 5 6 7 8 9 10 11 12 13
Ticket Resolution Summary Owner Reporter
#297 fixed Segmentation fault on php execution moo sknaetsch
Description

Using xcache version 3.0.1 on Solaris 10 SPARC leading to coredump with php version 5.4.10.

Here are some useful information from the system and also an patch which resolved the problem on the system:

uname –a SunOS buildhost 5.10 Generic_147440-10 sun4u sparc SUNW,SPARC-Enterprise

gcc –v Target: sparc-sun-solaris2.10 Thread model: posix gcc version 4.6.3 (OpenPKG-CURRENT)

Backtrace: Reading symbols from /php...(no debugging symbols found)...done. [New LWP 1] [Thread debugging using libthread_db enabled] [New Thread 1 (LWP 1)] Core was generated by `php -i'. Program terminated with signal 10, Bus error. #0 0xfd1f73e0 in xcache_OnUpdateULong () from /php-xcache/xcache.so (gdb) bt #0 0xfd1f73e0 in xcache_OnUpdateULong () from /php-xcache/xcache.so #1 0x00527e40 in zend_register_ini_entries () #2 0xfd1f6188 in zm_startup_xcache () from /php-xcache/xcache.so #3 0x005100a0 in zend_startup_module_ex () #4 0x0051c028 in zend_hash_apply () #5 0x005107dc in zend_startup_modules () #6 0x00458648 in php_module_startup () #7 0x006593c4 in ?? () #8 0x006593c4 in ?? ()

Patch: --- xcache-3.0.1/xcache.c 2012-12-19 09:44:31.000000000 +0100 +++ xcache-fixed/xcache.c 2013-01-14 15:01:33.126570800 +0100 @@ -720,7 +720,7 @@ /* {{{ PHP_INI */ PHP_INI_BEGIN()

PHP_INI_ENTRY1 ("xcache.coredump_directory", "", PHP_INI_SYSTEM, xcache_OnUpdateString, &xc_coredump_dir)

  • PHP_INI_ENTRY1 ("xcache.coredump_type", "0", PHP_INI_SYSTEM, xcache_OnUpdateULong, &xc_coredump_type)

+ PHP_INI_ENTRY1 ("xcache.coredump_type", "0", PHP_INI_SYSTEM, xcache_OnUpdateBool, &xc_coredump_type)

PHP_INI_ENTRY1_EX ("xcache.disable_on_crash", "0", PHP_INI_SYSTEM, xcache_OnUpdateBool, &xc_disable_on_crash, zend_ini_boolean_displayer_cb) PHP_INI_ENTRY1_EX ("xcache.test", "0", PHP_INI_SYSTEM, xcache_OnUpdateBool, &xc_test, zend_ini_boolean_displayer_cb) STD_PHP_INI_BOOLEAN("xcache.experimental", "0", PHP_INI_ALL, OnUpdateBool?, experimental, zend_xcache_globals, xcache_globals)

#296 fixed Multiple instances of the same software causes PHP "cannot redeclare class" errors when xcache enabled dschnepper specky_rum
Description

PHP 5.4.3 Apache 2.2.22 64bit. Win 2008 64bit xcache 2.0.1

We have several instance of the Drupal CMS installed on our server which means several copies of the same files and file structure, just in different base directories. We do this so we can break a development version and not affect live, however, they run through one Apache instance and therefore one PHP and xcache instance.

It appears that when xcache is enabled we get frequent but intermittent and apparently fairly random "cannot redeclare class" errors in the PHP error log. These are fatal errors so the page completely fails when this happens. Disabling xcache completely eliminates the problem.

Since these errors are usually caused by either loading the same file twice (include instead of include_once) or by loading two files which have the same class declared in them I wonder if xcache is not using the entire filepath to identify cached files? After all, we have several instances of the same file, each of which has the same size etc.

Evidence for this comes from the error stack which shows the source of the error itself from instance A where all the other entries in the stack are in instance B. This should never happen and as stated, when xcache is disabled, it doesn't.

#295 fixed PHP 5.4.9 TRAITS with Xcache -> SEG FAULT moo alexz
Description

Hi!

Have a problem with php traits and xcache! Whenever I try to use traits apache has an segmentation fault. If I disable Xcache everything works fine, if I re-enable it it crashes again!

System ENV:

Ubuntu 12.04 PHP 5.4.9-4~precise+1 Apache2 XCache 3.0.0

Thanks for support! alex

Full GDB Trace:

Thread 1 (Thread 0x7fbec1f99740 (LWP 4020)):
#0  zend_mm_remove_from_free_list (heap=0x7fbec2477c40, mm_block=0x7fbea484adb0) at /build/buildd/php5-5.4.9/Zend/zend_alloc.c:833
        next = 0x65527465735f7473
#1  0x00007fbebe315c90 in _zend_mm_free_int (heap=0x7fbec2477c40, p=0x7fbea484adc0) at /build/buildd/php5-5.4.9/Zend/zend_alloc.c:2101
        mm_block = 0x7fbea484adb0
        next_block = 0x7fbea484adb0
        size = 0
#2  0x00007fbebe3326f8 in zend_clear_trait_method_name (op_array=0x7fbec2cb0ad8) at /build/buildd/php5-5.4.9/Zend/zend_opcode.c:273
No locals.
#3  0x00007fbebe34b074 in zend_hash_apply (ht=0x7fbec2cb07c0, apply_func=0x7fbebe3326e0 <zend_clear_trait_method_name>) at /build/buildd/php5-5.4.9/Zend/zend_hash.c:716
        result = -1026881640
        p = 0x7fbec2cb0a68
#4  0x00007fbebe332dcf in destroy_zend_class (pce=0x7fbec2477c40) at /build/buildd/php5-5.4.9/Zend/zend_opcode.c:312
        ce = 0x7fbec2cb0798
#5  0x00007fbebe332e17 in _destroy_zend_class_traits_info (ce=0x7fbec2c9fcc8) at /build/buildd/php5-5.4.9/Zend/zend_opcode.c:221
        i = 0
#6  0x00007fbebe332ca2 in destroy_zend_class (pce=0x7fbec2477c40) at /build/buildd/php5-5.4.9/Zend/zend_opcode.c:323
        ce = 0x7fbec2c9fcc8
#7  0x00007fbebe3497f5 in zend_hash_apply_deleter () at /build/buildd/php5-5.4.9/Zend/zend_hash.c:650
No locals.
#8  0x00007fbebe34b331 in zend_hash_reverse_apply (ht=0x7fbec24785a0, apply_func=0x7fbebe32da10 <clean_non_persistent_class>) at /build/buildd/php5-5.4.9/Zend/zend_hash.c:804
        result = 1
#9  0x00007fbebe32e136 in shutdown_executor () at /build/buildd/php5-5.4.9/Zend/zend_execute_API.c:305
        __orig_bailout = <incomplete type>
        __bailout = {{__jmpbuf = {3198472128, 32702, 1352255362, 3448805185, 3252416672, 32702, 0, 0}, __mask_was_saved = 0, __saved_mask = {__val = {1434306434, 3448805149, 0, 0, 3142056427, 32702, 3198449632, 32702, 3198470208, 32702, 
                3259198880, 32702, 3259188672, 32702, 3259198856, 32702}}}}
        __bailout = {{__jmpbuf = {3198472128, 32702, 1352255362, 3448805185, 3252416672, 32702, 0, 0}, __mask_was_saved = 0, __saved_mask = {__val = {1434306434, 3448805149, 0, 0, 3142056427, 32702, 3198449632, 32702, 3198470208, 32702, 
                3259198880, 32702, 3259188672, 32702, 3259198856, 32702}}}}
        __bailout = {{__jmpbuf = {3198472128, 32702, 1352255362, 3448805185, 3252416672, 32702, 0, 0}, __mask_was_saved = 0, __saved_mask = {__val = {1434306434, 3448805149, 0, 0, 3142056427, 32702, 3198449632, 32702, 3198470208, 32702, 
                3259198880, 32702, 3259188672, 32702, 3259198856, 32702}}}}
        __bailout = {{__jmpbuf = {3198472128, 32702, 1352255362, 3448805185, 3252416672, 32702, 0, 0}, __mask_was_saved = 0, __saved_mask = {__val = {1434306434, 3448805149, 0, 0, 3142056427, 32702, 3198449632, 32702, 3198470208, 32702, 
                3259198880, 32702, 3259188672, 32702, 3259198856, 32702}}}}
        __bailout = {{__jmpbuf = {3198472128, 32702, 1352255362, 3448805185, 3252416672, 32702, 0, 0}, __mask_was_saved = 0, __saved_mask = {__val = {1434306434, 3448805149, 0, 0, 3142056427, 32702, 3198449632, 32702, 3198470208, 32702, 
                3259198880, 32702, 3259188672, 32702, 3259198856, 32702}}}}
        __bailout = {{__jmpbuf = {3198472128, 32702, 1352255362, 3448805185, 3252416672, 32702, 0, 0}, __mask_was_saved = 0, __saved_mask = {__val = {1434306434, 3448805149, 0, 0, 3142056427, 32702, 3198449632, 32702, 3198470208, 32702, 
                3259198880, 32702, 3259188672, 32702, 3259198856, 32702}}}}
        __bailout = {{__jmpbuf = {3198472128, 32702, 1352255362, 3448805185, 3252416672, 32702, 0, 0}, __mask_was_saved = 0, __saved_mask = {__val = {1434306434, 3448805149, 0, 0, 3142056427, 32702, 3198449632, 32702, 3198470208, 32702, 
                3259198880, 32702, 3259188672, 32702, 3259198856, 32702}}}}
        __bailout = {{__jmpbuf = {3198472128, 32702, 1352255362, 3448805185, 3252416672, 32702, 0, 0}, __mask_was_saved = 0, __saved_mask = {__val = {1434306434, 3448805149, 0, 0, 3142056427, 32702, 3198449632, 32702, 3198470208, 32702, 
                3259198880, 32702, 3259188672, 32702, 3259198856, 32702}}}}
        __bailout = {{__jmpbuf = {3198472128, 32702, 1352255362, 3448805185, 3252416672, 32702, 0, 0}, __mask_was_saved = 0, __saved_mask = {__val = {1434306434, 3448805149, 0, 0, 3142056427, 32702, 3198449632, 32702, 3198470208, 32702, 
                3259198880, 32702, 3259188672, 32702, 3259198856, 32702}}}}
        __orig_bailout = <incomplete type>
        __bailout = {{__jmpbuf = {3198472128, 32702, 1352255362, 3448805185, 3252416672, 32702, 0, 0}, __mask_was_saved = 0, __saved_mask = {__val = {1434306434, 3448805149, 0, 0, 3142056427, 32702, 3198449632, 32702, 3198470208, 32702, 
                3259198880, 32702, 3259188672, 32702, 3259198856, 32702}}}}
        __bailout = {{__jmpbuf = {3198472128, 32702, 1352255362, 3448805185, 3252416672, 32702, 0, 0}, __mask_was_saved = 0, __saved_mask = {__val = {1434306434, 3448805149, 0, 0, 3142056427, 32702, 3198449632, 32702, 3198470208, 32702, 
                3259198880, 32702, 3259188672, 32702, 3259198856, 32702}}}}
        __bailout = {{__jmpbuf = {3198472128, 32702, 1352255362, 3448805185, 3252416672, 32702, 0, 0}, __mask_was_saved = 0, __saved_mask = {__val = {1434306434, 3448805149, 0, 0, 3142056427, 32702, 3198449632, 32702, 3198470208, 32702, 
                3259198880, 32702, 3259188672, 32702, 3259198856, 32702}}}}
#10 0x00007fbebe33cdc5 in zend_deactivate () at /build/buildd/php5-5.4.9/Zend/zend.c:938
        __orig_bailout = <incomplete type>
---Type <return> to continue, or q <return> to quit---
        __bailout = {{__jmpbuf = {0, 0, 3198470208, 32702, 3204040578, 3448804975, 3252416672, 32702}, __mask_was_saved = -1254897790, __saved_mask = {__val = {0, 0, 0, 0, 0, 0, 3259177752, 32702, 8192, 0, 294, 0, 0, 0, 3198470208, 32702}}}}
        __orig_bailout = <incomplete type>
        __bailout = {{__jmpbuf = {0, 0, 3198470208, 32702, 3204040578, 3448804975, 3252416672, 32702}, __mask_was_saved = -1254897790, __saved_mask = {__val = {0, 0, 0, 0, 0, 0, 3259177752, 32702, 8192, 0, 294, 0, 0, 0, 3198470208, 32702}}}}
        __orig_bailout = <incomplete type>
        __bailout = {{__jmpbuf = {0, 0, 3198470208, 32702, 3204040578, 3448804975, 3252416672, 32702}, __mask_was_saved = -1254897790, __saved_mask = {__val = {0, 0, 0, 0, 0, 0, 3259177752, 32702, 8192, 0, 294, 0, 0, 0, 3198470208, 32702}}}}
        __orig_bailout = <incomplete type>
        __bailout = {{__jmpbuf = {0, 0, 3198470208, 32702, 3204040578, 3448804975, 3252416672, 32702}, __mask_was_saved = -1254897790, __saved_mask = {__val = {0, 0, 0, 0, 0, 0, 3259177752, 32702, 8192, 0, 294, 0, 0, 0, 3198470208, 32702}}}}
        __orig_bailout = <incomplete type>
        __bailout = {{__jmpbuf = {0, 0, 3198470208, 32702, 3204040578, 3448804975, 3252416672, 32702}, __mask_was_saved = -1254897790, __saved_mask = {__val = {0, 0, 0, 0, 0, 0, 3259177752, 32702, 8192, 0, 294, 0, 0, 0, 3198470208, 32702}}}}
        __orig_bailout = <incomplete type>
        __bailout = {{__jmpbuf = {0, 0, 3198470208, 32702, 3204040578, 3448804975, 3252416672, 32702}, __mask_was_saved = -1254897790, __saved_mask = {__val = {0, 0, 0, 0, 0, 0, 3259177752, 32702, 8192, 0, 294, 0, 0, 0, 3198470208, 32702}}}}
        __orig_bailout = <incomplete type>
        __bailout = {{__jmpbuf = {0, 0, 3198470208, 32702, 3204040578, 3448804975, 3252416672, 32702}, __mask_was_saved = -1254897790, __saved_mask = {__val = {0, 0, 0, 0, 0, 0, 3259177752, 32702, 8192, 0, 294, 0, 0, 0, 3198470208, 32702}}}}
#11 0x00007fbebe2dc117 in php_request_shutdown (dummy=0x7fbec2477c40) at /build/buildd/php5-5.4.9/main/main.c:1790
        report_memleaks = 1 '\001'
#12 0x00007fbebe3e6997 in php_handler (r=0x7fbebe3e6997) at /build/buildd/php5-5.4.9/sapi/apache2handler/sapi_apache2.c:520
        ctx = 0x1
        conf = 0x7fbec1dbf0a0
        brigade = 0x7fbec1db4278
        bucket = 0x65757165725f7274
        rv = 1918857844
        parent_req = 0x7fbec1db4a38
#13 0x00007fbec1feb508 in ap_run_handler ()
No symbol table info available.
#14 0x00007fbec1feb97e in ap_invoke_handler ()
No symbol table info available.
#15 0x00007fbec1ffb570 in ap_process_request ()
No symbol table info available.
#16 0x00007fbec1ff8398 in ?? ()
No symbol table info available.
#17 0x00007fbec1ff1fa8 in ap_run_process_connection ()
No symbol table info available.
#18 0x00007fbec20001d0 in ?? ()
No symbol table info available.
#19 0x00007fbec200093a in ?? ()
No symbol table info available.
#20 0x00007fbec20014e7 in ap_mpm_run ()
No symbol table info available.
#21 0x00007fbec1fd64a4 in main ()
No symbol table info available.
1 2 3 4 5 6 7 8 9 10 11 12 13
Note: See TracQuery for help on using queries.