From:             eduard at seua dot am
Operating system: Windows XP
PHP version:      4.3.5
PHP Bug Type:     Sybase-ct (ctlib) related
Bug description:  php.exe Application error when calling sybase_free_result() function

Description:
------------
When calling sybase_free_result() "php.exe - Application Error" window
appeared with the "The memory could not be "written"" message.



This is happen only when calling sybase_free_result() function.



OS: Windows XP (Version 5.1, Service Pack 1)

PHP Ver: 4.3.5 

Web Server: IIS (Version. 5.1)

PHP running in CGI mode

Sybase: Sybase ASE 12.5 (Sybase running on other Windows NT machine)





Reproduce code:
---------------
<?php 



$syb_con = sybase_connect("LOCAL_SYBASE", "sa", "");

sybase_select_db ("master", $syb_con);

$res = sybase_query("select * from spt_jdbc_conversion", $syb_con) or
die(sybase_get_last_message());

while ($line = sybase_fetch_assoc($res))

        $all[] = $line;

sybase_free_result($res);

sybase_close($syb_con); 

?>

Expected result:
----------------
Associated result memory will be freed  without php.exe error.


-- 
Edit bug report at http://bugs.php.net/?id=27888&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=27888&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=27888&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=27888&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=27888&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=27888&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=27888&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=27888&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=27888&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=27888&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=27888&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=27888&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=27888&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27888&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=27888&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=27888&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=27888&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27888&r=float

Reply via email to