| 
        php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             
             [2004-04-06 11:01 UTC] sniper@php.net
  | 
    |||||||||||||||||||||||||||
            
                 
                Copyright © 2001-2025 The PHP GroupAll rights reserved.  | 
        Last updated: Tue Nov 04 06:00:01 2025 UTC | 
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.