php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18575 Segmentation fault accessing sybase functions
Submitted: 2002-07-25 15:09 UTC Modified: 2002-08-26 01:00 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: che at atlantic dot net Assigned:
Status: No Feedback Package: Sybase (dblib) related
PHP Version: 4.2.2 OS: Redhat 7.2
Private report: No CVE-ID: None
 [2002-07-25 15:09 UTC] che at atlantic dot net
A segmentation fault occurs after successfull compilation of sybase support using Freetds 0.53.  

Freetds: 
./configure --prefix=/usr/local/freetds --with-tdsver=7.0

PHP:
./configure --with-mysql --with-gd=shared --enable-bcmath --enable-calendar --enable-exif --enable-ftp --enable-mailparse --enable-trans-sid --enable-sockets --enable-memory-limit --with-config-file-path=/etc --with-apxs --with-sybase=/usr/local/freetds

Compilation shows Sybase support is [yes]

I watched sybase extension compile with no errors during the make process.

This link will display phpinfo showing the sybase support: http://dev.atlantic.net/phpinfo.php

When accessing a page with the sybase_connect function the server returns a 404-"Page cannot be diplayed" error.

On running the binary from the command-line it has a "Segmentation Fault".

Other than that PHP works fine!

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-25 16:45 UTC] che at atlantic dot net
MS SQL functions work, the sybase functions do not.
 [2002-07-25 19:57 UTC] sniper@php.net
Try replacing the --with-sybase with --with-sybase-ct
(with fresh sources!)

 [2002-08-26 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 00:01:30 2024 UTC