ID: 26015 Updated by: [EMAIL PROTECTED] Reported By: tirny at mail dot ru -Status: Open +Status: Bogus Bug Type: IMAP related Operating System: freeBSD 5.1p10 PHP Version: 4.3.4RC2 New Comment:
1. You didn't read this: http://bugs.php.net/how-to-report.php 2. You didn't give your configure line for PHP 3. You didn't provide GDB backtrace --> Bogus (most likely bug in c-client, or you're trying to use it with threaded apache2) Previous Comments: ------------------------------------------------------------------------ [2003-10-28 00:52:58] tirny at mail dot ru Description: ------------ On RHL7.3 Apache2.0.44 PHP4.3.4 (cclient - do not remember version)- is work fine. Changing OS & soft on freeBSD, Apache2.0.47, 4.3.4RC1, cclient-2002d,1 not work: script terminated after 30s (in my news group 5 messages) and in apache error log this: child pid 21979 exit signal Segmentation fault (11) Reproduce code: --------------- <?php $nntp = imap_open("{news.mydomain.tld:119/nntp}newsgroup", "", ""); $headers = imap_headers($nntp); $threads = imap_thread($nntp); while (list($key, $val) = each($threads)) { $tree = explode(".", $key); if ($tree[1] == "num") { print "<ul>\n<li>" . $headers[$val - 1] . "\n"; } else if ($tree[1] == "branch") { print "</ul>\n"; } } imap_close($nntp); ?> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=26015&edit=1