#27888 [Opn->Bgs]: php.exe Application error when calling sybase_free_result() function

From: Date: Tue, 06 Apr 2004 15:01:56 +0000
Subject: #27888 [Opn->Bgs]: php.exe Application error when calling sybase_free_result() function
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-57590@lists.php.net to get a copy of this message
ID: 27888 Updated by: sniper@php.net Reported By: eduard at seua dot am -Status: Open +Status: Bogus Bug Type: Sybase-ct (ctlib) related Operating System: Windows XP PHP Version: 4.3.5 New Comment: Please do not submit the same bug more than once. An existing bug report already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely to be the same. Thank you for your interest in PHP. See bug #27828 Previous Comments: ------------------------------------------------------------------------ [2004-04-06 10:50:10] eduard at seua dot am 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 this bug report at http://bugs.php.net/?id=27888&edit=1

« previous php.bugs (#57590) next »