|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12487 Segmentation Fault when compiled with IMAP
Submitted: 2001-07-31 11:03 UTC Modified: 2001-07-31 14:44 UTC
From: uk at dataway dot ch Assigned:
Status: Closed Package: Sybase-ct (ctlib) related
PHP Version: 4.0.6 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: uk at dataway dot ch
New email:
PHP Version: OS:


 [2001-07-31 11:03 UTC] uk at dataway dot ch
I have the Sybase 11.0.3 client libraries installed. When 
compiling with IMAP support, the following script produces 
a segfault:

    $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 

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 (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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-31 14:44 UTC]
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() )


PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 28 17:01:31 2024 UTC