ID:               46444
 Updated by:       [EMAIL PROTECTED]
 Reported By:      hostmaster at uuism dot net
 Status:           Feedback
 Bug Type:         Session related
 Operating System: Fedora Core 4
 PHP Version:      5.2CVS-2008-10-31
 New Comment:

And what was the configure line you used to compile PHP?


Previous Comments:
------------------------------------------------------------------------

[2008-11-01 23:20:54] [EMAIL PROTECTED]

Are you loading any shared extensions? 

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

[2008-11-01 22:49:16] hostmaster at uuism dot net

I ran the test again with the php.ini-recommended and only the
extension_dir changed.  Same results.

Jim

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

[2008-11-01 22:37:17] hostmaster at uuism dot net

I ran the test again with php.ini-dist (only changed extension_dir) 
and got the same results:

[snip]
Core was generated by `sapi/cli/php -d output_handler= -d open_basedir=
-d safe_mode=0 -d disable_func'.
Program terminated with signal 11, Segmentation fault.
#0  php_session_start () at
/usr/local/src/php5.2-200810312330/ext/session/session.c:621
621             if (PG(register_long_arrays)) {
(gdb) bt
#0  php_session_start () at
/usr/local/src/php5.2-200810312330/ext/session/session.c:621
#1  0x08190520 in zif_session_start (ht=0, return_value=0xb7ca107c,
return_value_ptr=0x0, this_ptr=0x0, return_value_used=0)
    at /usr/local/src/php5.2-200810312330/ext/session/session.c:1824
#2  0x082b8f5a in zend_do_fcall_common_helper_SPEC
(execute_data=0xbf9b735c)
    at /usr/local/src/php5.2-200810312330/Zend/zend_vm_execute.h:200
#3  0x082a894f in execute (op_array=0xb7ca1544) at
/usr/local/src/php5.2-200810312330/Zend/zend_vm_execute.h:92
#4  0x08287eb0 in zend_execute_scripts (type=8, retval=0x0,
file_count=3)
    at /usr/local/src/php5.2-200810312330/Zend/zend.c:1134
#5  0x08240d23 in php_execute_script (primary_file=0xbf9b9758) at
/usr/local/src/php5.2-200810312330/main/main.c:2011
#6  0x0831013b in main (argc=59, argv=0xbf9b9874) at
/usr/local/src/php5.2-200810312330/sapi/cli/php_cli.c:1134
(gdb) quit

[EMAIL PROTECTED] php5.2-200810312330]# diff php.ini-dist
/etc/php-5.2.6/php.ini | more
486c486
< extension_dir = "./"
---
> extension_dir = "/usr/local/src/php5.2-200810312330/modules"

Jim

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

[2008-11-01 21:07:55] [EMAIL PROTECTED]

How does your php.ini differ from the php.ini-dist (or php.ini-
recommended, whichever you used) ?

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

[2008-11-01 21:04:16] hostmaster at uuism dot net

I've never done this.  Is this what you need?

First, I ran the test and got a core dump.

#gdb sapi/cli/php core.29958
GNU gdb 6.7.1
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show
copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".

warning: Can't read pathname for load map: Input/output error.
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1

Reading symbols from xxxxx...done.
Loaded symbols for xxxxx
[repeated many times]
Core was generated by `sapi/cli/php -d output_handler= -d open_basedir=
-d safe_mode=0 -d disable_func'.
Program terminated with signal 11, Segmentation fault.
#0  php_session_start () at
/usr/local/src/php5.2-200810312330/ext/session/session.c:621
621             if (PG(register_long_arrays)) {

(gdb) bt
#0  php_session_start () at
/usr/local/src/php5.2-200810312330/ext/session/session.c:621
#1  0x08190520 in zif_session_start (ht=0, return_value=0xb7c361ec,
return_value_ptr=0x0, this_ptr=0x0, return_value_used=0)
    at /usr/local/src/php5.2-200810312330/ext/session/session.c:1824
#2  0x082b8f5a in zend_do_fcall_common_helper_SPEC
(execute_data=0xbffb612c)
    at /usr/local/src/php5.2-200810312330/Zend/zend_vm_execute.h:200
#3  0x082a894f in execute (op_array=0xb7c366b4) at
/usr/local/src/php5.2-200810312330/Zend/zend_vm_execute.h:92
#4  0x08287eb0 in zend_execute_scripts (type=8, retval=0x0,
file_count=3)
    at /usr/local/src/php5.2-200810312330/Zend/zend.c:1134
#5  0x08240d23 in php_execute_script (primary_file=0xbffb8528) at
/usr/local/src/php5.2-200810312330/main/main.c:2011
#6  0x0831013b in main (argc=59, argv=0xbffb8644) at
/usr/local/src/php5.2-200810312330/sapi/cli/php_cli.c:1134

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

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

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

Reply via email to