ID:               37527
 Updated by:       [EMAIL PROTECTED]
 Reported By:      bhines at alumni dot ucsd dot edu
-Status:           Assigned
+Status:           Open
 Bug Type:         ODBC related
 Operating System: Windows XP
 PHP Version:      5.1.6
 Assigned To:      felipe
 New Comment:

Well, I can't reproduce it.


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

[2008-10-21 11:38:01] [EMAIL PROTECTED]

Was that fix applied? Does this bug exist in PHP_5_2 branch still? If
so, please update the version..

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

[2008-02-17 17:22:46] [EMAIL PROTECTED]

Possible fix:
http://felipe.ath.cx/diff/bug37527.diff

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

[2007-09-25 13:21:33] alexandra at zend dot com

Hi

There is a simple work-around to make this script work - there is a
problem with the fact that you declared the $mydb var global in one
function but not the other.
You can change the printPage() function to solve this issue.

function printPage()
{   
    global $mydb;         
  $mydb = pdb_Connect();
  odbc_close($mydb);
  print "Possibly Crashing now... ";
  $results = odbc_exec($mydb, 'SELECT * FROM _PDB_Access');  
}

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

[2006-09-29 23:22:16] bhines at alumni dot ucsd dot edu

Still occurs in 5.1.6

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

[2006-05-20 21:44:33] bhines at alumni dot ucsd dot edu

odbc32.dll!74355a16()   
        odbc32.dll!7432139f()   
        odbc32.dll!74322c5d()   
        odbc32.dll!74325fa0()   
        odbc32.dll!7432740e()   
        php5ts.dll!zif_odbc_exec(int ht=17437576, _zval_struct *
return_value=0x010af6f0, _zval_struct * * return_value_ptr=0x00000000,
_zval_struct * this_ptr=0x00000000, int return_value_used=1, void * * *
tsrm_ls=0x00032608)  Line 1285  C
        php5ts.dll!zend_do_fcall_common_helper_SPEC(_zend_execute_data *
execute_data=0x00c0fae8, void * * * tsrm_ls=0x00032608)  Line 200 +
0x35    C
        php5ts.dll!ZEND_DO_FCALL_SPEC_CONST_HANDLER(_zend_execute_data *
execute_data=0x00000000, void * * * tsrm_ls=0x00032608)  Line 1644 +
0xe     C
        php5ts.dll!execute(_zend_op_array * op_array=0x00000000, void * * *
tsrm_ls=0x010abb40)  Line 92 + 0xc      C
        php5ts.dll!_efree(void * ptr=0x011d5f60)  Line 275 + 0xc        C
        php5ts.dll!zend_llist_del_element(_zend_llist * l=0x010ad080, void *
element=0x00032608, int (void *, void *)* compare=0x00000000)  Line 99 +
0x5     C
        php5ts.dll!zend_execute_scripts(int type=2009252809, void * * *
tsrm_ls=0x00030000, _zval_struct * * retval=0x00000000, int
file_count=2009252814, ...)  Line 1100  C
        ntdll.dll!7c9106eb()    
        msvcrt.dll!77c2c3ce()   
        msvcrt.dll!77c2c3e7()   
        msvcrt.dll!77c2c42e()   
        php5ts.dll!_zend_hash_add_or_update(_hashtable * ht=0x0000000d, char
* arKey=0x010abb30, unsigned int nKeyLength=268473042, void *
pData=0x00000000, unsigned int nDataSize=206344, void * *
pDest=0x010abb18, int flag=268473024)  Line 248 + 0x2e  C
        php5ts.dll!ts_resource_ex(int id=12648368, unsigned long *
th_id=0x00000000)  Line 331     C
        php5ts.dll!php_execute_script(_zend_file_handle *
primary_file=0x00c0fedc, void * * * tsrm_ls=0x00032608)  Line 1682 +
0x31    C
        php.exe!main(int argc=2, char * * argv=0x000325c8)  Line 1094   C
        php.exe!_mainCRTStartup()  + 0xe3       
        kernel32.dll!7c816d4f()         
        kernel32.dll!7c8399f3()

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

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

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

Reply via email to