ID:               21890
 Updated by:       [EMAIL PROTECTED]
 Reported By:      hans dot wolters at chello dot nl
-Status:           Open
+Status:           Suspended
 Bug Type:         MySQL related
 Operating System: Linux kernel 2.4.20-pre5
 PHP Version:      5CVS-2003-01-26 (dev)
 New Comment:

Unable to reproduce on WinXP with PHP5 (latest snap), mysql (latest
build)... Suspending issue until more feedback is issued.

~ Andrew Heebner


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

[2003-01-27 18:05:05] hans dot wolters at chello dot nl

Hi Magnus,

Last remarks. I compiled a new installed mysql (4.0.x) and therefor I
was able to use --with-mysql=/path... in the php configure. It doesn't
barf anymore.

Think the error might be in the shipped mysql code php is using when a
user doesn't have any mysql headers installed (or a mysql development
package)

Regards,

Hans

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

[2003-01-26 16:14:27] hans dot wolters at chello dot nl

Magnus,

I think we are getting somewhere. Started gdb like you mailed, thnx for
the tip. Hope it helps.

Regards,

Hans

(gdb) bt full
#0  0x00000011 in ?? ()
No symbol table info available.
#1  0x403b9a01 in zif_mysql_fetch_object (ht=2,
return_value=0x40663e7c, 
    this_ptr=0x0, return_value_used=1)
    at
/home/software/php5/php5-200301240830/ext/mysql/php_mysql.c:1947
        return_value = (zval *) 0x40477aa8
#2  0x4049fba1 in zend_do_fcall_common_helper (execute_data=0xbfffc340,

    op_array=0x4065dd1c)
    at /home/software/php5/php5-200301240830/Zend/zend_execute.c:2563
        original_return_value = (zval **) 0x811f178
        current_scope = (zend_class_entry *) 0x6d000003
        current_this = (zval *) 0x1fa
        return_value_used = 1
#3  0x404a01d8 in zend_do_fcall_handler (execute_data=0xbfffc340, 
    op_array=0x4065dd1c)
    at /home/software/php5/php5-200301240830/Zend/zend_execute.c:2689
        fname = (zval *) 0x40667b18
#4  0x40490851 in execute (op_array=0x4065dd1c)
    at /home/software/php5/php5-200301240830/Zend/zend_execute.c:1218
        op_array = (zend_op_array *) 0x4065dd1c
        execute_data = {opline = 0x40667af4, function_state = {
    function_symbol_table = 0x40659940, function = 0x8112f30, reserved
= {
      0xbfffc38c, 0x4047f95b, 0x4, 0x72653838}}, fbc = 0x0, 
---Type <return> to continue, or q <return> to quit--- 
  fbc_constructor = 0x4047f30e, op_array = 0x4065dd1c, object = 0x0, 
  Ts = 0xbfffc194, original_in_execution = 1 '\001', calling_scope =
0x0, 
  prev_execute_data = 0xbfffc910}
#5  0x4049fcb1 in zend_do_fcall_common_helper (execute_data=0xbfffc910,

    op_array=0x814c6c8)
    at /home/software/php5/php5-200301240830/Zend/zend_execute.c:2595
        calling_symbol_table = (HashTable *) 0x4065c5fc
        original_return_value = (zval **) 0xbfffca58
        current_scope = (zend_class_entry *) 0x0
        current_this = (zval *) 0x0
        return_value_used = 1
#6  0x4049ffc1 in zend_do_fcall_by_name_handler
(execute_data=0xbfffc910, 
    op_array=0x814c6c8)
    at /home/software/php5/php5-200301240830/Zend/zend_execute.c:2659
        execute_data = (zend_execute_data *) 0xbfffc0b4
        op_array = (zend_op_array *) 0x814acd8
#7  0x40490851 in execute (op_array=0x814c6c8)
    at /home/software/php5/php5-200301240830/Zend/zend_execute.c:1218
        op_array = (zend_op_array *) 0x814c6c8
        execute_data = {opline = 0x40653924, function_state = {
    function_symbol_table = 0x4065bf8c, function = 0x4065dd1c, reserved
= {
      0x404ec340, 0x4046f6b5, 0x404ebf80, 0x2c}}, fbc = 0x4065dd1c, 
  fbc_constructor = 0x404785d2, op_array = 0x814c6c8, object =
0x4065c734, 
---Type <return> to continue, or q <return> to quit---
  Ts = 0xbfffc404, original_in_execution = 1 '\001', 
  calling_scope = 0x40659924, prev_execute_data = 0xbfffc9c0}
#8  0x4047862f in call_user_function_ex (function_table=0x404ec174, 
    object_pp=0x0, function_name=0x4065c014, retval_ptr_ptr=0xbfffca58,

    param_count=1, params=0x4065c5e4, no_separation=1,
symbol_table=0x0)
    at
/home/software/php5/php5-200301240830/Zend/zend_execute_API.c:646
        i = 1
        original_return_value = (zval **) 0xbfffcee8
        calling_symbol_table = (HashTable *) 0x404ec410
        original_function_state_ptr = (zend_function_state *)
0xbfffce14
        original_op_array = (zend_op_array *) 0x4064daf4
        original_opline_ptr = (zend_op **) 0xbfffce10
        orig_free_op1 = (zval *) 0x0
        orig_free_op2 = (zval *) 0x0
        orig_unary_op = (int (*)()) 0
        orig_binary_op = (int (*)()) 0
        function_name_copy = {value = {lval = 1080411644, 
    dval = 1.3265769022458897e-313, str = {val = 0x4065c5fc "\b", len =
6}, 
    ht = 0x4065c5fc, obj = {handle = 1080411644, handlers = 0x6}}, 
  refcount = 1, type = 3 '\003', is_ref = 0 '\0'}
        current_scope = (zend_class_entry *) 0x0
        calling_scope = (zend_class_entry *) 0x0
        current_this = (zval *) 0x0
---Type <return> to continue, or q <return> to quit---
        execute_data = {opline = 0x0, function_state = {
    function_symbol_table = 0x0, function = 0x814c6c8, reserved =
{0xbfffc9fc, 
      0x4048d336, 0x404e5830, 0x1}}, fbc = 0x0, fbc_constructor =
0x4046f713, 
  op_array = 0x0, object = 0x0, Ts = 0x0, original_in_execution = 181
'µ', 
  calling_scope = 0x404ebf80, prev_execute_data = 0xbfffce10}
#9  0x40477fe9 in call_user_function (function_table=0x404ec174, 
    object_pp=0x0, function_name=0x4065c014, retval_ptr=0x4065c5c4, 
    param_count=1, params=0xbfffcae8)
    at
/home/software/php5/php5-200301240830/Zend/zend_execute_API.c:463
        retval_ptr = (zval *) 0x4065c5c4
        param_count = 1
        params_array = (zval ***) 0x4065c5e4
        i = 17
        ex_retval = 1
        local_retval_ptr = (zval *) 0x0
#10 0x403dbe49 in ps_call_handler (func=0x4065c014, argc=1,
argv=0xbfffcae8)
    at /home/software/php5/php5-200301240830/ext/session/mod_user.c:60
        func = (zval *) 0x4065c014
        argc = 1
        i = 1
        retval = (zval *) 0x4065c5c4
#11 0x403dc0dd in ps_read_user (mod_data=0x404e8170, 
    key=0x4065c434 "809mpr512f0qa5ik039ja4q032", val=0xbfffcb24, 
---Type <return> to continue, or q <return> to quit---
    vallen=0xbfffcb28)
    at
/home/software/php5/php5-200301240830/ext/session/mod_user.c:126
        mod_data = (void **) 0xbfffc0b4
        val = (char **) 0xbfffc0b4
        vallen = (int *) 0xbfffc0b4
        args = {0x4065c574}
        retval = (zval *) 0x4065c464
        ret = -1
        mdata = (ps_user *) 0x4065c40c
#12 0x403d8b53 in php_session_initialize ()
    at /home/software/php5/php5-200301240830/ext/session/session.c:715
        val = 0x4064b7dc "[EMAIL PROTECTED]"
        vallen = 135175728
#13 0x403d9c4b in php_session_start ()
    at
/home/software/php5/php5-200301240830/ext/session/session.c:1119
        ppid = (zval **) 0x4064b808
        data = (zval **) 0x4064cc70
        p = 0x814acd8 "\001"
        send_cookie = 0
        define_sid = 0
        module_number = 4
        nrand = -1073758028
        lensess = 9
---Type <return> to continue, or q <return> to quit---
#14 0x403db090 in zif_session_start (ht=0, return_value=0x4065c3d4, 
    this_ptr=0x0, return_value_used=0)
    at
/home/software/php5/php5-200301240830/ext/session/session.c:1561
        return_value = (zval *) 0x4065c3d4
#15 0x4049fba1 in zend_do_fcall_common_helper (execute_data=0xbfffce10,

    op_array=0x4064daf4)
    at /home/software/php5/php5-200301240830/Zend/zend_execute.c:2563
        original_return_value = (zval **) 0x810f5c8
        current_scope = (zend_class_entry *) 0x73000003
        current_this = (zval *) 0x176
        return_value_used = 0
#16 0x404a01d8 in zend_do_fcall_handler (execute_data=0xbfffce10, 
    op_array=0x4064daf4)
    at /home/software/php5/php5-200301240830/Zend/zend_execute.c:2689
        fname = (zval *) 0x4064f4b0
#17 0x40490851 in execute (op_array=0x4064daf4)
    at /home/software/php5/php5-200301240830/Zend/zend_execute.c:1218
        op_array = (zend_op_array *) 0x4064daf4
        execute_data = {opline = 0x4064f48c, function_state = {
    function_symbol_table = 0x4065bf8c, function = 0x810f5c8, reserved
= {
      0x404697e0, 0x40469814, 0x404e5830, 0x1}}, fbc = 0x0, 
  fbc_constructor = 0x4064fa14, op_array = 0x4064daf4, object = 0x0, 
  Ts = 0xbfffcc64, original_in_execution = 1 '\001', calling_scope =
0x0, 
---Type <return> to continue, or q <return> to quit---
  prev_execute_data = 0xbfffd140}
#18 0x404a4b87 in zend_include_or_eval_handler
(execute_data=0xbfffd140, 
    op_array=0x4064cfbc)
    at /home/software/php5/php5-200301240830/Zend/zend_execute.c:3328
        saved_object = (zval *) 0x0
        saved_function = (zend_function *) 0x4064cfbc
        op_array = (zend_op_array *) 0x11
        new_op_array = (zend_op_array *) 0x4064daf4
        original_return_value = (zval **) 0xbfffd1c8
        return_value_used = 0
        inc_filename = (zval *) 0x4064d130
        tmp_inc_filename = {value = {lval = 217, 
    dval = 2.3639033112425256e-311, str = {
      val = 0xd9 <Address 0xd9 out of bounds>, len = 1114}, ht = 0xd9,
obj = {
      handle = 217, handlers = 0x45a}}, refcount = 860, type = 4
'\004', 
  is_ref = 248 'ø'}
        failure_retval = 0 '\0'
#19 0x40490851 in execute (op_array=0x4064cfbc)
    at /home/software/php5/php5-200301240830/Zend/zend_execute.c:1218
        op_array = (zend_op_array *) 0x4064cfbc
        execute_data = {opline = 0x4064d10c, function_state = {
    function_symbol_table = 0x404ec2d4, function = 0x4064daf4, reserved
= {
      0x404697e0, 0x40469814, 0x404e5830, 0x1}}, fbc = 0x0, 
---Type <return> to continue, or q <return> to quit---
  fbc_constructor = 0x1, op_array = 0x4064cfbc, object = 0x0, Ts =
0xbfffcee4, 
  original_in_execution = 0 '\0', calling_scope = 0xbffff3d8, 
  prev_execute_data = 0x0}
#20 0x404811a6 in zend_execute_scripts (type=8, retval=0x0,
file_count=3)
    at /home/software/php5/php5-200301240830/Zend/zend.c:996
        files = 0xbfffd1e8
        i = 1
        file_handle = (zend_file_handle *) 0xbffff3d8
        orig_op_array = (zend_op_array *) 0x0
        local_retval = (zval *) 0x0
#21 0x40456c7a in php_execute_script (primary_file=0xbffff3d8)
    at /home/software/php5/php5-200301240830/main/main.c:1691
        orig_bailout = {{__jmpbuf = {1078876208, 1078904060,
-1073744552, 
      -1073744532, -1073744908, 1078628283}, __mask_was_saved = 0, 
    __saved_mask = {__val = {0 <repeats 32 times>}}}}
        orig_bailout_set = 1 '\001'
        prepend_file_p = (zend_file_handle *) 0x0
        append_file_p = (zend_file_handle *) 0x0
        prepend_file = {type = 0 '\0', filename = 0x0, opened_path =
0x0, 
  handle = {fd = 0, fp = 0x0}, free_filename = 0 '\0'}
        append_file = {type = 0 '\0', filename = 0x0, opened_path =
0x0, 
  handle = {fd = 0, fp = 0x0}, free_filename = 0 '\0'}
        old_cwd = 0xbfffd1f4 "/usr/local/apache/bin"
---Type <return> to continue, or q <return> to quit---
        old_primary_file_path = 0x0
        retval = 0
#22 0x404a85fe in apache_php_module_main (r=0x81337a0,
display_source_mode=0)
    at
/home/software/php5/php5-200301240830/sapi/apache/sapi_apache.c:55
        orig_bailout = {{__jmpbuf = {-1073745048, 134550832, 134550460,

      134985272, 134985256, 134984640}, __mask_was_saved = 1075469058,

    __saved_mask = {__val = {28, 1078906564, 3221222744, 134985256,
135483060, 
        1912602634, 3221222316, 1075469058, 1078876208, 1078890688,
135477152, 
        1075469058, 1078876208, 1078890688, 135477152, 134552461,
134899499, 
        1967998181, 3221222332, 134552461, 135483600, 1078805746,
3221222380, 
        135483070, 29, 135477952, 3221222396, 1078627678, 9, 135477528,

        3221222396, 1078627762}}}}
        orig_bailout_set = 8 '\b'
        file_handle = {type = 2 '\002', 
  filename = 0x8135358 "/var/www/www/index.php", 
  opened_path = 0x4064d024 "C13Õ%", handle = {fd = 135561904, fp =
0x81482b0}, 
  free_filename = 0 '\0'}
#23 0x404a91de in send_php (r=0x81337a0, display_source_mode=0,
filename=0x0)
    at
/home/software/php5/php5-200301240830/sapi/apache/mod_php4.c:608
        orig_bailout = {{__jmpbuf = {0, 0, 0, 0, 0, 0},
__mask_was_saved = 0, 
    __saved_mask = {__val = {0 <repeats 32 times>}}}}
        retval = 0
        per_dir_conf = (HashTable *) 0x11
---Type <return> to continue, or q <return> to quit---
#24 0x404a9242 in send_parsed_php (r=0x81337a0)
    at
/home/software/php5/php5-200301240830/sapi/apache/mod_php4.c:623
        result = -1073758028
#25 0x08055f99 in ap_invoke_handler ()
No symbol table info available.
#26 0x0806bc4f in process_request_internal ()
No symbol table info available.
#27 0x0806bcb6 in ap_process_request ()
No symbol table info available.
#28 0x08062666 in child_main ()
No symbol table info available.
#29 0x08062845 in make_child ()
No symbol table info available.
#30 0x080629bc in startup_children ()
No symbol table info available.
#31 0x0806304d in standalone_main ()
No symbol table info available.
#32 0x080638dc in main ()
No symbol table info available.
#33 0x4014817d in __libc_start_main () from /lib/libc.so.6
No symbol table info available.

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

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

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

Reply via email to