ID:               16605
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Feedback
 Bug Type:         Sybase-ct (ctlib) related
 Operating System: FreeBSD 4.4 Release
 PHP Version:      4.1.2
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip

If the problem still occures, please include a backtrace in your
report.


Previous Comments:
------------------------------------------------------------------------

[2002-04-15 17:23:33] [EMAIL PROTECTED]

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'

------------------------------------------------------------------------

[2002-04-15 12:42:03] [EMAIL PROTECTED]

To properly diagnose this bug, we need a backtrace to see what is
happening behind the scenes. To find out how to generate a backtrace,
please read http://bugs.php.net/bugs-generating-backtrace.php

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open".



------------------------------------------------------------------------

[2002-04-14 18:20:27] [EMAIL PROTECTED]

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



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=16605&edit=1

Reply via email to