|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-02-14 12:22 UTC] php at lokedupont dot info
[2010-02-14 12:33 UTC] pajoye@php.net
[2010-02-14 19:41 UTC] php at lokedupont dot info
[2010-02-14 20:15 UTC] pajoye@php.net
[2010-02-16 10:43 UTC] php at lokedupont dot info
[2010-02-16 10:45 UTC] pajoye@php.net
[2010-02-24 01:00 UTC] php-bugs at lists dot php dot net
[2010-04-25 20:03 UTC] felipe@php.net
-Status: No Feedback
+Status: Feedback
[2010-04-25 20:03 UTC] felipe@php.net
[2010-09-01 20:07 UTC] stas@php.net
-Status: Feedback
+Status: No Feedback
[2010-09-01 20:07 UTC] stas@php.net
[2013-08-08 10:34 UTC] admin at vodoo dot ro
[2013-08-08 10:55 UTC] yohgaki@php.net
-Status: No Feedback
+Status: Re-Opened
-PHP Version: 5.3.1
+PHP Version: 5.4.17
[2013-08-08 10:55 UTC] yohgaki@php.net
[2013-08-08 10:58 UTC] yohgaki@php.net
[2013-08-08 17:51 UTC] stas@php.net
-Status: Re-Opened
+Status: Feedback
[2013-10-15 11:54 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 07:00:02 2025 UTC |
Description: ------------ apache crashes on a return statement in php5 uwing Zend Framework 1.10 on the following line: return $dbSelect; If this line is removed, no creashes are experienced. Reproduce code: --------------- The function in which the line resides protected function _authenticateCreateSelect() { [UNRELATED CODE REMOVED] // get select $dbSelect = clone $this->getDbSelect(); $dbSelect->from($this->_tableName, array('*', $credentialExpression)) ->where($this->_zendDb->quoteIdentifier($this->_identityColumn, true) . ' = ?', $this->_identity); return $dbSelect; } This is part of Zend Auth Adapter DbTable in Zend Framework. Expected result: ---------------- Working auth using Zend Framework Actual result: -------------- Blank page returned. [Sun Feb 14 01:20:39 2010] [notice] child pid 73195 exit signal Segmentation fault (11) in apaches logfiles. Backtrace: Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: 13 at address: 0x0000000000000000 0x00000001011acf85 in _zend_mm_free_int () (gdb) bt #0 0x00000001011acf85 in _zend_mm_free_int () #1 0x00000001011ee213 in zend_std_write_property () #2 0x000000010123144f in zend_assign_to_object () #3 0x0000000101231ccd in ZEND_ASSIGN_OBJ_SPEC_UNUSED_CONST_HANDLER () #4 0x00000001011f0adb in execute () #5 0x00000001011c119c in zend_call_function () #6 0x00000001011e33c9 in zend_call_method () #7 0x00000001011ec0d8 in zend_std_cast_object_tostring () #8 0x0000000101210f92 in ZEND_ECHO_SPEC_VAR_HANDLER () #9 0x00000001011f0adb in execute () #10 0x00000001011cc5eb in zend_execute_scripts () #11 0x00000001011758ff in php_execute_script () #12 0x000000010125b64c in php_handler () #13 0x000000010000149b in ap_run_handler () #14 0x000000010000331a in ap_invoke_handler () #15 0x0000000100024d28 in ap_process_request () #16 0x0000000100021998 in ap_process_http_connection () #17 0x000000010000ebeb in ap_run_process_connection () #18 0x00000001000295bd in child_main () #19 0x00000001000297df in make_child () #20 0x000000010002a469 in ap_mpm_run () #21 0x0000000100007e58 in main () (gdb)