Bug #12487: Segmentation Fault when compiled with IMAP
| From: | uk at dataway dot ch | Date: | Tue, 31 Jul 2001 15:03:28 +0000 |
| Subject: | Bug #12487: Segmentation Fault when compiled with IMAP | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-61652@lists.php.net to get a copy of this message | ||
From: uk@dataway.ch
Operating system: Linux
PHP version: 4.0.6
PHP Bug Type: Sybase-ct (ctlib) related
Bug description: Segmentation Fault when compiled with IMAP
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 bug report at: http://bugs.php.net/?id=12487&edit=1