ID:               32282
 User updated by:  gabriel at telana dot com
 Reported By:      gabriel at telana dot com
 Status:           Open
 Bug Type:         MySQLi related
 Operating System: Linux 2.6 (custom, based on FC1)
-PHP Version:      5CVS-2005-03-14
+PHP Version:      5.0.4
 New Comment:

Still segfaults with 5.0.4.  Is there anything else I can do to help
you guys figure this out?  An account on my system or something?


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

[2005-03-14 22:59:57] gabriel at telana dot com

No luck, still segfaults :(  Here's the backtrace:

#0  0x00000000005ee5a1 in zend_object_store_get_object (zobject=0x0)
    at /home/korsoft/php5-200503142130/Zend/zend_objects_API.c:200
#1  0x000000000045837f in php_mysqli_fetch_into_hash (ht=2,
    return_value=0x91d350, this_ptr=0x0, return_value_used=1,
    override_flags=0, into_object=0)
    at /home/korsoft/php5-200503142130/ext/mysqli/mysqli.c:778
#2  0x0000000000464c18 in zif_mysqli_fetch_array (ht=2,
return_value=0x91d350,
    this_ptr=0x0, return_value_used=1)
    at /home/korsoft/php5-200503142130/ext/mysqli/mysqli_nonapi.c:147
#3  0x00000000005fcff2 in zend_do_fcall_common_helper_SPEC (
    execute_data=0x7fffffffd0b0) at zend_vm_execute.h:175
#4  0x00000000006000f9 in ZEND_DO_FCALL_SPEC_CONST_HANDLER (
    execute_data=0x7fffffffd0b0) at zend_vm_execute.h:1535
#5  0x00000000005fcc56 in execute (op_array=0x933cf0) at
zend_vm_execute.h:78
#6  0x00000000005d18fe in zend_execute_scripts (type=8, retval=0x0,
    file_count=3) at /home/korsoft/php5-200503142130/Zend/zend.c:1058
#7  0x0000000000584dbe in php_execute_script
(primary_file=0x7ffffffff790)
    at /home/korsoft/php5-200503142130/main/main.c:1637
#8  0x0000000000655395 in main (argc=4, argv=0x7ffffffff918)
    at /home/korsoft/php5-200503142130/sapi/cli/php_cli.c:944

My apologies, I should have tried a cvs snapshot before submitting the
bug report.

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

[2005-03-14 22:32:19] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip



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

[2005-03-11 23:34:24] gabriel at telana dot com

Description:
------------
This is exactly the same as bug #28933, except it's still happening for
me on PHP 5.0.3 on x86_64.  I would have added a comment to that bug but
it's been closed.

The only other info I've seen on the net related to this is something
about mixing 32-bit and 64-bit libraries.  I'm running a pure 64-bit
system so that's not the problem.

I tested this with the simplest possible configuration: "./configure
--with-mysqli=/usr/bin/mysql_config" and ran the test script
(functionally identical with the one in #28933) with the CLI version,
using php.ini-dist.

Tested with mysql versions 4.1.7 and 4.1.10.

Reproduce code:
---------------
See bug #28933

Expected result:
----------------
PHP to not segfault :)

Actual result:
--------------
PHP segfaults :(


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


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

Reply via email to