|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-04-14 18:20 UTC] dev at dystopium dot com
When using FreeDTS to connect to SQL Server 2000, 'image' fields cause apache to seg fault. From PHP I can insert the binary data, however. After consulting with the freedts developers, I have tried using the set textsize command, which has not fixed the issue. Other tools using the same libaries can connect and select / retrieve this field, so the issue appers to be with PHP. PHP Compile line: ./configure --with-apache=../apache_1.3.24 --with-pdflib=/usr/local --with-xml --disable-debug --enable-track-vars --enable-shared=pdflib --with-zlib --enable-ersioning --with-sybase=/usr/local PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 06:00:01 2025 UTC |
Apache Error log shows: Unknown(0) : Warning - String is not zero-terminated (0x47494638396110001000b30900ffffff269a2920882208760900ff0000d70000740000630000170000000000000000000000000000000000000000000021f904010000090) (source: zend_execute_API.c:274) [Mon Apr 15 12:57:21 2002] Script: '/home/devel/public_html/viewimage.php' --------------------------------------- zend_execute_API.c(274) : Block 0x0830C500 status: zend_variables.c(44) : Actual location (location was relayed) Beginning: OK (allocated on php_sybase_db.c:673, 139 bytes) End: Overflown (magic=0x30633200 instead of 0x2A8FCC84) At least 4 bytes overflown --------------------------------------- GDB Backtrace: Program received signal SIGSEGV, Segmentation fault. 0x282552da in tds_convert_binary () from /usr/local/lib/libsybdb.so.1 PHP Config: './configure' '--with-apache=../apache_1.3.24' '--with-pdflib=/usr/local' '--with-xml' '--enable-debug' '--enable-track-vars' '--enable-shared=pdflib' '--with-zlib' '--enable-versioning' '--with-sybase=/usr/local'