I'm getting a Segmentation Fault when using jaxl in a threaded environment.
Consider this simple code.  PHP itself dies a horrible death when trying to run it.
<?
require("jaxl.php");
class SegFault extends Thread {
    private $client = null;
    
    public function connect($jid, $password) {
        $this->client = new JAXL(array(
            'jid' => $jid,
            'pass' => $password
        ));
        
        $this->client->require_xep(array(
            '0199'    // XMPP Ping
        ));
    }
    public function run() {
    }
}
$segFault = new SegFault();
$segFault->connect($argv[1], $argv[2]);
Anybody have any ideas?
I'm trying to maintain a number of connections at once.  If anyone knows any other way to do this, besides using threads, please let me know.
--
Tim