Date: 07/31/01
- Next message: dengdeng <email protected>: "[PHP-DEV] Bug #12493: Class bug.."
- Previous message: sniper <email protected>: "[PHP-DEV] Bug #12488 Updated: Configure fails when using --with-mysql=mysql_dir"
- In reply to: uk <email protected>: "[PHP-DEV] Bug #12487: Segmentation Fault when compiled with IMAP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 12487
Updated by: sniper
Reported By: uk <email protected>
Old Status: Open
Status: Closed
Bug Type: Sybase-ct (ctlib) related
Operating System: Linux
PHP Version: 4.0.6
New Comment:
Update your Sybase libs since this has been fixed in them.
(I don't know since which version, in my 11.9.2 version the
offending function is renamed to syb_net_close() )
--Jani
Previous Comments:
------------------------------------------------------------------------
[2001-07-31 11:03:28] uk <email protected>
I have the Sybase 11.0.3 client libraries installed. When
compiling with IMAP support, the following script produces
a segfault:
<?php
$c = sybase_connect("GALAXIA", "sdjfk", "sdjf");
?>
(where GALAXIA is a valid interface and the user name and
password are invalid).
The segfault does not occur if LANG is set to an invalid
value.
The problem goes away when compiling --without-imap.
The 11.9.2 Sybase libraries also segfault if LANG is set
to a *valid* value. The segfault goes away --without-imap.
I suspect the culprit in the fact that libct.so (from
Sybase) and c-client.a (from IMAP) both contain a symbol
'net_close'. This symbol has prevented me from static
linking in the past.
Bug 3161 et al. may be related.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=12487&edit=1
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: dengdeng <email protected>: "[PHP-DEV] Bug #12493: Class bug.."
- Previous message: sniper <email protected>: "[PHP-DEV] Bug #12488 Updated: Configure fails when using --with-mysql=mysql_dir"
- In reply to: uk <email protected>: "[PHP-DEV] Bug #12487: Segmentation Fault when compiled with IMAP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

