Hi,

On the Ubuntu server (where the problems occured) I'm not good enough to figure out which version of FreeTDS that is boundled with PHP, but these packages are installed with PHP:

php5-sybase_5.2.4-2ubuntu5.3_i386.deb
php5-mssql_5.2.4-2ubuntu5.3_i386.deb

On the Slackware platform we're apparently using version 0.64, I notice now that there's a newer version 0.82 out.

Could it be that Ubuntu has upgraded to 0.82 which causes the problem?

Greetings,
Krister Karlström

Antony Dovgal wrote:

On 15.10.2008 12:06, Krister Karlström wrote:
Thanks for the advice Derick, valgrind gave this output with USE_ZEND_ALLOC set to 0:
==29752== Invalid write of size 1
==29752==    at 0x4024D57: memcpy (mc_replace_strmem.c:402)
==29752==    by 0x406B0C1: dbconvert (in /usr/lib/libsybdb.so.5.0.0)
==29752== by 0x80997F9: php_mssql_get_column_content_with_type (php_mssql.c:912)
==29752==    by 0x809A791: _mssql_fetch_batch (php_mssql.c:1140)
==29752==    by 0x809AF19: zif_mssql_query (php_mssql.c:1263)

That is very helpful, thanks.
Which version of FreeTDS do you use?

--
* Ing. Krister Karlström, Zend Certified Engineer         *
* Systemutvecklare, IT-Centralen                          *
* Arcada - Nylands Svenska Yrkeshögskola                  *
* Jan-Magnus Janssons plats 1, 00550 Helsingfors, Finland *
* Tel: +358(20)7699699  GSM: +358(50)5328390              *
* E-mail: [EMAIL PROTECTED]                       *

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to