ID: 33441
Comment by: fred at gigaloo dot net
Reported By: bender at technofor dot us
Status: No Feedback
Bug Type: Apache related
Operating System: FreeBSD 5.4-STABLE
PHP Version: 4.4.0RC1
New Comment:
I had the same bug.
It's now solved by using this:
portupgrade -Rf php4-session
Previous Comments:
------------------------------------------------------------------------
[2005-07-04 01:00:04] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2005-06-26 12:42:39] [EMAIL PROTECTED]
And next compile session extension statically into PHP.
(--enable-session without the =shared part!)
And REALLY come up with a SHORT reproducing script without any
include/require, etc. external crap we have no access to.
------------------------------------------------------------------------
[2005-06-25 12:03:16] bender at technofor dot us
Hmm Im not sure how to create reproducible script . But If I shortened
the mailbox.php script to this lines :
<?php
/**
* Find out the base URI to set cookies.
*/
define('SM_PATH','../');
if (!function_exists('sqm_baseuri')){
require_once(SM_PATH . 'functions/display_messages.php');
}
?>
And did gdb it's will give me this output :
(gdb) bt
#0 0x080ca91e in _zval_ptr_dtor (zval_ptr=0x28a63928) at
/usr/home/bender/php-4.4.0RC1/Zend/zend_execute_API.c:287
#1 0x080a493e in var_destroy (var_hashx=0x1) at
/usr/home/bender/php-4.4.0RC1/ext/standard/var_unserializer.c:132
#2 0x28a5ce9b in ps_srlzr_decode_php () from
/usr/local/lib/php/20020429/session.so
#3 0x28a5d1ed in php_session_decode () from
/usr/local/lib/php/20020429/session.so
#4 0x28a5d522 in php_session_initialize () from
/usr/local/lib/php/20020429/session.so
#5 0x28a5ee15 in php_session_start () from
/usr/local/lib/php/20020429/session.so
#6 0x28a604e0 in zif_session_start () from
/usr/local/lib/php/20020429/session.so
#7 0x080e3f92 in execute (op_array=0x81f5300) at
/usr/home/bender/php-4.4.0RC1/Zend/zend_execute.c:1671
#8 0x080e1bc0 in execute (op_array=0x81ccb0c) at
/usr/home/bender/php-4.4.0RC1/Zend/zend_execute.c:1715
#9 0x080e2484 in execute (op_array=0x81cc00c) at
/usr/home/bender/php-4.4.0RC1/Zend/zend_execute.c:2257
#10 0x080e2484 in execute (op_array=0x81c8d8c) at
/usr/home/bender/php-4.4.0RC1/Zend/zend_execute.c:2257
#11 0x080e2484 in execute (op_array=0x81c8b0c) at
/usr/home/bender/php-4.4.0RC1/Zend/zend_execute.c:2257
#12 0x080d3023 in zend_execute_scripts (type=8, retval=0x0,
file_count=3) at /usr/home/bender/php-4.4.0RC1/Zend/zend.c:938
#13 0x080ac4b8 in php_execute_script (primary_file=0xbfbfebbc) at
/usr/home/bender/php-4.4.0RC1/main/main.c:1751
#14 0x080eb34d in main (argc=2, argv=0xbfbfec3c) at
/usr/home/bender/php-4.4.0RC1/sapi/cli/php_cli.c:828
After that I tryed to run display_messages.php but it don't crashes and
don't give any gbd .
Maybe I can give access to my server for you and you will better check
what's wrong ? If this gdb dosen't help too much ...
Regards
------------------------------------------------------------------------
[2005-06-25 09:35:47] [EMAIL PROTECTED]
Obviously there is going something wrong, but it would really help us
if you could come up with a short reproducable script. It seems related
to user defined sessions, but can you recreate one of the backtrace
where you have the session module compiled in statically (and not as a
shared object)? (You also don't have to put the core files online, as
they are useles without the system they were generated on).
------------------------------------------------------------------------
[2005-06-25 01:19:11] bender at technofor dot us
Ok. I just installed the 4.4.0RC1 again with --enable-debug and
disabled zend optimizer if Im correct in php.ini file ? I comented out
this lines :
;[Zend]
;zend_optimizer.optimization_level=15
;zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-2.5.10
;zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-2.5.10
;
;zend_optimizer.version=2.5.10
;zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
;zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
Stoped and started apache after that .
And created new gdb and core files
Squire webmail
Core : www technofor.us/belenkas/php_webmail.core
gdb : www technofor.us/belenkas/gdb_mail
Tunez
Core: www technofor.us/belenkas/tunez_php.core
gdb : www technofor.us/belenkas/tunez_gdb
Callendar
Core: www technofor.us/belenkas/calendar.core
gdb: www technofor.us/belenkas/calendrar_gbd
Regards
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/33441
--
Edit this bug report at http://bugs.php.net/?id=33441&edit=1