php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #55022 memory_limit exhausted when set charset in sybase_connect
Submitted: 2011-06-10 10:28 UTC Modified: 2013-02-18 00:34 UTC
From: hexes at mail dot ru Assigned:
Status: No Feedback Package: Sybase-ct (ctlib) related
PHP Version: 5.3.6 OS: Linux 2.6.36-gentoo-r5
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: hexes at mail dot ru
New email:
PHP Version: OS:

 

 [2011-06-10 10:28 UTC] hexes at mail dot ru
Description:
------------
The same script, the same query if i set 
sybase_connect($this->server_name, $this->login, $this->pass, 'cp1251')
i get
Allowed memory size of 134217728 bytes exhausted (tried to allocate 156353484 
bytes)
if i delete it, script work correct, except message:

Sybase:  Server message:  Character set conversion is not available between 
client character set 'utf8' and server character set 'cp1251'.
 (severity 11, procedure N/A)

Result return only one row, that couldn't exhaust 156353484 bytes...


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-06-11 03:15 UTC] felipe@php.net
Automatic comment from SVN on behalf of felipe
Revision: http://svn.php.net/viewvc/?view=revision&revision=312044
Log: - Possible fix for bug #55022 (memory_limit exhausted when set charset in sybase_connect)
 [2011-06-11 03:15 UTC] felipe@php.net
-Status: Open +Status: Feedback
 [2011-06-11 03:15 UTC] felipe@php.net
Please try using this snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/


 [2011-06-14 06:00 UTC] hexes at nail dot ru
Maybe I wrote it is not clear, just clarify:
if i delete it (at here i mean if i delete 'cp1251' from connect string), script 
work correct, except message:

Sybase:  Server message:  Character set conversion is not available between 
client character set 'utf8' and server character set 'cp1251'.
 (severity 11, procedure N/A)

Result return only one row, that couldn't exhaust 156353484 bytes...
 [2013-02-18 00:34 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 15:01:29 2024 UTC